diff options
Diffstat (limited to 'maximilian_examples/2.TwoTones.cpp')
| -rwxr-xr-x | maximilian_examples/2.TwoTones.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/maximilian_examples/2.TwoTones.cpp b/maximilian_examples/2.TwoTones.cpp index fb29288..2c94711 100755 --- a/maximilian_examples/2.TwoTones.cpp +++ b/maximilian_examples/2.TwoTones.cpp @@ -12,6 +12,7 @@ void play(double *output) {//this is where the magic happens. Very slow magic. //output[0] is the left output. output[1] is the right output output[0]=mySine.sinewave(440)+myOtherSine.sinewave(441);//these two sines will beat together. They're now a bit too loud though.. - + output[1]=output[0]; + } |
