WaveSynth: fix distorted sound

issue #1411
This commit is contained in:
tildearrow 2023-08-24 14:23:00 -05:00
parent d4e60e0c03
commit 6e28a8b01c
2 changed files with 25 additions and 6 deletions

View file

@ -55,8 +55,9 @@ class DivWaveSynth {
/**
* change the first wave.
* @param num wavetable number.
* @param force whether to force overwriting the current wave.
*/
void changeWave1(int num);
void changeWave1(int num, bool force=false);
/**
* change the second wave.
* @param num wavetable number.