49 lines · 810 B · Text
RawDownload
// name: fau.ck// desc: demo of Faust chugin in action! // instantiate and connect faust => ckFaust string => Faust distortion => Faust cryBaby => dac;SinOsc LFO => blackhole; 1 => LFO.freq; // evaluate faust codestring.compile(me.dir() + "string.dsp"); cryBaby.eval(` process = dm.crybaby_demo <: _,_ ;`); distortion.eval("process = dm.cubicnl_demo;"); //cryBaby.dump(); // time loopfun void notes(){while( true ){    // set    string.v("gate",0);    10::ms => now;    string.v("gate",1);    string.v("freq", Math.random2f(80,800) );    // advance time    100::ms => now;}} fun void lfoWah(){    while(true){        cryBaby.v("/CRYBABY/Wah_parameter",(LFO.last()*0.5+0.5));        1::ms => now;    }} spork ~ notes();spork ~ lfoWah(); while(true){    10::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