20 lines · 440 B · Text
RawDownload
// run white noise through envelopeNoise n => Envelope e => dac; // infinite time-loopwhile( true ){    // random choose rise/fall time    Math.random2f(10,500)::ms => dur t => e.duration;    // print    <<< "rise/fall:", t/ms, "ms" >>>;     // key on - start attack    e.keyOn();    // advance time by 800 ms    800::ms => now;    // key off - start release    e.keyOff();    // advance time by 800 ms    800::ms => now;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t