Retrigger waveforms 0-3

This commit is contained in:
Johan Hillerström 2015-11-21 02:30:04 +01:00
commit 413bc4b538

4
xm.js
View file

@ -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;
}
}
}
}