22 lines · 358 B · Text
RawDownload
// FM synthesis by hand // carrierSinOsc c => dac;// modulatorSinOsc m => blackhole; // carrier frequency220 => float cf;// modulator frequency550 => float mf => m.freq;// index of modulation200 => float index; // time-loopwhile( true ){    // modulate    cf + (index * m.last()) => c.freq;    // advance time by 1 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