better volume slide accuracy
volume slide seems to be kind of quirky: - sliding all the way down and then up suddenly sets the vol to max - apparently there is an overflow and the slide stops when it reaches its boundaries (instead of continuing)
This commit is contained in:
parent
67847d79cf
commit
9736b77401
8 changed files with 36 additions and 8 deletions
|
|
@ -8,7 +8,7 @@
|
|||
struct DivChannelState {
|
||||
std::vector<DivDelayedCommand> delayed;
|
||||
int note, pitch, portaSpeed, portaNote;
|
||||
int volume, volSpeed, cut, rowDelay;
|
||||
int volume, volSpeed, cut, rowDelay, volMax;
|
||||
int vibratoDepth, vibratoRate, vibratoPos;
|
||||
int tremoloDepth, tremoloRate, tremoloPos;
|
||||
unsigned char arp, arpStage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue