27 lines · 383 B · Text
RawDownload
// demo3.ck// super lame // global gainGain g => dac;// set gain.5 => g.gain; 110.0 => float freq;6 => int x; // loopwhile( x > 0 ){    // connect to gain    SinOsc s => g;    // change frequency    freq => s.freq;    freq * 2.0 => freq;    // decrement x    1 -=> x;     // advance time by 1 second    1::second => now;    // disconnect the sinosc    s =< g;}

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