https://github.com/acarabott/audio-worklet-live-coding
Live code an Audio Worklet in your browser!
https://github.com/acarabott/audio-worklet-live-coding
audio dsp javascript livecoding music webaudioapi
Last synced: 8 months ago
JSON representation
Live code an Audio Worklet in your browser!
- Host: GitHub
- URL: https://github.com/acarabott/audio-worklet-live-coding
- Owner: acarabott
- License: mit
- Created: 2018-02-23T12:48:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-21T08:36:00.000Z (about 8 years ago)
- Last Synced: 2025-06-17T02:46:12.220Z (10 months ago)
- Topics: audio, dsp, javascript, livecoding, music, webaudioapi
- Language: JavaScript
- Homepage: https://acarabott.github.io/audio-worklet-live-coding/
- Size: 384 KB
- Stars: 10
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Audio Worklet Live Coding
Does what it says on the tin.
[Demo](https://acarabott.github.io/audio-worklet-live-coding/)
## 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
- [CodeMirror](codemirror.net)
- [JSHint](http://jshint.com/)
## Author
Arthur Carabott [arthurcarabott.com](http://arthurcarabott.com)