From cb3e92e75b1492bc1434431e975d1acf145c84fc Mon Sep 17 00:00:00 2001 From: mick grierson Date: Sun, 26 Jul 2015 18:19:24 +0100 Subject: This branch is crazy leave it alone. --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index ac4c7e4..e14a984 100755 --- a/main.cpp +++ b/main.cpp @@ -50,7 +50,7 @@ void play(double *output) {//this is where the magic happens. Very slow magic. bassout=filter2.lores(envelope.adsr(bass.saw(currentPitch*0.5)+sound.pulse(currentPitch*0.5,mod.phasor(1)),1,0.9995, 0.25, 0.9995, 1, trigger),9250,2);//new, simple ADSR. leadout=filter.lores(leadenvelope.ar(lead2.saw(leadPitch*4)+lead.pulse(leadPitch+(leadmod.sinebuf(1.9)*1.5), 0.6), 0.00005, 0.999975, 50000, trigger2),5900,10);//leadline - delayout=(leadout+(delay.dl(leadout, 14000, 0.8)*0.5))/2;//add some delay + delayout=(leadout+(delay.dl(leadout, 14000, 0.93)*0.5))/2;//add some delay if(trigger!=0)trigger=0;//set the trigger to off if you want it to trigger immediately next time. -- cgit v1.3