Using the MediaRecorder API, it’s possible to capture audiovisual input from the user’s machine. We will write a Darth Vader voice changer using data from your microphone and a combination of AudioNodes. This will provide you with an example of what the MediaRecorder API can really do, and how it could be used in all manner of ways for your web audiovisual projects.

Code’s here: https://github.com/learnable-content/jamesseanwright/tree/web-audio/webrtc