prepare for relative pitch macro

This commit is contained in:
tildearrow 2022-04-28 00:50:09 -05:00
parent 66f5b2117f
commit 77b4e57c58
35 changed files with 72 additions and 45 deletions

View file

@ -27,7 +27,7 @@
class DivPlatformSoundUnit: public DivDispatch {
struct Channel {
int freq, baseFreq, pitch, note;
int freq, baseFreq, pitch, pitch2, note;
int ins, cutoff, res, control;
signed char pan;
unsigned char duty;
@ -39,6 +39,7 @@ class DivPlatformSoundUnit: public DivDispatch {
freq(0),
baseFreq(0),
pitch(0),
pitch2(0),
note(0),
ins(-1),
cutoff(65535),