GUI: wave generator, part 1

This commit is contained in:
tildearrow 2022-07-27 01:20:26 -05:00
parent 173e9b0df9
commit 7d5f5a91c6
3 changed files with 80 additions and 2 deletions

View file

@ -1472,10 +1472,12 @@ class FurnaceGUI {
float waveGenAmp[16];
float waveGenPhase[16];
float waveGenTL[4];
int waveGenMult[4];
float waveGenFB[4];
bool waveGenFMCon1[4];
bool waveGenFMCon2[3];
bool waveGenFMCon3[2];
bool waveGenFM;
void drawSSGEnv(unsigned char type, const ImVec2& size);
void drawWaveform(unsigned char type, bool opz, const ImVec2& size);
@ -1600,6 +1602,8 @@ class FurnaceGUI {
void noteInput(int num, int key, int vol=-1);
void valueInput(int num, bool direct=false, int target=-1);
void doGenerateWave();
void doUndoSample();
void doRedoSample();