Curtis UllerichCorrect a couple of typos.13f5e306 years agoHistory
28 lines · 530 B · Text
RawDownload
// dct.ck: taking DCT via upchuck, printing the spectrum// authors: Rebecca Fiebrink and Ge Wang // our patchSinOsc g => DCT dct => blackhole; // set sratesecond / samp => float srate;// set parameters8 => dct.size;// divideint div; // control loopwhile( true ){    // set freq    srate / dct.size() * div++ => g.freq;    dct.size()/2 %=> div;        // take dct    dct.upchuck();    // examine contents    <<< dct.fval(0), dct.fval(1), dct.fval(2), dct.fval(3) >>>;     // 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