N163: implement wave synth

I hope this does not break any songs
This commit is contained in:
tildearrow 2022-04-12 00:17:34 -05:00
parent 0ea6437a86
commit e77ecfd04b
6 changed files with 118 additions and 29 deletions

View file

@ -47,6 +47,11 @@ class DivWaveSynth {
* @return whether the wave has changed.
*/
bool tick();
/**
* set the wave width.
* @param value the width.
*/
void setWidth(int val);
/**
* change the first wave.
* @param num wavetable number.