fix instrument trigger glitch
This commit is contained in:
parent
27d0a0b1c3
commit
06ad3ed8a5
1 changed files with 2 additions and 1 deletions
3
xm.js
3
xm.js
|
|
@ -251,7 +251,8 @@ function next_row() {
|
|||
ch.inst = inst;
|
||||
// retrigger unless overridden below
|
||||
triggernote = true;
|
||||
if (ch.samp) {
|
||||
if (ch.note) {
|
||||
ch.samp = inst.samples[inst.samplemap[ch.note]];
|
||||
ch.vol = ch.samp.vol;
|
||||
ch.pan = ch.samp.pan;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue