17 lines · 325 B · Text
RawDownload
// sound fileme.dir() + "/../data/snare.wav" => string filename;if( me.args() ) me.arg(0) => filename; // the patch SndBuf buf => dac;// load the filefilename => buf.read; // time loopwhile( true ){    0 => buf.pos;    Math.random2f(.2,.5) => buf.gain;    Math.random2f(.5,1.5) => buf.rate;    100::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