so many weird uses of effects

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

2
xm.js
View file

@ -320,9 +320,11 @@ 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);
if (ch.note != undefined) {
ch.period = PeriodForNote(ch, ch.note); ch.period = PeriodForNote(ch, ch.note);
} }
} }
}
} }
function Envelope(points, type, sustain, loopstart, loopend) { function Envelope(points, type, sustain, loopstart, loopend) {