diff options
| author | mick <mickgrierson@gmail.com> | 2012-08-01 08:22:40 +0100 |
|---|---|---|
| committer | mick <mickgrierson@gmail.com> | 2012-08-01 08:23:08 +0100 |
| commit | 92e706a638a50b5d276c37688ba85a2582de276d (patch) | |
| tree | 95c505123d3ffb7b0d699b735920e2c4f626a5c5 /main.cpp | |
| parent | 8400a64bb2137f4c217ff6fa0053e8b5c66bac6c (diff) | |
updates
Diffstat (limited to 'main.cpp')
| -rwxr-xr-x | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |
