aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorChris Kiefer <chrisk13fer@gmail.com>2012-02-22 12:10:20 +0000
committerChris Kiefer <chrisk13fer@gmail.com>2012-02-22 12:10:20 +0000
commit0c65d2ad2162db3ffbea3e3175675ad4b4598688 (patch)
tree5b1d6bd8b9dbe4069b8bf1a9bddb374d957c2cab /main.cpp
parent9f073116e8b21af58415204edecf42fec5f2c3ed (diff)
parentbb60cd352f53f4600913d2152032dd4aff228520 (diff)
resolved merge conflicts
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index ad24cf4..e358344 100755
--- a/main.cpp
+++ b/main.cpp
@@ -47,10 +47,10 @@ void play(double *output) {//this is where the magic happens. Very slow magic.
lastCount=0;//set lastCount to 0
}
- 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.
+// 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.8)*0.5))/4;//add some delay
if(trigger!=0)trigger=0;//set the trigger to off if you want it to trigger immediately next time.