rodio icon indicating copy to clipboard operation
rodio copied to clipboard

Multiple wave functions should be supported beyond just Sine wave

Open mlindner opened this issue 6 years ago • 1 comments

Suggested supported waves:

  • [ ] Sine Wave
  • [ ] Square wave
  • [ ] Triangle wave
  • [ ] Sawtooth wave

mlindner avatar Nov 17 '18 01:11 mlindner

A suggested way of implementing them is have a base type that simply passes a value from [0 2pi) to a supplied "wave function" that can be anything from a mathematical function to a discrete lookup table, then users can implement their own additional Wave functions as they see fit.

mlindner avatar Nov 17 '18 01:11 mlindner