YM2612: early full linear pitch experiment

u n t e s t e d
This commit is contained in:
tildearrow 2022-05-10 16:22:40 -05:00
parent c79e5e8081
commit aad5d818f2
3 changed files with 44 additions and 34 deletions

View file

@ -484,7 +484,7 @@ class DivEngine {
unsigned short calcBaseFreqFNumBlock(double clock, double divider, int note, int bits);
// calculate frequency/period
int calcFreq(int base, int pitch, bool period=false, int octave=0, int pitch2=0, double clock=1.0, double divider=1.0);
int calcFreq(int base, int pitch, bool period=false, int octave=0, int pitch2=0, double clock=1.0, double divider=1.0, int blockBits=0);
// convert panning formats
int convertPanSplitToLinear(unsigned int val, unsigned char bits, int range);