Simple starter project for the rapid prototyping of WebAudio stuff
Basically a simple and ready to use webpack configuration, with few helpers and libraries.
npm install
npm run dev
The application accessible at http://localhost:5000/
, and the code in src
is ready to be hacked.
-
Create and resume an
AudioContext
with a big fullscreen button (cf. @ircam/resume-audio-context) -
Provide some GUI components to simplify the creation of interfaces (cf. @ircam/simple-components)
-
Use
lit-html
for DOM rendering - @todo - update to lit#v2) -
Provide clean headers to enable
self.crossOriginIsolated
advanced features such asSharedArrayBuffer
or high precision timers. see https://web.dev/why-coop-coep/ -
Use worklet-loader to simplify
AudioWorklet
prototyping (seeexamples/audio-worlet
) note: this is broken out of the box, so theworklet-loader
dependency has been removed see reklawnos/worklet-loader#6 for more informations
launch the server and, watch file in src
and re-transpile on change
transpile the application
launch the server
BSD-3-Clause