25 lines · 391 B · Text
RawDownload
// our patchSinOsc g => FFT fft => blackhole;// synthesizeIFFT ifft => dac; // set parameters1024 => fft.size;440 => g.freq; // use this to hold contentscomplex s[fft.size()/2]; // control loopwhile( true ){    // take fft    fft.upchuck();    // get contents    fft.spectrum( s );    // take ifft    ifft.transform( s );     // advance time    fft.size()::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