wave synth work
now there is a preview
This commit is contained in:
parent
61916be495
commit
367d14357c
7 changed files with 109 additions and 13 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#define _FUR_GUI_H
|
||||
|
||||
#include "../engine/engine.h"
|
||||
#include "../engine/waveSynth.h"
|
||||
#include "imgui.h"
|
||||
#include "imgui_impl_sdl.h"
|
||||
#include "imgui_impl_sdlrenderer.h"
|
||||
|
|
@ -1073,6 +1074,10 @@ class FurnaceGUI {
|
|||
OperationMask opMaskRandomize, opMaskFlip, opMaskCollapseExpand;
|
||||
short latchNote, latchIns, latchVol, latchEffect, latchEffectVal;
|
||||
|
||||
DivWaveSynth wavePreview;
|
||||
int wavePreviewLen, wavePreviewHeight;
|
||||
bool wavePreviewInit;
|
||||
|
||||
// bit 31: ctrl
|
||||
// bit 30: reserved for SDL scancode mask
|
||||
// bit 29: shift
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue