aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian_examples/2.TwoTones.cpp
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2015-09-22 09:21:43 +0100
committermick grierson <mickgrierson@gmail.com>2015-09-22 09:21:43 +0100
commit5be3472f0f61d2e479f42759fed6fafd2a0e739a (patch)
tree49f128d4b56d43b3499ffd824b57b7f8b8d8345a /maximilian_examples/2.TwoTones.cpp
parentc814dd99dc3c347914c2057b77d1390ba41cfae5 (diff)
more work for kadenze mooc
Diffstat (limited to 'maximilian_examples/2.TwoTones.cpp')
-rwxr-xr-xmaximilian_examples/2.TwoTones.cpp3
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];
+
}