aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 54b0063..797f185 100755
--- a/main.cpp
+++ b/main.cpp
@@ -6,7 +6,7 @@ double out;
void setup() {//some inits
- beats.load("/Users/mick/Desktop/schub.wav");//load in your samples. Provide the full path to a wav file.
+ beats.load("/Users/mickgrierson/Documents/audio/audio2/orbital1.wav");//load in your samples. Provide the full path to a wav file.
printf("Summary:\n%s", beats.getSummary());//get info on samples if you like.
}
@@ -16,7 +16,8 @@ void play(double *output) {//this is where the magic happens. Very slow magic.
//here, we're just compressing the file in real-time
//arguments are input,ratio,threshold,attack,release. a long attack is something like 0.0001 and a long release is like 0.9999.
- out=compressor.compressor(beats.play(),20,0.25,0.0005,0.9999);
+
+ out=compressor.compressor(beats.play(),10,0.1,0.2,0.9995);
output[0]=out;
output[1]=out;