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

@ -62,23 +62,36 @@
{ loc:8, mod:m1, var:maxt0, type:set, val:60 }, { loc:8, mod:m1, var:maxt0, type:set, val:60 },
{ loc:8, mod:m1, var:mint1, type:set, val:75 }, { loc:8, mod:m1, var:mint1, type:set, val:75 },
{ loc:8, mod:m1, var:maxt1, type:set, val:85 }, { loc:8, mod:m1, var:maxt1, type:set, val:85 },
{ 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 },
{ loc:24, mod:m1, var:maxt1, type:set, val:60 }, { loc:24, mod:m1, var:maxt1, type:set, val:60 },
{ loc:25 mod:m1, var:mod0, type:set, val:2 }, { loc:25 mod:m1, var:mod0, type:set, val:2 },
{ loc:25 mod:m1, var:mod1, type:set, val:2 }, { loc:25 mod:m1, var:mod1, type:set, val:2 },
{ loc:35, mod:m1, var:mint0, type:set, val:50 }, { loc:35, mod:m1, var:mint0, type:set, val:50 },
{ loc:35, mod:m1, var:maxt0, type:set, val:60 }, { loc:35, mod:m1, var:maxt0, type:set, val:60 },
{ loc:35, mod:m1, var:mint1, type:set, val:75 }, { loc:35, mod:m1, var:mint1, type:set, val:75 },
{ loc:35, mod:m1, var:maxt1, type:set, val:85 }, { loc:35, mod:m1, var:maxt1, type:set, val:85 },
{ loc:36 mod:m1, var:mod0, type:set, val:1}, { loc:36 mod:m1, var:mod0, type:set, val:1},
{ loc:36 mod:m1, var:mod1, type:set, val:1 }, { loc:36 mod:m1, var:mod1, type:set, val:1 },
//{ loc:9 mod:m1, var:thr1, type:line, dur:3 rate:50 end:75}, //{ loc:9 mod:m1, var:thr1, type:line, dur:3 rate:50 end:75},