Retrigger waveforms 0-3
This commit is contained in:
parent
5af28d860e
commit
413bc4b538
1 changed files with 4 additions and 0 deletions
4
xm.js
4
xm.js
|
|
@ -264,6 +264,10 @@ function nextRow() {
|
|||
if (ch.note) {
|
||||
ch.period = periodForNote(ch, ch.note);
|
||||
}
|
||||
// waveforms 0-3 are retriggered on new notes while 4-7 are continuous
|
||||
if (ch.vibratotype < 4) {
|
||||
ch.vibratopos = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue