diff options
| author | mick <mickgrierson@gmail.com> | 2012-11-24 00:23:34 +0000 |
|---|---|---|
| committer | mick <mickgrierson@gmail.com> | 2012-11-24 00:23:34 +0000 |
| commit | 7e288497417ee6714ed69f0a1b48f1d3d724a322 (patch) | |
| tree | f0b49bc38e49193884f15a78dce3bf9046286e1d | |
| parent | a7dfc3e3e104195286cfb4e342f3d63f6025f93a (diff) | |
bandlimited oscillators
| -rwxr-xr-x | main.cpp | 9 | ||||
| -rw-r--r-- | maximilianTest.xcodeproj/project.xcworkspace/xcuserdata/mickgrierson.xcuserdatad/UserInterfaceState.xcuserstate | bin | 37100 -> 37100 bytes |
2 files changed, 6 insertions, 3 deletions
@@ -18,14 +18,17 @@ 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. // you can hear a tiny bit of aliasing approaching 8000 hz but it should do. -// It's actually a bit of a weird hack but has nice response all the same. -// out=VCO1.sawn(ramp.phasor(0.1,50,8000))-VCO2.sawn(ramp2.phasor(0.1,50,8000)); +// It's actually a bit of a weird hack but has nice response. + 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); + output[0]=out*0.5;//left channel output[1]=out*0.5;//right channel diff --git a/maximilianTest.xcodeproj/project.xcworkspace/xcuserdata/mickgrierson.xcuserdatad/UserInterfaceState.xcuserstate b/maximilianTest.xcodeproj/project.xcworkspace/xcuserdata/mickgrierson.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex ac761bd..88d9d05 100644 --- a/maximilianTest.xcodeproj/project.xcworkspace/xcuserdata/mickgrierson.xcuserdatad/UserInterfaceState.xcuserstate +++ b/maximilianTest.xcodeproj/project.xcworkspace/xcuserdata/mickgrierson.xcuserdatad/UserInterfaceState.xcuserstate |
