aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorChris Kiefer <chrisk13fer@gmail.com>2012-08-20 17:20:03 +0100
committerChris Kiefer <chrisk13fer@gmail.com>2012-08-20 17:20:03 +0100
commitdcca1bbb0cf30cc0e6cf5154f45062d09f11b802 (patch)
treeaf5aea6e70a07d2b1980f3f145f52f7e5b8ee544 /main.cpp
parentb34d37341e837069ff879a15285e461cc015a903 (diff)
parent92e706a638a50b5d276c37688ba85a2582de276d (diff)
Merge branch 'master' of github.com:micknoise/Maximilian
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index c2c421a..0ba5209 100755
--- a/main.cpp
+++ b/main.cpp
@@ -15,7 +15,7 @@ void setup() {//some inits
void play(double *output) {//this is where the magic happens. Very slow magic.
// output[0]=beats.play();//just play the file. Looping is default for all play functions.
- output[0]=beats.play(1.0);//play the file with a speed setting. 1. is normal speed.
+ output[0]=beats.playOnce();//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,100000);//cubic interpolation play with a frequency input, start point and end point. Useful for syncing.