rodio
rodio copied to clipboard
Multiple wave functions should be supported beyond just Sine wave
Suggested supported waves:
- [ ] Sine Wave
- [ ] Square wave
- [ ] Triangle wave
- [ ] Sawtooth wave
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.