In this directory, we are building a collection of step-by-step examples using WASM Csound. To run these, once the latest library is built, use
update_scripts.sh to copy the relevant code to the local
js directory. WASM code needs to be served via http or https protocols, the python script
httpd.py can be used to run a simple local web server for this purpose.
Random note generator: This example demonstrates how to load the WASM Csound library and use the CsoundObj class to compile and perform simple synthesis code that is embedded in the HTML page.
Sliders: This example demonstrates how to use channels to send control data into Csound from HTML 5 sliders.
Canvas: Canvas widget example ported from the PNaCl Csound collection.
MIDIPlayer: GM MIDI file player ported from the PNaCl Csound collection.
Trapped: Trapped In Convert by R Boulanger CSD performance example ported from the PNaCl Csound collection.
Stria: Stria by J Chowning CSD performance example ported from the PNaCl Csound collection.
Render: Offline render example ported from the PNaCl Csound collection.