initial bring-up of the wave synth

issue #16
This commit is contained in:
tildearrow 2022-04-08 02:11:33 -05:00
parent 0c1e2ddcb0
commit 5bd076d13e
9 changed files with 162 additions and 72 deletions

View file

@ -23,6 +23,7 @@
#include "../dispatch.h"
#include <queue>
#include "../macroInt.h"
#include "../waveSynth.h"
#include "sound/pce_psg.h"
class DivPlatformPCE: public DivDispatch {
@ -35,6 +36,7 @@ class DivPlatformPCE: public DivDispatch {
bool active, insChanged, freqChanged, keyOn, keyOff, inPorta, noise, pcm, furnaceDac;
signed char vol, outVol, wave;
DivMacroInt std;
DivWaveSynth ws;
Channel():
freq(0),
baseFreq(0),