diff options
| author | mick <mickgrierson@gmail.com> | 2012-11-24 00:42:40 +0000 |
|---|---|---|
| committer | mick <mickgrierson@gmail.com> | 2012-11-24 00:42:40 +0000 |
| commit | d2e66da744f78c2589cab37b5be68a62bb84a805 (patch) | |
| tree | e5a7e34d5327cf6b085d55c277bccb1f61d349bb /main.cpp | |
| parent | e6ac66a9530b0f9aa4f62f4c63765a284119cfb0 (diff) | |
bandlimited osc
Diffstat (limited to 'main.cpp')
| -rwxr-xr-x | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
