diff options
Diffstat (limited to 'main.cpp')
| -rwxr-xr-x | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,9 +56,9 @@ void play(double *output) {//this is where the magic happens. Very slow magic. } - bassout=basscompress.compressor(sound1.pulse(slew.lopass(bassfreq/2,0.001), sound2.phasor(8)*0.25),10,0.5,0.0001,0.995)*0.25; + bassout=basscompress.compressor(sound1.pulse(slew.lopass(bassfreq/2,0.001), sound2.phasor(8)*0.25),5,0.5,0.0001,0.995)*0.125; - sampleOut=compress.compressor(kick.playOnce()+snare.playOnce(),5,0.5),0.0001,0.9995;//just play the file. No looping. + sampleOut=compress.compressor(kick.playOnce(0.5)+snare.playOnce(0.5),1,0.5),0.01,0.9995;//just play the file. No looping. output[0]=sampleOut+bassout;//left channel output[1]=sampleOut+bassout;//right channel |
