Browse Source

data/mod_simple_test_0.js : Initial commit.

master
kevin 8 years ago
parent
commit
f5628976e4
2 changed files with 255 additions and 0 deletions
  1. 123
    0
      src/kc/data/mod_simple_0.js
  2. 132
    0
      src/kc/data/mod_test_0.js

+ 123
- 0
src/kc/data/mod_simple_0.js View File

@@ -0,0 +1,123 @@
1
+{
2
+ array: 
3
+ [
4
+   // wnd len:1=512 2=1024 3=2048 4=4096 5=8192
5
+   { loc:-1, mod:m1, var:win0, type:set, rate:100, val:3 },
6
+   { loc:-1, mod:m1, var:win1, type:set, rate:100, val:2 },
7
+
8
+   // hop: 1=1 2=2 3=4 4=8 5=16
9
+   { loc:-1, mod:m1, var:hop0, type:set, rate:100, val:3 },
10
+   { loc:-1, mod:m1, var:hop1, type:set, rate:100, val:3 },
11
+
12
+   { loc:-1, mod:m1, var:mod0, type:set, val:1   },
13
+   { loc:-1, mod:m1, var:mod1, type:set, val:1  },
14
+
15
+   { loc:-1, mod:m1, var:thr0, type:set, val:65 },
16
+   { loc:-1, mod:m1, var:thr1, type:set, val:65 },
17
+
18
+   { loc:-1, mod:m1, var:upr0, type:set, val:0 },
19
+   { loc:-1, mod:m1, var:upr1, type:set, val:0 },
20
+   { loc:-1, mod:m1, var:lwr0, type:set, val:2.0 },
21
+   { loc:-1, mod:m1, var:lwr1, type:set, val:2.0 },
22
+   
23
+   { loc:-1, mod:m1, var:off0, type:set, val:20 },
24
+   { loc:-1, mod:m1, var:off1, type:set, val:20 },
25
+
26
+   { loc:-1, mod:m1, var:mint0, type:set, val:55 },
27
+   { loc:-1, mod:m1, var:maxt0, type:set, val:85 },
28
+   { loc:-1, mod:m1, var:minu0, type:set, val:0.0 },
29
+   { loc:-1, mod:m1, var:maxu0, type:set, val:0.5 },
30
+   { loc:-1, mod:m1, var:minl0, type:set, val:0 },
31
+   { loc:-1, mod:m1, var:maxl0, type:set, val:3 },
32
+   { loc:-1, mod:m1, var:mino0, type:set, val:-100.0 },
33
+   { loc:-1, mod:m1, var:maxo0, type:set, val:100.0 },
34
+
35
+
36
+   { loc:-1, mod:m1, var:mint1, type:set, val:55 },
37
+   { loc:-1, mod:m1, var:maxt1, type:set, val:85 },
38
+   { loc:-1, mod:m1, var:minu1, type:set, val:0.0 },
39
+   { loc:-1, mod:m1, var:maxu1, type:set, val:0.5 },
40
+   { loc:-1, mod:m1, var:minl1, type:set, val:0 },
41
+   { loc:-1, mod:m1, var:maxl1, type:set, val:3 },
42
+   { loc:-1, mod:m1, var:mino1, type:set, val:-100.0 },
43
+   { loc:-1, mod:m1, var:maxo1, type:set, val:100.0 },
44
+   
45
+   { loc:-1, mod:m1, var:xfad0, type:set, val:100.0 },
46
+   { loc:-1  mod:m1, var:sw0,   type:decl, val:1 },	
47
+   { loc:-1, mod:m1, var:xfad1, type:set, val:100.0 },
48
+   { loc:-1  mod:m1, var:sw1,   type:decl, val:1 },	
49
+
50
+   { loc:-1, mod:m1, var:cbyp0,    type:set, val:0.0 },
51
+   { loc:-1, mod:m1, var:cigain0,  type:set, val:3.0 },
52
+   { loc:-1, mod:m1, var:cthrsh0,  type:set, val:-20.0 },
53
+   { loc:-1, mod:m1, var:cratio0,  type:set, val:2.0 },
54
+   { loc:-1, mod:m1, var:catkms0,  type:set, val:20.0 },
55
+   { loc:-1, mod:m1, var:crlsms0,  type:set, val:1000.0 },
56
+   { loc:-1, mod:m1, var:cmakeup0, type:set, val:1.0 },
57
+   { loc:-1, mod:m1, var:cwndms0,  type:set, val:200 },
58
+
59
+   { loc:-1, mod:m1, var:cbyp1,    type:set, val:0.0 },
60
+   { loc:-1, mod:m1, var:cigain1,  type:set, val:3.0 },
61
+   { loc:-1, mod:m1, var:cthrsh1,  type:set, val:-20.0 },
62
+   { loc:-1, mod:m1, var:cratio1,  type:set, val:2.0 },
63
+   { loc:-1, mod:m1, var:catkms1,  type:set, val:20.0 },
64
+   { loc:-1, mod:m1, var:crlsms1,  type:set, val:1000.0 },
65
+   { loc:-1, mod:m1, var:cmakeup1, type:set, val:1.0 },
66
+   { loc:-1, mod:m1, var:cwndms1,  type:set, val:200 },
67
+
68
+/*
69
+   { loc:10 mod:m1, var:mod0, type:set, val:1    },
70
+   {                var:thr0, type:set, val: 80.0},
71
+   {                var:upr0, type:set, val: 0.0},
72
+   {                var:lwr0, type:set, val:  2.0},
73
+   {                var:off0, type:set, val: 30.0},
74
+   {                var:cigain0,  type:set, val:10.0 },
75
+//   {                var:sw0,   type:set, val:0 },	
76
+
77
+   {                var:mod1, type:set, val:1  },
78
+   {                var:thr1, type:set, val: 80.0 },
79
+   {                var:upr1, type:set, val: 0.0 },
80
+   {                var:lwr1, type:set, val:  2.0},
81
+   {                var:off1, type:set, val: 30.0},
82
+   {                var:cigain1,  type:set, val:10.0 },
83
+//   {                var:sw1,   type:set, val:0 },	
84
+
85
+
86
+
87
+   { loc:38 mod:m1, var:mod0, type:set, val: 4   },
88
+   {                var:thr0, type:set, val: 80.0},
89
+   {                var:upr0, type:set, val:  0.0},
90
+   {                var:lwr0, type:set, val:  2.0},
91
+   {                var:off0, type:set, val: 30.0},
92
+   {                var:cigain0,  type:set, val:10.0 },
93
+   {                var:sw0,   type:set, val:0 },	
94
+
95
+   {                var:mod1, type:set, val: 4  },
96
+   {                var:thr1, type:set, val: 80.0 },
97
+   {                var:upr1, type:set, val:  0.0 },
98
+   {                var:lwr1, type:set, val:  2.0},
99
+   {                var:off1, type:set, val: 30.0},
100
+   {                var:cigain1,  type:set, val:10.0 },
101
+   {                var:sw1,   type:set, val:0 },	
102
+
103
+
104
+
105
+   { loc:200 mod:m1, var:mod0, type:set, val:1    },
106
+   {                var:thr0, type:set, val: 60.0},
107
+   {                var:upr0, type:set, val: 0.0},
108
+   {                var:lwr0, type:set, val:  2.0},
109
+   {                var:off0, type:set, val: 30.0},
110
+   {                var:cigain0,  type:set, val:10.0 },
111
+   {                var:sw0,   type:set, val:0 },	
112
+
113
+   {                var:mod1, type:set, val:1  },
114
+   {                var:thr1, type:set, val: 70.0 },
115
+   {                var:upr1, type:set, val: 0.0 },
116
+   {                var:lwr1, type:set, val:  2.0},
117
+   {                var:off1, type:set, val: 30.0},
118
+   {                var:cigain1,  type:set, val:10.0 },
119
+   {                var:sw1,   type:set, val:0 },	
120
+*/
121
+
122
+ ]
123
+}

