aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authormick <mickgrierson@gmail.com>2012-11-24 00:42:40 +0000
committermick <mickgrierson@gmail.com>2012-11-24 00:42:40 +0000
commitd2e66da744f78c2589cab37b5be68a62bb84a805 (patch)
treee5a7e34d5327cf6b085d55c277bccb1f61d349bb /main.cpp
parente6ac66a9530b0f9aa4f62f4c63765a284119cfb0 (diff)
bandlimited osc
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 6efd2e7..d1261c9 100755
--- a/main.cpp
+++ b/main.cpp
@@ -18,7 +18,7 @@ void setup() {//some inits
void play(double *output) {
// no noise here
- out=VCO1.sawn(ramp.phasor(0.1,50,8000));
+// out=VCO1.sawn(ramp.phasor(0.1,50,8000));
// Band limited square using two band limited saws. Comment the above and uncomment the below.
@@ -27,7 +27,7 @@ void play(double *output) {
// out=VCO1.sawn(ramp.phasor(0.1,50,8000))-VCO2.sawn(ramp2.phasor(0.1,50,8000));
// When you're done testing with the ramps, see here for an easy PWM hack with this approach
-// out=VCO1.sawn(100)-(VCO2.sawn(100.1)*0.9);
+ out=VCO1.sawn(100)-(VCO2.sawn(100.1)*0.9);
output[0]=out*0.5;//left channel