aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@gmail.com>2011-10-19 14:32:48 +0100
committerMick Grierson <mickgrierson@gmail.com>2011-10-19 14:32:48 +0100
commit6c399125930609645c6aabd055aa6ea8fe54a2ed (patch)
tree8fa983559e9a81f2e4f87ed014621634cc998260 /main.cpp
parent25123134eb0d6f3c12ad136fd5b86f0280b4bb0d (diff)
fixed compressor
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 7cece7b..d3b57d9 100755
--- a/main.cpp
+++ b/main.cpp
@@ -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.
-
-
+
}