attempt to fix the volume slide mess

also a fix to noise arps in basic mode in SMS

the volume slides will be an adventure as the behavior seems to be hard
to determine
This commit is contained in:
tildearrow 2021-05-17 03:06:45 -05:00
parent 53975349e5
commit 67847d79cf
6 changed files with 69 additions and 18 deletions

View file

@ -10,9 +10,20 @@ class DivPlatformSMS: public DivDispatch {
int freq, baseFreq, pitch;
unsigned char ins, note;
bool active, insChanged, freqChanged, keyOn, keyOff;
signed char vol;
signed char vol, outVol;
DivMacroInt std;
Channel(): freq(0), baseFreq(0), pitch(0), ins(-1), note(0), active(false), insChanged(true), freqChanged(false), keyOn(false), keyOff(false), vol(15) {}
Channel():
freq(0),
baseFreq(0),
pitch(0),
ins(-1),
note(0),
active(false),
insChanged(true),
freqChanged(false),
keyOn(false),
keyOff(false),
vol(15) {}
};
Channel chan[4];
unsigned char snNoiseMode;