From 5be3472f0f61d2e479f42759fed6fafd2a0e739a Mon Sep 17 00:00:00 2001 From: mick grierson Date: Tue, 22 Sep 2015 09:21:43 +0100 Subject: more work for kadenze mooc --- maximilian_examples/2.TwoTones.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'maximilian_examples/2.TwoTones.cpp') 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]; + } -- cgit v1.3