// Casey Kim - "Phlute" // CCRMA Mobile Synth Workshop 6/2017 declare interface "SmartKeyboard{ 'Number of Keyboards':'2', 'Max Keyboard Polyphony':'0', 'Inter-Keyboard Slide':'1', 'Mono Mode':'1', 'Keyboard 0 - Number of Keys':'13', 'Keyboard 1 - Number of Keys':'13', 'Keyboard 0 - Lowest Key':'72', 'Keyboard 1 - Lowest Key':'60', 'Rounding Mode':'0' }"; import("stdfaust.lib"); freq = hslider("freq",440,50,5000,0.01); ctfreq = hslider("ctfreq[acc: 0 0 -10 0 10]",3000,300,5000,0.01) : si.smoo; vib = hslider("vib[acc: 1 0 -10 0 10]", 0,0,0.02,0.01); process = an.amp_follower(0.17)*os.triangle(freq + os.osc(5)*vib*freq) : fi.resonlp(ctfreq,7,1) <: dm.zita_rev1;