mod0.js : Added 'sw0' and 'sw1' variables to generate a cross fade.

This commit is contained in:
kevin 2013-12-10 16:23:18 -05:00
parent c7c3126c74
commit d9271ae66e

View File

@ -65,6 +65,19 @@
{ loc:9 mod:m1, var:mod0, type:set, val:4 }, { loc:9 mod:m1, var:mod0, type:set, val:4 },
{ loc:9 mod:m1, var:mod1, type:set, val:4 }, { loc:9 mod:m1, var:mod1, type:set, val:4 },
// NOTE: Use sw0/1 to switch the xfade channels just before sending new parameters.
{ loc:14 mod:m1, var:sw0, type:set, val:1 },
{ loc:14 mod:m1, var:sw1, type:set, val:1 },
{ loc:14 mod:m1, var:mod0, type:set, val:1 },
{ loc:14 mod:m1, var:mod1, type:set, val:1 },
{ loc:17 mod:m1, var:sw0, type:set, val:4 },
{ loc:17 mod:m1, var:sw1, type:set, val:4 },
{ loc:17 mod:m1, var:mod0, type:set, val:4 },
{ loc:17 mod:m1, var:mod1, type:set, val:4 },
{ loc:24, mod:m1, var:mint0, type:set, val:75 }, { loc:24, mod:m1, var:mint0, type:set, val:75 },
{ loc:24, mod:m1, var:maxt0, type:set, val:85 }, { loc:24, mod:m1, var:maxt0, type:set, val:85 },
{ loc:24, mod:m1, var:mint1, type:set, val:50 }, { loc:24, mod:m1, var:mint1, type:set, val:50 },