mod_test_0.js : Updated to reflec the new cmScModulator file format.

This commit is contained in:
kevin 2016-07-13 16:41:09 -04:00
parent 1e86b7d3ef
commit 27fcea2dce

View File

@ -1,82 +1,101 @@
{
array:
// NOTE: The first engry group should always be executable.
seq0 :
[
{ loc:-1 mod:m1, type:exec val:init }
{ loc:-1 val:default }
{ loc:18 val:preset_a }
{ loc:37 val:preset_g }
]
seq1 :
[
{ loc:-1 mod:m1, type:exec val:init }
{ loc:-1 val:default }
{ loc:18 val:preset_a }
{ loc:37 val:preset_g }
]
init :
[
// wnd len:1=512 2=1024 3=2048 4=4096 5=8192
{ loc:-1, mod:m1, var:win0, type:set, rate:100, val:3 },
{ loc:-1, mod:m1, var:win1, type:set, rate:100, val:2 },
{ var:win1, type:set, rate:100, val:2 },
// hop: 1=1 2=2 3=4 4=8 5=16
{ loc:-1, mod:m1, var:hop0, type:set, rate:100, val:3 },
{ loc:-1, mod:m1, var:hop1, type:set, rate:100, val:3 },
{ var:hop0, type:set, rate:100, val:3 },
{ var:hop1, type:set, rate:100, val:3 },
{ loc:-1, mod:m1, var:mod0, type:set, val:1 },
{ loc:-1, mod:m1, var:mod1, type:set, val:1 },
{ var:mod0, type:set, val:1 },
{ var:mod1, type:set, val:1 },
{ loc:-1, mod:m1, var:thr0, type:set, val:65 },
{ loc:-1, mod:m1, var:thr1, type:set, val:65 },
{ var:thr0, type:set, val:65 },
{ var:thr1, type:set, val:65 },
{ loc:-1, mod:m1, var:upr0, type:set, val:0 },
{ loc:-1, mod:m1, var:upr1, type:set, val:0 },
{ loc:-1, mod:m1, var:lwr0, type:set, val:2.0 },
{ loc:-1, mod:m1, var:lwr1, type:set, val:2.0 },
{ var:upr0, type:set, val:0 },
{ var:upr1, type:set, val:0 },
{ var:lwr0, type:set, val:2.0 },
{ var:lwr1, type:set, val:2.0 },
{ loc:-1, mod:m1, var:off0, type:set, val:20 },
{ loc:-1, mod:m1, var:off1, type:set, val:20 },
{ var:off0, type:set, val:20 },
{ var:off1, type:set, val:20 },
{ loc:-1, mod:m1, var:wet0, type:set, val:0.0 },
{ loc:-1, mod:m1, var:wet1, type:set, val:0.0 },
{ var:wet0, type:set, val:0.0 },
{ var:wet1, type:set, val:0.0 },
{ loc:-1, mod:m1, var:mint0, type:set, val:55 },
{ loc:-1, mod:m1, var:maxt0, type:set, val:85 },
{ loc:-1, mod:m1, var:minu0, type:set, val:0.0 },
{ loc:-1, mod:m1, var:maxu0, type:set, val:0.5 },
{ loc:-1, mod:m1, var:minl0, type:set, val:0 },
{ loc:-1, mod:m1, var:maxl0, type:set, val:3 },
{ loc:-1, mod:m1, var:mino0, type:set, val:-100.0 },
{ loc:-1, mod:m1, var:maxo0, type:set, val:100.0 },
{ var:mint0, type:set, val:55 },
{ var:maxt0, type:set, val:85 },
{ var:minu0, type:set, val:0.0 },
{ var:maxu0, type:set, val:0.5 },
{ var:minl0, type:set, val:0 },
{ var:maxl0, type:set, val:3 },
{ var:mino0, type:set, val:-100.0 },
{ var:maxo0, type:set, val:100.0 },
{ loc:-1, mod:m1, var:mint1, type:set, val:55 },
{ loc:-1, mod:m1, var:maxt1, type:set, val:85 },
{ loc:-1, mod:m1, var:minu1, type:set, val:0.0 },
{ loc:-1, mod:m1, var:maxu1, type:set, val:0.5 },
{ loc:-1, mod:m1, var:minl1, type:set, val:0 },
{ loc:-1, mod:m1, var:maxl1, type:set, val:3 },
{ loc:-1, mod:m1, var:mino1, type:set, val:-100.0 },
{ loc:-1, mod:m1, var:maxo1, type:set, val:100.0 },
{ var:mint1, type:set, val:55 },
{ var:maxt1, type:set, val:85 },
{ var:minu1, type:set, val:0.0 },
{ var:maxu1, type:set, val:0.5 },
{ var:minl1, type:set, val:0 },
{ var:maxl1, type:set, val:3 },
{ var:mino1, type:set, val:-100.0 },
{ var:maxo1, type:set, val:100.0 },
{ loc:-1, mod:m1, var:xfad0, type:set, val:100.0 },
{ loc:-1 mod:m1, var:sw0, type:decl, val:1 },
{ loc:-1, mod:m1, var:xfad1, type:set, val:100.0 },
{ loc:-1 mod:m1, var:sw1, type:decl, val:1 },
{ var:xfad0, type:set, val:100.0 },
{ var:sw0, type:decl, val:1 },
{ var:xfad1, type:set, val:100.0 },
{ var:sw1, type:decl, val:1 },
// compressor
{ loc:-1, mod:m1, var:cbyp0, type:set, val:0.0 },
{ loc:-1, mod:m1, var:cigain0, type:set, val:3.0 },
{ loc:-1, mod:m1, var:cthrsh0, type:set, val:-20.0 },
{ loc:-1, mod:m1, var:cratio0, type:set, val:2.0 },
{ loc:-1, mod:m1, var:catkms0, type:set, val:20.0 },
{ loc:-1, mod:m1, var:crlsms0, type:set, val:1000.0 },
{ loc:-1, mod:m1, var:cmakeup0, type:set, val:1.0 },
{ loc:-1, mod:m1, var:cwndms0, type:set, val:200 },
{ var:cbyp0, type:set, val:0.0 },
{ var:cigain0, type:set, val:3.0 },
{ var:cthrsh0, type:set, val:-20.0 },
{ var:cratio0, type:set, val:2.0 },
{ var:catkms0, type:set, val:20.0 },
{ var:crlsms0, type:set, val:1000.0 },
{ var:cmakeup0, type:set, val:1.0 },
{ var:cwndms0, type:set, val:200 },
{ loc:-1, mod:m1, var:cbyp1, type:set, val:0.0 },
{ loc:-1, mod:m1, var:cigain1, type:set, val:3.0 },
{ loc:-1, mod:m1, var:cthrsh1, type:set, val:-20.0 },
{ loc:-1, mod:m1, var:cratio1, type:set, val:2.0 },
{ loc:-1, mod:m1, var:catkms1, type:set, val:20.0 },
{ loc:-1, mod:m1, var:crlsms1, type:set, val:1000.0 },
{ loc:-1, mod:m1, var:cmakeup1, type:set, val:1.0 },
{ loc:-1, mod:m1, var:cwndms1, type:set, val:200 },
{ var:cbyp1, type:set, val:0.0 },
{ var:cigain1, type:set, val:3.0 },
{ var:cthrsh1, type:set, val:-20.0 },
{ var:cratio1, type:set, val:2.0 },
{ var:catkms1, type:set, val:20.0 },
{ var:crlsms1, type:set, val:1000.0 },
{ var:cmakeup1, type:set, val:1.0 },
{ var:cwndms1, type:set, val:200 },
{ loc:-1, mod:m1, var:dgain0, type:set, val:1.0 },
{ loc:-1, mod:m1, var:dgain1, type:set, val:1.0 },
{ loc:-1, mod:m1, var:wgain0, type:set, val:1.0 },
{ loc:-1, mod:m1, var:wgain1, type:set, val:1.0 },
// Default
{ var:dgain0, type:set, val:1.0 },
{ var:dgain1, type:set, val:1.0 },
{ var:wgain0, type:set, val:1.0 },
{ var:wgain1, type:set, val:1.0 },
]
{ loc:2 mod:m1 var:mod0, type:set, val:1 },
default :
[
{ loc: -1, mod:m1 var:mod0, type:set, val:1 },
{ var:cigain0, type:set, val: 5.0 },
{ var:wet0 type:set, val: 0.0}
{ var:sw0, type:set, val:0 },
@ -86,12 +105,11 @@
{ var:wet1 type:set, val: 0.0}
{ var:sw1, type:set, val:0 },
{ loc:19 type:exec val:preset_a }
{ loc:38 type:exec val:preset_g }
]
// Preset A
{ loc:preset_a mod:m1, var:mod0, type:set, val: 1 },
preset_a :
[
{ loc: -1, mod:m1, var:mod0, type:set, val: 1 },
{ var:thr0, type:set, val: 60.0 },
{ var:upr0, type:set, val: -1.1 },
{ var:lwr0, type:set, val: 2.0 },
@ -110,8 +128,11 @@
{ var:wet1 type:set, val: 1.0}
{ var:wgain1, type:set, val: 1.75 }
{ var:sw1, type:set, val:0 },
]
{ loc:preset_g mod:m1 var:mod0, type:set, val: 4 },
preset_g :
[
{ loc:-1, mod:m1, var:mod0, type:set, val: 4 },
{ var:thr0, type:set, val: 60.0 },
{ var:upr0, type:set, val: -0.7 },
{ var:lwr0, type:set, val: 8.0 },
@ -128,5 +149,7 @@
{ var:cigain1, type:set, val: 10.0 },
{ var:wet1 type:set, val: 1.0 }
{ var:sw1, type:set, val:0 },
]
]
}