RustAudio/dsp-chain

Waveforms

mitchmindtree opened this issue · 0 comments

A Waveform enum will be implemented in a unique module. The Oscillator struct will use a Waveform type to calculate phase iteration within relative to frequency. The base waveforms to start should be:

  • Sine
  • Saw
  • Square
  • Noise
  • NoiseWalk

Later, FM synthesis will be implemented and will multiply oscillators and there waveforms together to generate more unique textures.

The Waveform enum may also be extended/reconsidered in the future when considering wavetable synthesis and drawable waveforms (this will need a GUI though).