Add fixed octave for block+fnum systems

This isn't implemented in SAA1099, despite also being block+fnum system, as there are no benefits from it
This commit is contained in:
Natt Akuma 2024-09-18 14:48:10 +07:00
parent 6a58797669
commit cf3d08ca5a
25 changed files with 194 additions and 97 deletions

View file

@ -165,7 +165,7 @@ enum DivMacroTypeOp: unsigned char {
// - WS, DVB = MULT (FINE), DAM = REV, KSL = EGShift, EGT = Fixed
struct DivInstrumentFM {
unsigned char alg, fb, fms, ams, fms2, ams2, ops, opllPreset;
unsigned char alg, fb, fms, ams, fms2, ams2, ops, opllPreset, block;
bool fixedDrums;
unsigned short kickFreq, snareHatFreq, tomTopFreq;
@ -216,6 +216,7 @@ struct DivInstrumentFM {
ams2(0),
ops(2),
opllPreset(0),
block(0),
fixedDrums(false),
kickFreq(0x520),
snareHatFreq(0x550),