From f5628976e422df16062c4a6f64644d59655e53ab Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 6 Jul 2016 18:57:34 -0400 Subject: [PATCH] data/mod_simple_test_0.js : Initial commit. --- src/kc/data/mod_simple_0.js | 123 +++++++++++++++++++++++++++++++++ src/kc/data/mod_test_0.js | 132 ++++++++++++++++++++++++++++++++++++ 2 files changed, 255 insertions(+) create mode 100644 src/kc/data/mod_simple_0.js create mode 100644 src/kc/data/mod_test_0.js diff --git a/src/kc/data/mod_simple_0.js b/src/kc/data/mod_simple_0.js new file mode 100644 index 0000000..c103329 --- /dev/null +++ b/src/kc/data/mod_simple_0.js @@ -0,0 +1,123 @@ +{ + array: + [ + // 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 }, + + // 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 }, + + { loc:-1, mod:m1, var:mod0, type:set, val:1 }, + { loc:-1, mod:m1, 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 }, + + { 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 }, + + { loc:-1, mod:m1, var:off0, type:set, val:20 }, + { loc:-1, mod:m1, var:off1, type:set, val:20 }, + + { 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 }, + + + { 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 }, + + { 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 }, + + { 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 }, + + { 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 }, + +/* + { loc:10 mod:m1, var:mod0, type:set, val:1 }, + { var:thr0, type:set, val: 80.0}, + { var:upr0, type:set, val: 0.0}, + { var:lwr0, type:set, val: 2.0}, + { var:off0, type:set, val: 30.0}, + { var:cigain0, type:set, val:10.0 }, +// { var:sw0, type:set, val:0 }, + + { var:mod1, type:set, val:1 }, + { var:thr1, type:set, val: 80.0 }, + { var:upr1, type:set, val: 0.0 }, + { var:lwr1, type:set, val: 2.0}, + { var:off1, type:set, val: 30.0}, + { var:cigain1, type:set, val:10.0 }, +// { var:sw1, type:set, val:0 }, + + + + { loc:38 mod:m1, var:mod0, type:set, val: 4 }, + { var:thr0, type:set, val: 80.0}, + { var:upr0, type:set, val: 0.0}, + { var:lwr0, type:set, val: 2.0}, + { var:off0, type:set, val: 30.0}, + { var:cigain0, type:set, val:10.0 }, + { var:sw0, type:set, val:0 }, + + { var:mod1, type:set, val: 4 }, + { var:thr1, type:set, val: 80.0 }, + { var:upr1, type:set, val: 0.0 }, + { var:lwr1, type:set, val: 2.0}, + { var:off1, type:set, val: 30.0}, + { var:cigain1, type:set, val:10.0 }, + { var:sw1, type:set, val:0 }, + + + + { loc:200 mod:m1, var:mod0, type:set, val:1 }, + { var:thr0, type:set, val: 60.0}, + { var:upr0, type:set, val: 0.0}, + { var:lwr0, type:set, val: 2.0}, + { var:off0, type:set, val: 30.0}, + { var:cigain0, type:set, val:10.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: 0.0 }, + { var:lwr1, type:set, val: 2.0}, + { var:off1, type:set, val: 30.0}, + { var:cigain1, type:set, val:10.0 }, + { var:sw1, type:set, val:0 }, +*/ + + ] +} \ No newline at end of file diff --git a/src/kc/data/mod_test_0.js b/src/kc/data/mod_test_0.js new file mode 100644 index 0000000..d145206 --- /dev/null +++ b/src/kc/data/mod_test_0.js @@ -0,0 +1,132 @@ +{ + array: + [ + // 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 }, + + // 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 }, + + { loc:-1, mod:m1, var:mod0, type:set, val:1 }, + { loc:-1, mod:m1, 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 }, + + { 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 }, + + { loc:-1, mod:m1, var:off0, type:set, val:20 }, + { loc:-1, mod:m1, 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 }, + + { 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 }, + + + { 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 }, + + { 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 }, + + // 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 }, + + { 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 }, + + { 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 + + { loc:2 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 }, + + { var:mod1 type:set, val:1 }, + { var:cigain1, type:set, val: 5.0 }, + { 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 }, + { 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 }, + + { loc:preset_g 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 }, + { var:off0, type:set, val: 20.0 } + { var:cigain0, type:set, val: 10.0 }, + { var:wet0 type:set, val: 1.0 } + { var:sw0, type:set, val:0 }, + + { var:mod1, type:set, val: 4 }, + { var:thr1, type:set, val: 64.0 }, + { var:upr1, type:set, val: -0.7 }, + { var:lwr1, type:set, val: 8.0 }, + { var:off1, type:set, val: 20.0 } + { var:cigain1, type:set, val: 10.0 }, + { var:wet1 type:set, val: 1.0 } + { var:sw1, type:set, val:0 }, + ] +} \ No newline at end of file