+ 132
- 0
src/kc/data/mod_test_0.js View File

@@ -0,0 +1,132 @@
1
+{
2
+ array: 
3
+ [
4
+   // wnd len:1=512 2=1024 3=2048 4=4096 5=8192
5
+   { loc:-1, mod:m1, var:win0, type:set, rate:100, val:3 },
6
+   { loc:-1, mod:m1, var:win1, type:set, rate:100, val:2 },
7
+
8
+   // hop: 1=1 2=2 3=4 4=8 5=16
9
+   { loc:-1, mod:m1, var:hop0, type:set, rate:100, val:3 },
10
+   { loc:-1, mod:m1, var:hop1, type:set, rate:100, val:3 },
11
+
12
+   { loc:-1, mod:m1, var:mod0, type:set, val:1   },
13
+   { loc:-1, mod:m1, var:mod1, type:set, val:1  },
14
+
15
+   { loc:-1, mod:m1, var:thr0, type:set, val:65 },
16
+   { loc:-1, mod:m1, var:thr1, type:set, val:65 },
17
+
18
+   { loc:-1, mod:m1, var:upr0, type:set, val:0 },
19
+   { loc:-1, mod:m1, var:upr1, type:set, val:0 },
20
+   { loc:-1, mod:m1, var:lwr0, type:set, val:2.0 },
21
+   { loc:-1, mod:m1, var:lwr1, type:set, val:2.0 },
22
+   
23
+   { loc:-1, mod:m1, var:off0, type:set, val:20 },
24
+   { loc:-1, mod:m1, var:off1, type:set, val:20 },
25
+
26
+   { loc:-1, mod:m1, var:wet0, type:set, val:0.0 },
27
+   { loc:-1, mod:m1, var:wet1, type:set, val:0.0 },
28
+
29
+   { loc:-1, mod:m1, var:mint0, type:set, val:55 },
30
+   { loc:-1, mod:m1, var:maxt0, type:set, val:85 },
31
+   { loc:-1, mod:m1, var:minu0, type:set, val:0.0 },
32
+   { loc:-1, mod:m1, var:maxu0, type:set, val:0.5 },
33
+   { loc:-1, mod:m1, var:minl0, type:set, val:0 },
34
+   { loc:-1, mod:m1, var:maxl0, type:set, val:3 },
35
+   { loc:-1, mod:m1, var:mino0, type:set, val:-100.0 },
36
+   { loc:-1, mod:m1, var:maxo0, type:set, val:100.0 },
37
+
38
+
39
+   { loc:-1, mod:m1, var:mint1, type:set, val:55 },
40
+   { loc:-1, mod:m1, var:maxt1, type:set, val:85 },
41
+   { loc:-1, mod:m1, var:minu1, type:set, val:0.0 },
42
+   { loc:-1, mod:m1, var:maxu1, type:set, val:0.5 },
43
+   { loc:-1, mod:m1, var:minl1, type:set, val:0 },
44
+   { loc:-1, mod:m1, var:maxl1, type:set, val:3 },
45
+   { loc:-1, mod:m1, var:mino1, type:set, val:-100.0 },
46
+   { loc:-1, mod:m1, var:maxo1, type:set, val:100.0 },
47
+   
48
+   { loc:-1, mod:m1, var:xfad0, type:set, val:100.0 },
49
+   { loc:-1  mod:m1, var:sw0,   type:decl, val:1 },	
50
+   { loc:-1, mod:m1, var:xfad1, type:set, val:100.0 },
51
+   { loc:-1  mod:m1, var:sw1,   type:decl, val:1 },	
52
+
53
+   // compressor
54
+   { loc:-1, mod:m1, var:cbyp0,    type:set, val:0.0 },
55
+   { loc:-1, mod:m1, var:cigain0,  type:set, val:3.0 },
56
+   { loc:-1, mod:m1, var:cthrsh0,  type:set, val:-20.0 },
57
+   { loc:-1, mod:m1, var:cratio0,  type:set, val:2.0 },
58
+   { loc:-1, mod:m1, var:catkms0,  type:set, val:20.0 },
59
+   { loc:-1, mod:m1, var:crlsms0,  type:set, val:1000.0 },
60
+   { loc:-1, mod:m1, var:cmakeup0, type:set, val:1.0 },
61
+   { loc:-1, mod:m1, var:cwndms0,  type:set, val:200 },
62
+
63
+   { loc:-1, mod:m1, var:cbyp1,    type:set, val:0.0 },
64
+   { loc:-1, mod:m1, var:cigain1,  type:set, val:3.0 },
65
+   { loc:-1, mod:m1, var:cthrsh1,  type:set, val:-20.0 },
66
+   { loc:-1, mod:m1, var:cratio1,  type:set, val:2.0 },
67
+   { loc:-1, mod:m1, var:catkms1,  type:set, val:20.0 },
68
+   { loc:-1, mod:m1, var:crlsms1,  type:set, val:1000.0 },
69
+   { loc:-1, mod:m1, var:cmakeup1, type:set, val:1.0 },
70
+   { loc:-1, mod:m1, var:cwndms1,  type:set, val:200 },
71
+   
72
+   { loc:-1, mod:m1, var:dgain0,   type:set, val:1.0 },
73
+   { loc:-1, mod:m1, var:dgain1,   type:set, val:1.0 },
74
+   { loc:-1, mod:m1, var:wgain0,   type:set, val:1.0 },
75
+   { loc:-1, mod:m1, var:wgain1,   type:set, val:1.0 },
76
+   
77
+// Default
78
+
79
+   { loc:2 mod:m1       var:mod0,	type:set, val:1    },
80
+   {                    var:cigain0,    type:set, val: 5.0  },
81
+   {                    var:wet0        type:set, val: 0.0}
82
+   {                    var:sw0,        type:set, val:0 },	
83
+
84
+   {                    var:mod1        type:set, val:1    },
85
+   {                    var:cigain1,    type:set, val: 5.0  },
86
+   {                    var:wet1        type:set, val: 0.0}
87
+   {                    var:sw1,        type:set, val:0 },	
88
+
89
+   { loc:19  type:exec val:preset_a }
90
+   { loc:38  type:exec val:preset_g }
91
+
92
+// Preset A
93
+
94
+   { loc:preset_a mod:m1, var:mod0,    type:set, val: 1   },
95
+   {                var:thr0,    type:set, val: 60.0 },
96
+   {                var:upr0,    type:set, val: -1.1 },
97
+   {                var:lwr0,    type:set, val: 2.0  },
98
+   {                var:cbyp0,   type:set, val: 0.0 },
99
+   {                var:cigain0, type:set, val: 6.0  },
100
+   {                var:wet0     type:set, val: 1.0}
101
+   {                var:wgain0,  type:set, val: 1.75 }
102
+   {                var:sw0,     type:set, val:0 },	
103
+
104
+   {                var:mod1,    type:set, val: 1   },		 
105
+   {                var:thr1,    type:set, val: 60.0 },
106
+   {                var:upr1,    type:set, val: -0.99 },
107
+   {                var:lwr1,    type:set, val: 2.0  },
108
+   {                var:cbyp1,   type:set, val: 0.0 },
109
+   {                var:cigain1, type:set, val: 6.0  },
110
+   {                var:wet1     type:set, val: 1.0}
111
+   {                var:wgain1,  type:set, val: 1.75  }
112
+   {                var:sw1,     type:set, val:0 },	
113
+
114
+   { loc:preset_g mod:m1    var:mod0,    type:set, val: 4 },
115
+   {                  var:thr0,    type:set, val: 60.0 },
116
+   {                  var:upr0,    type:set, val: -0.7 },
117
+   {                  var:lwr0,    type:set, val: 8.0  },
118
+   {                  var:off0,    type:set, val: 20.0 }
119
+   {                  var:cigain0, type:set, val: 10.0  },
120
+   {                  var:wet0     type:set, val: 1.0 }
121
+   {                  var:sw0,     type:set, val:0 },	
122
+
123
+   {                  var:mod1,    type:set, val: 4 },
124
+   {                  var:thr1,    type:set, val: 64.0 },
125
+   {                  var:upr1,    type:set, val: -0.7 },
126
+   {                  var:lwr1,    type:set, val: 8.0  },
127
+   {                  var:off1,    type:set, val: 20.0 }
128
+   {                  var:cigain1, type:set, val: 10.0  },
129
+   {                  var:wet1     type:set, val: 1.0 }
130
+   {                  var:sw1,     type:set, val:0 },	
131
+  ]
132
+}

Loading…
Cancel
Save