41 lines · 752 B · Text
RawDownload
// noise generator, biquad filter, dac (audio output) Noise n => BiQuad f => dac;// set biquad pole radius.99 => f.prad;// set biquad gain.025 => f.gain;// set equal zeros 1 => f.eqzs;// our float0.0 => float t; 3::second + now => time later;// time-loopwhile( now < later ){    // sweep the filter resonant frequency    100.0 + Std.fabs(Math.sin(t)) * 1000.0 => f.pfreq;    t + .05 => t;    // advance time    100::ms => now;} // unlink the ugen f from dacf =< dac; // let more time pass3::second => now; // relinkf => dac; // time-loop3::second + now => later;while( now < later ){    // resume sweep    100.0 + Std.fabs(Math.sin(t)) * 1000.0 => f.pfreq;    t + .05 => t;    // advance time    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