Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Simple starter project for the rapid prototyping of WebAudio stuff

Notifications You must be signed in to change notification settings

ircam-ismm/js-prototyping-template

Repository files navigation

js-prototyping-template

Simple starter project for the rapid prototyping of WebAudio stuff

Basically a simple and ready to use webpack configuration, with few helpers and libraries.

Install & Run

npm install 
npm run dev

The application accessible at http://localhost:5000/, and the code in src is ready to be hacked.

Some features

  • 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 as SharedArrayBuffer or high precision timers. see https://web.dev/why-coop-coep/

  • Use worklet-loader to simplify AudioWorklet prototyping (see examples/audio-worlet) note: this is broken out of the box, so the worklet-loader dependency has been removed see reklawnos/worklet-loader#6 for more informations

Available commands

npm run dev

launch the server and, watch file in src and re-transpile on change

npm run build

transpile the application

npm run start

launch the server

License

BSD-3-Clause

About

Simple starter project for the rapid prototyping of WebAudio stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published