diff options
| author | Mick Grierson <mickgrierson@gmail.com> | 2011-10-19 14:32:48 +0100 |
|---|---|---|
| committer | Mick Grierson <mickgrierson@gmail.com> | 2011-10-19 14:32:48 +0100 |
| commit | 6c399125930609645c6aabd055aa6ea8fe54a2ed (patch) | |
| tree | 8fa983559e9a81f2e4f87ed014621634cc998260 /main.cpp | |
| parent | 25123134eb0d6f3c12ad136fd5b86f0280b4bb0d (diff) | |
fixed compressor
Diffstat (limited to 'main.cpp')
| -rwxr-xr-x | main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -13,16 +13,14 @@ void setup() {//some inits void play(double *output) {//this is where the magic happens. Very slow magic. - out=compressor.compressor(beats.play(),1,0.02,0.0005,0.9995);//just play the file. Looping is default for all play functions. + out=compressor.compressor(beats.play(),30,0.5,0.0005,0.995);//just play the file. Looping is default for all play functions. - output[0]=out; output[1]=out; // *output=beats.play(0.69);//play the file with a speed setting. 1. is normal speed. // *output=beats.play(0.5,0,44100);//linear interpolationplay with a frequency input, start point and end point. Useful for syncing. // *output=beats.play4(0.5,0,44100);//cubic interpolation play with a frequency input, start point and end point. Useful for syncing. - - + } |
