Hello Andre,

If you are interested in source code, here is a multi-wavetable
implementation of a band-limited sawtooth oscillator. It windows the
partials to avoid the Gibbs Effect.


https://github.com/philburk/jsyn/blob/master/src/com/jsyn/unitgen/SawtoothOscillatorBL.java

You can combine two sawteeth waveforms to get square or rectangular
waveforms.


https://github.com/philburk/jsyn/blob/master/src/com/jsyn/unitgen/SquareOscillatorBL.java

Another technique is the Differentiated Parabolic Waveform, DPW. It is much
easier but sounds almost as good as the above.


https://github.com/philburk/jsyn/blob/master/src/com/jsyn/unitgen/SawtoothOscillatorDPW.java

Phil Burk
_______________________________________________
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp

Reply via email to