24 lines · 477 B · Text
RawDownload
// (see sndbuf.ck or otf_01.ck for non-insane usage of sndbuf)SndBuf buf;me.dir() + "/../data/kick.wav" => buf.read; // the patch (no sndbuf involved)Impulse i => dac; // infinite time-loopwhile( true ){    // index    int pos;     // repeat this many times    repeat( buf.samples() )    {        // set next sample        buf.valueAt( pos ) => i.next;        // increment index        pos++;        // advance time by one samp        1::samp => 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