implement getGain for a couple chips

the ones with log volume
This commit is contained in:
tildearrow 2024-07-22 19:08:39 -05:00
parent b108156954
commit b2223ccd0f
17 changed files with 65 additions and 1 deletions

View file

@ -927,6 +927,9 @@ class DivEngine {
// map MIDI velocity to volume
int mapVelocity(int ch, float vel);
// map volume to gain
float getGain(int ch, int vol);
// get current order
unsigned char getOrder();