so many weird uses of effects

This commit is contained in:
Andy Sloane 2015-10-31 10:52:46 -07:00
commit 49005f0ae0

4
xm.js
View file

@ -320,7 +320,9 @@ function next_row() {
ch.vibratopos = 0; ch.vibratopos = 0;
ch.env_vol = new EnvelopeFollower(inst.env_vol); ch.env_vol = new EnvelopeFollower(inst.env_vol);
ch.env_pan = new EnvelopeFollower(inst.env_pan); ch.env_pan = new EnvelopeFollower(inst.env_pan);
ch.period = PeriodForNote(ch, ch.note); if (ch.note != undefined) {
ch.period = PeriodForNote(ch, ch.note);
}
} }
} }
} }