acarabott / audio-worklet-live-coding

Live code an Audio Worklet in your browser!

Home Page:https://acarabott.github.io/audio-worklet-live-coding/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio Worklet Live Coding

Does what it says on the tin.

Demo

How it works

Takes the output of CodeMirror, turns it into a Blob, generates a URL for the Blob, loads it as a module.

Each time the script is loaded a new id is generated for the processor, and this is passed to the CustomAudioNode constructor. Hence not being able to change the name of CustomAudioNode.

Limitations

Stereo output, no inputs. This would only require adding some additional UI boxes and passing the values to CustomAudioNode, but isn't really necessary for this demo.

Libs

Author

Arthur Carabott arthurcarabott.com

About

Live code an Audio Worklet in your browser!

https://acarabott.github.io/audio-worklet-live-coding/

License:MIT License


Languages

Language:JavaScript 97.1%Language:CSS 2.6%Language:HTML 0.3%