From 1e0259da70d3de23dbbadab53f77ee18a87e1a36 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 13 Jul 2016 19:08:07 -0400 Subject: [PATCH] data/mod_simple_seq.js : Updated for new cmScModulator file format. --- src/kc/data/mod_simple_seq.js | 463 +++++++++++++++++----------------- 1 file changed, 228 insertions(+), 235 deletions(-) diff --git a/src/kc/data/mod_simple_seq.js b/src/kc/data/mod_simple_seq.js index 25ce85c..0ebbee7 100644 --- a/src/kc/data/mod_simple_seq.js +++ b/src/kc/data/mod_simple_seq.js @@ -1,277 +1,270 @@ { - array: + seq0: + [ + { loc: -1 type:exec val:init } + { loc: -1 val:preset_dry } + { loc: 1 val:preset_g_1_d } + { loc: 17 val:preset_a } + { loc: 47 val:preset_d } + { loc: 59 val:preset_g_1_a } + { loc: 78 val:preset_b } + { loc: 84 val:preset_g_1_d } + { loc: 95 val:preset_dry } + { loc: 99 val:preset_b } + { loc:106 val:preset_g_a } + { loc:131 val:preset_b } + ] + + 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, 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, rate:100, val:3 }, + { var:hop1, 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, val:1 }, + { var:mod1, val:1 }, - { loc:-1, mod:m1, var:thr0, type:set, val:65 }, - { loc:-1, mod:m1, var:thr1, type:set, val:65 }, + { var:thr0, val:65 }, + { var:thr1, 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, val:0 }, + { var:upr1, val:0 }, + { var:lwr0, val:2.0 }, + { var:lwr1, 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, val:20 }, + { var:off1, 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, val:0.0 }, + { var:wet1, 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, val:55 }, + { var:maxt0, val:85 }, + { var:minu0, val:0.0 }, + { var:maxu0, val:0.5 }, + { var:minl0, val:0 }, + { var:maxl0, val:3 }, + { var:mino0, val:-100.0 }, + { var:maxo0, 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, val:55 }, + { var:maxt1, val:85 }, + { var:minu1, val:0.0 }, + { var:maxu1, val:0.5 }, + { var:minl1, val:0 }, + { var:maxl1, val:3 }, + { var:mino1, val:-100.0 }, + { var:maxo1, 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, val:100.0 }, + { var:xfad1, val:100.0 }, + { var:sw0, type:decl, val:1 }, + { 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, val:3.0 }, + { var:cthrsh0, val:-20.0 }, + { var:cratio0, val:2.0 }, + { var:catkms0, val:20.0 }, + { var:crlsms0, val:1000.0 }, + { var:cmakeup0, val:1.0 }, + { var:cwndms0, 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, val:0.0 }, + { var:cigain1, val:3.0 }, + { var:cthrsh1, val:-20.0 }, + { var:cratio1, val:2.0 }, + { var:catkms1, val:20.0 }, + { var:crlsms1, val:1000.0 }, + { var:cmakeup1, val:1.0 }, + { var:cwndms1, 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 }, - + { var:dgain0, val:1.0 }, + { var:dgain1, val:1.0 }, + { var:wgain0, val:1.0 }, + { var:wgain1, val:1.0 }, + ] // Preset G-1 D (Section 1) - { loc:1 mod:m1 var:mod0, type:set, val: 4 }, - { var:thr0, type:set, val: 40.0 }, - { var:upr0, type:set, val: -0.4 }, - { var:lwr0, type:set, val: 7.0 }, - { var:off0, type:set, val: 60.0 } - { var:cigain0, type:set, val: 10.0 }, - { var:wet0 type:set, val: 1.0 } - { var:wgain0, type:set, val: 1.0 } - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val: 4 }, - { var:thr1, type:set, val: 34.0 }, - { var:upr1, type:set, val: -0.3 }, - { var:lwr1, type:set, val: 5.0 }, - { var:off1, type:set, val: 64.0 } - { var:cigain1, type:set, val: 10.0 }, - { var:wet1 type:set, val: 1.0 } - { var:wgain1, type:set, val: 1.0 } - { var:sw1, type:set, val:0 }, + preset_g_1_d: + [ + { loc:-1 mod:m1 var:mod0, type:set, val: 4 }, + { var:thr0, val: 40.0 }, + { var:upr0, val: -0.4 }, + { var:lwr0, val: 7.0 }, + { var:off0, val: 60.0 } + { var:cigain0, val: 10.0 }, + { var:wet0 val: 1.0 } + { var:wgain0, val: 1.0 } + { var:sw0, val:0 }, + { var:mod1, val: 4 }, + { var:thr1, val: 34.0 }, + { var:upr1, val: -0.3 }, + { var:lwr1, val: 5.0 }, + { var:off1, val: 64.0 } + { var:cigain1, val: 10.0 }, + { var:wet1 val: 1.0 } + { var:wgain1, val: 1.0 } + { var:sw1, val:0 }, + ] + // Preset A (Section 2) + preset_a : + [ + { loc:-1 mod:m1, var:mod0, type:set, val: 1 }, + { var:thr0, val: 60.0 }, + { var:upr0, val: -1.1 }, + { var:lwr0, val: 2.0 }, + { var:cbyp0, val: 0.0 }, + { var:cigain0, val: 6.0 }, + { var:wet0 val: 1.0} + { var:wgain0, val: 1.75 } + { var:sw0, val:0 }, - { loc:17 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 }, - { var:cbyp0, type:set, val: 0.0 }, - { var:cigain0, type:set, val: 6.0 }, - { var:wet0 type:set, val: 1.0} - { var:wgain0, type:set, val: 1.75 } - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val: 1 }, - { var:thr1, type:set, val: 60.0 }, - { var:upr1, type:set, val: -0.99 }, - { var:lwr1, type:set, val: 2.0 }, - { var:cbyp1, type:set, val: 0.0 }, - { var:cigain1, type:set, val: 6.0 }, - { var:wet1 type:set, val: 1.0} - { var:wgain1, type:set, val: 1.75 } - { var:sw1, type:set, val:0 }, - + { var:mod1, val: 1 }, + { var:thr1, val: 60.0 }, + { var:upr1, val: -0.99 }, + { var:lwr1, val: 2.0 }, + { var:cbyp1, val: 0.0 }, + { var:cigain1, val: 6.0 }, + { var:wet1 val: 1.0} + { var:wgain1, val: 1.75 } + { var:sw1, val:0 }, + ] // Preset D - (Section 4) - { loc:47 mod:m1 var:mod0, type:set, val: 1 }, - { var:thr0, type:set, val: 70.0 }, - { var:upr0, type:set, val: -3.9 }, - { var:lwr0, type:set, val: 4.0 }, - { var:cigain0, type:set, val: 9.0 }, - { var:wet0 type:set, val: 1.0 } - { var:sw0, type:set, val:0 }, - - { var:mod1 type:set, val: 1 }, - { var:thr1, type:set, val: 70.0 }, - { var:upr1, type:set, val: -4.5 }, - { var:lwr1, type:set, val: 4.0 }, - { var:cigain1, type:set, val: 9.0 }, - { var:wet1 type:set, val: 1.0 } - { var:sw1, type:set, val:0 }, + preset_d : + [ + { loc:-1 mod:m1 var:mod0, type:set, val: 1 }, + { var:thr0, val: 70.0 }, + { var:upr0, val: -3.9 }, + { var:lwr0, val: 4.0 }, + { var:cigain0, val: 9.0 }, + { var:wet0 val: 1.0 } + { var:sw0, val:0 }, + { var:mod1 val: 1 }, + { var:thr1, val: 70.0 }, + { var:upr1, val: -4.5 }, + { var:lwr1, val: 4.0 }, + { var:cigain1, val: 9.0 }, + { var:wet1 val: 1.0 } + { var:sw1, val:0 }, + ] // Preset G-1 A (*) (Section 5 ) - { loc:59 mod:m1 var:mod0, type:set, val: 4 }, - { var:thr0, type:set, val: 50.0 }, - { var:upr0, type:set, val: -0.7 }, - { var:lwr0, type:set, val: 8.0 }, - { var:off0, type:set, val: 20.0 } - { var:cigain0, type:set, val: 10.0 }, - { var:wet0 type:set, val: 1.0 } - { var:wgain0, type:set, val: 1.0 } - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val: 4 }, - { var:thr1, type:set, val: 54.0 }, - { var:upr1, type:set, val: -0.7 }, - { var:lwr1, type:set, val: 2.0 }, - { var:off1, type:set, val: 20.0 } - { var:cigain1, type:set, val: 10.0 }, - { var:wet1 type:set, val: 1.0 } - { var:wgain1, type:set, val: 1.0 } - { var:sw1, type:set, val:0 }, + preset_g_1_a : + [ + { loc:-1 mod:m1 var:mod0, type:set, val: 4 }, + { var:thr0, val: 50.0 }, + { var:upr0, val: -0.7 }, + { var:lwr0, val: 8.0 }, + { var:off0, val: 20.0 } + { var:cigain0, val: 10.0 }, + { var:wet0 val: 1.0 } + { var:wgain0, val: 1.0 } + { var:sw0, val:0 }, + { var:mod1, val: 4 }, + { var:thr1, val: 54.0 }, + { var:upr1, val: -0.7 }, + { var:lwr1, val: 2.0 }, + { var:off1, val: 20.0 } + { var:cigain1, val: 10.0 }, + { var:wet1 val: 1.0 } + { var:wgain1, val: 1.0 } + { var:sw1, val:0 }, + ] // Preset B (Section 6) + preset_b : + [ + { loc:-1 mod:m1 var:mod0, type:set, val:1 }, + { var:thr0, val: 77.0}, + { var:upr0, val: -0.5}, + { var:lwr0, val: 3.0}, + { var:cbyp0, val: 0.0 }, + { var:cigain0, val:10.0 }, + { var:wgain0 val: 1.75} + { var:sw0, val:0 }, - { loc:78 mod:m1 var:mod0, type:set, val:1 }, - { var:thr0, type:set, val: 77.0}, - { var:upr0, type:set, val: -0.5}, - { var:lwr0, type:set, val: 3.0}, - { var:cbyp0, type:set, val: 0.0 }, - { var:cigain0, type:set, val:10.0 }, - { var:wgain0 type:set, val: 1.75} - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val:1 }, - { var:thr1, type:set, val: 74.0 }, - { var:upr1, type:set, val: -0.5}, - { var:lwr1, type:set, val: 2.0}, - { var:cbyp1, type:set, val: 0.0 }, - { var:cigain1, type:set, val:10.0 }, - { var:wgain1 type:set, val: 1.75} - { var:sw1, type:set, val:0 }, - + { var:mod1, val:1 }, + { var:thr1, val: 74.0 }, + { var:upr1, val: -0.5}, + { var:lwr1, val: 2.0}, + { var:cbyp1, val: 0.0 }, + { var:cigain1, val:10.0 }, + { var:wgain1 val: 1.75} + { var:sw1, val:0 }, + ] + // Preset G-1 D (Section 7) - { loc:84 mod:m1 var:mod0, type:set, val: 4 }, - { var:thr0, type:set, val: 40.0 }, - { var:upr0, type:set, val: -0.4 }, - { var:lwr0, type:set, val: 7.0 }, - { var:off0, type:set, val: 60.0 } - { var:cigain0, type:set, val: 10.0 }, - { var:wet0 type:set, val: 1.0 } - { var:wgain0, type:set, val: 1.0 } - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val: 4 }, - { var:thr1, type:set, val: 34.0 }, - { var:upr1, type:set, val: -0.3 }, - { var:lwr1, type:set, val: 5.0 }, - { var:off1, type:set, val: 64.0 } - { var:cigain1, type:set, val: 10.0 }, - { var:wet1 type:set, val: 1.0 } - { var:wgain1, type:set, val: 1.0 } - { var:sw1, type:set, val:0 }, + preset_g_1_d: + [ + { loc:-1 mod:m1 var:mod0, type:set, val: 4 }, + { var:thr0, val: 40.0 }, + { var:upr0, val: -0.4 }, + { var:lwr0, val: 7.0 }, + { var:off0, val: 60.0 } + { var:cigain0, val: 10.0 }, + { var:wet0 val: 1.0 } + { var:wgain0, val: 1.0 } + { var:sw0, val:0 }, + { var:mod1, val: 4 }, + { var:thr1, val: 34.0 }, + { var:upr1, val: -0.3 }, + { var:lwr1, val: 5.0 }, + { var:off1, val: 64.0 } + { var:cigain1, val: 10.0 }, + { var:wet1 val: 1.0 } + { var:wgain1, val: 1.0 } + { var:sw1, val:0 }, + ] + // Dry (Section 8 - Meas 7) - { loc:95 mod:m1 var:mod0, type:set, val:1 }, - { var:cigain0, type:set, val: 5.0 }, - { var:wet0 type:set, val: 1.0} - { var:sw0, type:set, val:0 }, - - { var:mod1 type:set, val:1 }, - { var:cigain1, type:set, val: 5.0 }, - { var:wet1 type:set, val: 1.0} - { var:sw1, type:set, val:0 }, - -// Preset B (Section 8) - - { loc:99 mod:m1 var:mod0, type:set, val:1 }, - { var:thr0, type:set, val: 77.0}, - { var:upr0, type:set, val: -0.5}, - { var:lwr0, type:set, val: 3.0}, - { var:cbyp0, type:set, val: 0.0 }, - { var:cigain0, type:set, val:10.0 }, - { var:wgain0 type:set, val: 1.75} - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val:1 }, - { var:thr1, type:set, val: 74.0 }, - { var:upr1, type:set, val: -0.5}, - { var:lwr1, type:set, val: 2.0}, - { var:cbyp1, type:set, val: 0.0 }, - { var:cigain1, type:set, val:10.0 }, - { var:wgain1 type:set, val: 1.75} - { var:sw1, type:set, val:0 }, + preset_dry : + [ + { loc:-1 mod:m1 var:mod0, type:set, val:1 }, + { var:cigain0, val: 5.0 }, + { var:wet0 val: 0.0} + { var:sw0, val:0 }, + { var:mod1 val:1 }, + { var:cigain1, val: 5.0 }, + { var:wet1 val: 0.0} + { var:sw1, val:0 }, + ] + // Preset G (a) (Section 9) + preset_g_a : + [ + { loc:-1 mod:m1 var:mod0, type:set, val: 4 }, + { var:thr0, val: 50.0 }, + { var:upr0, val: -0.7 }, + { var:lwr0, val: 2.0 }, + { var:off0, val: 40.0 } + { var:cigain0, val: 10.0 }, + { var:wet0 val: 1.0 } + { var:sw0, val:0 }, - { loc:106 mod:m1 var:mod0, type:set, val: 4 }, - { var:thr0, type:set, val: 50.0 }, - { var:upr0, type:set, val: -0.7 }, - { var:lwr0, type:set, val: 2.0 }, - { var:off0, type:set, val: 40.0 } - { var:cigain0, type:set, val: 10.0 }, - { var:wet0 type:set, val: 1.0 } - { var:sw0, type:set, val:0 }, + { var:mod1, val: 4 }, + { var:thr1, val: 54.0 }, + { var:upr1, val: -0.7 }, + { var:lwr1, val: 2.0 }, + { var:off1, val: 40.0 } + { var:cigain1, val: 10.0 }, + { var:wet1 val: 1.0 } + { var:sw1, val:0 }, + ] + - { var:mod1, type:set, val: 4 }, - { var:thr1, type:set, val: 54.0 }, - { var:upr1, type:set, val: -0.7 }, - { var:lwr1, type:set, val: 2.0 }, - { var:off1, type:set, val: 40.0 } - { var:cigain1, type:set, val: 10.0 }, - { var:wet1 type:set, val: 1.0 } - { var:sw1, type:set, val:0 }, - -// Preset B (Section 10) - - { loc:131 mod:m1 var:mod0, type:set, val:1 }, - { var:thr0, type:set, val: 77.0}, - { var:upr0, type:set, val: -0.5}, - { var:lwr0, type:set, val: 3.0}, - { var:cbyp0, type:set, val: 0.0 }, - { var:cigain0, type:set, val:10.0 }, - { var:wgain0 type:set, val: 1.75} - { var:sw0, type:set, val:0 }, - - { var:mod1, type:set, val:1 }, - { var:thr1, type:set, val: 74.0 }, - { var:upr1, type:set, val: -0.5}, - { var:lwr1, type:set, val: 2.0}, - { var:cbyp1, type:set, val: 0.0 }, - { var:cigain1, type:set, val:10.0 }, - { var:wgain1 type:set, val: 1.75} - { var:sw1, type:set, val:0 }, - - - ] } \ No newline at end of file