; Template for Csound-wasm html file that runs also in CsoundQt, Csound For Android and elsewhere ; (c) Tarmo Johannes 2018

Csd+html template


Press "Run" in CsoundQt (or other host) to start the csd.

Frequency:

-odac -d sr = 44100 nchnls = 2 0dbfs = 1 ksmps = 32 chnset 400, "freq" instr 1 kfreq chnget "freq" printk2 kfreq aenv linen 1,0.1,p3,0.25 out poscil(0.5,kfreq)*aenv endin 100 100 320 240 true 255 255 255 button0 10 19 100 30 {d5a1d1e3-eb6f-461c-90dc-95647307dc87} true 0 0 event 1.00000000 Play / i1 0 1 false false