implement several effects

volume slides, vibrato, slides and portamento
This commit is contained in:
tildearrow 2021-05-14 14:16:48 -05:00
parent 775b88dae2
commit eb692ca9a9
6 changed files with 82 additions and 16 deletions

View file

@ -15,15 +15,23 @@ enum DivDispatchCmds {
struct DivCommand {
DivDispatchCmds cmd;
unsigned char chan, value;
DivCommand(DivDispatchCmds c, unsigned char ch, unsigned char val):
unsigned char chan;
int value, value2;
DivCommand(DivDispatchCmds c, unsigned char ch, int val, int val2):
cmd(c),
chan(ch),
value(val) {}
value(val),
value2(val2) {}
DivCommand(DivDispatchCmds c, unsigned char ch, int val):
cmd(c),
chan(ch),
value(val),
value2(0) {}
DivCommand(DivDispatchCmds c, unsigned char ch):
cmd(c),
chan(ch),
value(0) {}
value(0),
value2(0) {}
};
struct DivDelayedCommand {