Made a dedicated read string function, messed a bit with the TFM

effects.

Added a compatibility flag that resets the effects after a row
change/new note
This commit is contained in:
techmetx11 2024-04-12 21:36:27 +00:00
parent 7a051b4486
commit 4bc4bfac32
No known key found for this signature in database
GPG key ID: 20E0C88A0E7E5AF2
4 changed files with 60 additions and 17 deletions

View file

@ -104,7 +104,7 @@ struct DivChannelState {
int delayOrder, delayRow, retrigSpeed, retrigTick;
int vibratoDepth, vibratoRate, vibratoPos, vibratoPosGiant, vibratoDir, vibratoFine;
int tremoloDepth, tremoloRate, tremoloPos;
unsigned char arp, arpStage, arpTicks, panL, panR, panRL, panRR, lastVibrato, lastPorta, cutType;
unsigned char arp, arpStage, arpTicks, panL, panR, panRL, panRR, lastVibrato, lastPorta, cutType, lastArp, lastVibrato2, lastPorta2;
bool doNote, legato, portaStop, keyOn, keyOff, nowYouCanStop, stopOnOff, releasing;
bool arpYield, delayLocked, inPorta, scheduledSlideReset, shorthandPorta, wasShorthandPorta, noteOnInhibit, resetArp;
bool wentThroughNote, goneThroughNote;
@ -150,6 +150,9 @@ struct DivChannelState {
lastVibrato(0),
lastPorta(0),
cutType(0),
lastArp(0),
lastVibrato2(0),
lastPorta2(0),
doNote(false),
legato(false),
portaStop(false),