Programmable real-time audio signal processing application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mod0.js 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. {
  2. array:
  3. [
  4. /*
  5. { loc:-1, mod:m1, var:mod0, type:set, rate:100,val:1 },
  6. { loc:-1, mod:m1, var:win0, type:set, rate:100,val:2048 },
  7. { loc:-1, mod:m1, var:thr0, type:set, rate:100,val:60 },
  8. { loc:-1, mod:m1, var:upr0, type:set, rate:100,val:0 },
  9. { loc:-1, mod:m1, var:lwr0, type:set, rate:100,val:2.0 },
  10. { loc:-1, mod:m1, var:off0, type:set, rate:100,val:30 },
  11. { loc:-1, mod:m1, var:inv0, type:set, rate:100,val:0 },
  12. { loc:-1, mod:m1, var:wet0, type:set, rate:100,val:1.0 },
  13. { loc:-1, mod:m1, var:xf0, type:set, rate:100,val:1 },
  14. { loc:-1, mod:m1, var:mod1, type:set, rate:100,val:1 },
  15. { loc:-1, mod:m1, var:win1, type:set, rate:100,val:4096 },
  16. { loc:-1, mod:m1, var:thr1, type:set, rate:100,val:60 },
  17. { loc:-1, mod:m1, var:upr1, type:set, rate:100,val:0 },
  18. { loc:-1, mod:m1, var:lwr1, type:set, rate:100,val:2.0 },
  19. { loc:-1, mod:m1, var:off1, type:set, rate:100,val:30 },
  20. { loc:-1, mod:m1, var:inv1, type:set, rate:100,val:0 },
  21. { loc:-1, mod:m1, var:wet1, type:set, rate:100,val:1.0 },
  22. { loc:-1, mod:m1, var:xf1, type:set, rate:100,val:1 },
  23. */
  24. //{ loc:7, mod:m1, var:thr0, type:sline, rate:100, val:50 end:70 dur:30 },
  25. //{ loc:7, mod:m1, var:thr1, type:sline, rate:100, val:50 end:70 dur:30 },
  26. // 1
  27. { loc:-1, mod:m1, var:mod0, type:set, val:1 },
  28. { loc:-1, mod:m1, var:mod1, type:set, val:1 },
  29. { loc:-1, mod:m1, var:thr0, type:set, val:65 },
  30. { loc:-1, mod:m1, var:thr1, type:set, val:65 },
  31. { loc:-1, mod:m1, var:upr0, type:set, val:0 },
  32. { loc:-1, mod:m1, var:upr1, type:set, val:0 },
  33. { loc:-1, mod:m1, var:lwr0, type:set, val:2.0 },
  34. { loc:-1, mod:m1, var:lwr1, type:set, val:2.0 },
  35. { loc:-1, mod:m1, var:mint0, type:set, val:55 },
  36. { loc:-1, mod:m1, var:maxt0, type:set, val:75 },
  37. { loc:-1, mod:m1, var:minu0, type:set, val:0.0 },
  38. { loc:-1, mod:m1, var:maxu0, type:set, val:0.5 },
  39. { loc:-1, mod:m1, var:minl0, type:set, val:0 },
  40. { loc:-1, mod:m1, var:maxl0, type:set, val:3 },
  41. { loc:-1, mod:m1, var:mint1, type:set, val:55 },
  42. { loc:-1, mod:m1, var:maxt1, type:set, val:75 },
  43. { loc:-1, mod:m1, var:minu1, type:set, val:0.0 },
  44. { loc:-1, mod:m1, var:maxu1, type:set, val:0.5 },
  45. { loc:-1, mod:m1, var:minl1, type:set, val:0 },
  46. { loc:-1, mod:m1, var:maxl1, type:set, val:3 },
  47. { loc:-1, mod:m1, var:xfad, type:set, val:100.0 },
  48. { loc:8, mod:m1, var:mint0, type:set, val:50 },
  49. { loc:8, mod:m1, var:maxt0, type:set, val:60 },
  50. { loc:8, mod:m1, var:mint1, type:set, val:75 },
  51. { loc:8, mod:m1, var:maxt1, type:set, val:85 },
  52. { loc:9 mod:m1, var:mod0, type:set, val:4 },
  53. { loc:9 mod:m1, var:mod1, type:set, val:4 },
  54. // NOTE: Use sw0/1 to switch the xfade channels just before sending new parameters.
  55. { loc:14 mod:m1, var:sw0, type:set, val:1 },
  56. { loc:14 mod:m1, var:sw1, type:set, val:1 },
  57. { loc:14 mod:m1, var:mod0, type:set, val:1 },
  58. { loc:14 mod:m1, var:mod1, type:set, val:1 },
  59. { loc:17 mod:m1, var:sw0, type:set, val:4 },
  60. { loc:17 mod:m1, var:sw1, type:set, val:4 },
  61. { loc:17 mod:m1, var:mod0, type:set, val:4 },
  62. { loc:17 mod:m1, var:mod1, type:set, val:4 },
  63. { loc:24, mod:m1, var:mint0, type:set, val:75 },
  64. { loc:24, mod:m1, var:maxt0, type:set, val:85 },
  65. { loc:24, mod:m1, var:mint1, type:set, val:50 },
  66. { loc:24, mod:m1, var:maxt1, type:set, val:60 },
  67. { loc:25 mod:m1, var:mod0, type:set, val:2 },
  68. { loc:25 mod:m1, var:mod1, type:set, val:2 },
  69. { loc:35, mod:m1, var:mint0, type:set, val:50 },
  70. { loc:35, mod:m1, var:maxt0, type:set, val:60 },
  71. { loc:35, mod:m1, var:mint1, type:set, val:75 },
  72. { loc:35, mod:m1, var:maxt1, type:set, val:85 },
  73. { loc:36 mod:m1, var:mod0, type:set, val:1},
  74. { loc:36 mod:m1, var:mod1, type:set, val:1 },
  75. //{ loc:9 mod:m1, var:thr1, type:line, dur:3 rate:50 end:75},
  76. // { loc:347, mod:m1, var:xf0, type:set, val:1000.0 },
  77. // { loc:347, mod:m1, var:xf1, type:set, val:1000.0 },
  78. { loc:348 mod:m1, var:mod0, type:set, val:4 },
  79. { loc:348 mod:m1, var:mod1, type:set, val:4 },
  80. { loc:348 mod:m1, var:thr0, type:set, val:55 },
  81. { loc:348 mod:m1, var:thr1, type:set, val:55 },
  82. // { loc:348, mod:m1, var:lwr0, type:sline, val:1.0 rate:100, end:3 dur:30 },
  83. // { loc:348, mod:m1, var:lwr1, type:sline, val:1.0 rate:100, end:3 dur:30 },
  84. { loc:348, mod:m1, var:mod0, type:set, val:1 },
  85. { loc:348, mod:m1, var:mod1, type:set, val:1 },
  86. { loc:348, mod:m1, var:upr0, type:set, val:-0.1 },
  87. { loc:348, mod:m1, var:upr1, type:set, val:-0.15 },
  88. { loc:348, mod:m1, var:lwr0, type:set, val:1.5 },
  89. { loc:348, mod:m1, var:lwr1, type:set, val:1.5 },
  90. { loc:348, mod:m1, var:thr0, type:set, val:70 },
  91. { loc:348, mod:m1, var:thr1, type:set, val:70 },
  92. //{ loc:372, mod:m1, var:thr0, type:line, rate:100, val:50 end:85 dur:60 },
  93. //{ loc:372, mod:m1, var:thr0, type:line, rate:100, val:50 end:75 dur:15 },
  94. { loc:449, mod:m1, var:upr0, type:set, val:.2 },
  95. { loc:449, mod:m1, var:upr1, type:set, val:0 },
  96. { loc:449, mod:m1, var:lwr0, type:set, val:1.5 },
  97. { loc:449, mod:m1, var:lwr1, type:set, val:2.5 },
  98. { loc:449 mod:m1, var:mod0, type:set, val:2 },
  99. { loc:449 mod:m1, var:mod1, type:set, val:1 },
  100. { loc:445, mod:m1, var:mint0, type:set, val:50 },
  101. { loc:445, mod:m1, var:maxt0, type:set, val:85 },
  102. { loc:445, mod:m1, var:mint0, type:set, val:50 },
  103. { loc:445, mod:m1, var:maxt0, type:set, val:85 },
  104. { loc:379, mod:m1, var:mint0, type:set, val:50 },
  105. { loc:379, mod:m1, var:maxt0, type:set, val:60 },
  106. { loc:379, mod:m1, var:mint0, type:set, val:75 },
  107. { loc:379, mod:m1, var:maxt0, type:set, val:85 },
  108. { loc:396, mod:m1, var:mint0, type:set, val:60 },
  109. { loc:396, mod:m1, var:maxt0, type:set, val:70 },
  110. { loc:396, mod:m1, var:mint1, type:set, val:65 },
  111. { loc:396, mod:m1, var:maxt1, type:set, val:75 },
  112. { loc:408, mod:m1, var:mint0, type:set, val:70 },
  113. { loc:408, mod:m1, var:maxt0, type:set, val:80 },
  114. { loc:408, mod:m1, var:mint1, type:set, val:55 },
  115. { loc:408, mod:m1, var:maxt1, type:set, val:65 },
  116. /*
  117. { loc:678, mod:m1, var:mint0, type:set, val:65 },
  118. { loc:678, mod:m1, var:maxt0, type:set, val:75 },
  119. { loc:678, mod:m1, var:mint1, type:set, val:65 },
  120. { loc:678, mod:m1, var:maxt1, type:set, val:75 },
  121. { loc:682, mod:m1, var:thr0, type:line, rate:100, end:74 dur:15 },
  122. { loc:682, mod:m1, var:thr1, type:line, rate:100, end:80 dur:15 },
  123. { loc:718, mod:m1, var:mint0, type:set, val:70 },
  124. { loc:718, mod:m1, var:maxt0, type:set, val:80 },
  125. { loc:718, mod:m1, var:mint1, type:set, val:70 },
  126. { loc:718, mod:m1, var:maxt1, type:set, val:80 },
  127. */
  128. // Recd 23 Seq 6 Mark 141 - mode:1 Left:2048 Right:4096
  129. /*
  130. { loc:678, mod:m1, var:thr0, type:line, rate:100, end:80 dur:20 },
  131. { loc:678, mod:m1, var:thr1, type:line, rate:100, end:80 dur:20 },
  132. */
  133. //{ loc:678, mod:m1, var:upr0, type:line, rate:100, end:-0.1 dur:25 },
  134. //{ loc:678, mod:m1, var:upr1, type:line, rate:100, end:-0.15 dur:25 },
  135. //{ loc:678, mod:m1, var:lwr0, type:line, rate:100, end:1.5 dur:25 },
  136. //{ loc:678, mod:m1, var:lwr1, type:line, rate:100, end:1.5 dur:25 },
  137. ////{ loc:678, mod:m1, var:thr0, type:line, rate:100, end:70 dur:25 },
  138. ////{ loc:678, mod:m1, var:thr1, type:line, rate:100, end:70 dur:25 },
  139. // 755: 4 2048 4 60 0 2
  140. // 1 1024 4 65 0 2
  141. //{ loc:754, mod:m1, var:mint0, type:set, val:65 },
  142. //{ loc:754, mod:m1, var:maxt0, type:set, val:85 },
  143. //{ loc:754, mod:m1, var:mint1, type:set, val:70 },
  144. //{ loc:754, mod:m1, var:maxt1, type:set, val:80 },
  145. //{ loc:754, mod:m1, var:mod0, type:set, rate:100 val:4 },
  146. // 741: 4 1024 4 60 0 2
  147. // 1 1024 4 65 0 2
  148. /*
  149. { loc:741, mod:m1, var:mint0, type:set, val:55 },
  150. { loc:741, mod:m1, var:maxt0, type:set, val:80 },
  151. { loc:741, mod:m1, var:mint1, type:set, val:70 },
  152. { loc:741, mod:m1, var:maxt1, type:set, val:80 },
  153. { loc:741, mod:m1, var:thr0, type:set, val:70 },
  154. { loc:741, mod:m1, var:thr1, type:set, val:75 },
  155. */
  156. { loc:741, mod:m1, var:xfad, type:set, val:100.0 },
  157. { loc:741 mod:m1, var:mod0, type:set, val:1 },
  158. { loc:741 mod:m1, var:mod1, type:set, val:1 },
  159. { loc:741, mod:m1, var:mint0, type:set, val:50 },
  160. { loc:741, mod:m1, var:maxt0, type:set, val:65 },
  161. { loc:741, mod:m1, var:mint1, type:set, val:70 },
  162. { loc:741, mod:m1, var:maxt1, type:set, val:85 },
  163. { loc:754, mod:m1, var:mint0, type:set, val:50 },
  164. { loc:754, mod:m1, var:maxt0, type:set, val:85 },
  165. { loc:754, mod:m1, var:mint1, type:set, val:50 },
  166. { loc:754, mod:m1, var:maxt1, type:set, val:85 },
  167. { loc:757 mod:m1, var:thr0, type:set, val:85 },
  168. { loc:757 mod:m1, var:thr1, type:set, val:85 },
  169. { loc:770, mod:m1, var:mint0, type:set, val:50 },
  170. { loc:770, mod:m1, var:maxt0, type:set, val:85 },
  171. { loc:770, mod:m1, var:mint1, type:set, val:50 },
  172. { loc:770, mod:m1, var:maxt1, type:set, val:85 },
  173. { loc:773 mod:m1, var:thr0, type:set, val:65 },
  174. { loc:773 mod:m1, var:thr1, type:set, val:65 },
  175. { loc:778, mod:m1, var:mint0, type:set, val:50 },
  176. { loc:778, mod:m1, var:maxt0, type:set, val:85 },
  177. { loc:778, mod:m1, var:mint1, type:set, val:50 },
  178. { loc:778, mod:m1, var:maxt1, type:set, val:85 },
  179. { loc:780 mod:m1, var:thr0, type:set, val:85 },
  180. { loc:780 mod:m1, var:thr1, type:set, val:85 },
  181. /*
  182. // 14 15 16 17 18 19 20
  183. { loc:780, mod:m1, var:mod0, type:set, val:4 }, // 1 - 2 3 3 4 -
  184. { loc:780, mod:m1, var:mod1, type:set, val:4 }, // 1 - 2 3 3 4 -
  185. { loc:780, mod:m1, var:thr0, type:set, val:70 }, // 80 - - - - 70 -
  186. { loc:780, mod:m1, var:thr1, type:set, val:65 }, // 75 - - - 85 65 -
  187. { loc:780, mod:m1, var:upr0, type:set, val:0 }, // 0 -1 -.5 0 - - -
  188. { loc:780, mod:m1, var:upr1, type:set, val:0 }, // 0 -1 -.5 0 - - -
  189. { loc:780, mod:m1, var:lwr0, type:set, val:3 }, // 3 - - - - - -
  190. { loc:780, mod:m1, var:lwr1, type:set, val:3 }, // 3 - - - - - -
  191. */
  192. // recd14 and 15 - no compressor
  193. // recd16 - offs0=10 offs1=5
  194. // recd18 - offs0=30 offs1=25
  195. // recd20 - 2048/4 4096/8 makeup gain=2.0
  196. //
  197. /*
  198. { loc:790, mod:m1, var:mod0, type:set, val:4 },
  199. { loc:790, mod:m1, var:mod1, type:set, val:4 },
  200. { loc:790, mod:m1, var:upr0, type:set, val:0.0 },
  201. { loc:790, mod:m1, var:upr1, type:set, val:0.0 },
  202. { loc:790, mod:m1, var:lwr0, type:set, val:2 },
  203. { loc:790, mod:m1, var:lwr1, type:set, val:2 },
  204. */
  205. { loc:794 mod:m1, var:thr0, type:set, val:65 },
  206. { loc:794 mod:m1, var:thr1, type:set, val:65 },
  207. //{ loc:790, mod:m1, var:minu0, type:set, val:-.5 },
  208. //{ loc:790, mod:m1, var:maxu0, type:set, val:0.5 },
  209. //{ loc:790, mod:m1, var:minu1, type:set, val:-.5 },
  210. //{ loc:790, mod:m1, var:maxu1, type:set, val:0.5 },
  211. // before 42
  212. { loc:800, mod:m1, var:mint0, type:set, val:60 },
  213. { loc:800, mod:m1, var:maxt0, type:set, val:68 },
  214. { loc:800, mod:m1, var:mint1, type:set, val:60 },
  215. { loc:800, mod:m1, var:maxt1, type:set, val:68 },
  216. // 43
  217. { loc:813, mod:m1, var:mint0, type:set, val:60 },
  218. { loc:813, mod:m1, var:maxt0, type:set, val:68 },
  219. { loc:813, mod:m1, var:mint1, type:set, val:60 },
  220. { loc:813, mod:m1, var:maxt1, type:set, val:68 },
  221. // 43a
  222. { loc:822, mod:m1, var:xfad, type:set, val:1000 },
  223. { loc:822, mod:m1, var:mint0, type:set, val:60 },
  224. { loc:822, mod:m1, var:maxt0, type:set, val:68 },
  225. { loc:822, mod:m1, var:mint1, type:set, val:60 },
  226. { loc:822, mod:m1, var:maxt1, type:set, val:68 },
  227. // 44
  228. { loc:838, mod:m1, var:mint0, type:set, val:70 },
  229. { loc:838, mod:m1, var:maxt0, type:set, val:80 },
  230. { loc:838, mod:m1, var:mint1, type:set, val:70 },
  231. { loc:838, mod:m1, var:maxt1, type:set, val:85 },
  232. { loc:838, mod:m1, var:xfad, type:set, val:2000 },
  233. { loc:839, mod:m1, var:mod0, type:set, val:1 },
  234. { loc:839, mod:m1, var:mod1, type:set, val:1 },
  235. { loc:839, mod:m1, var:upr0, type:set, val:-.2 },
  236. { loc:839, mod:m1, var:upr1, type:set, val:-.1 },
  237. { loc:839, mod:m1, var:lwr0, type:set, val:3 },
  238. { loc:839, mod:m1, var:lwr1, type:set, val:2.7 },
  239. /*
  240. //*****
  241. { loc:840, mod:m1, var:xfad, type:set, val:10 },
  242. { loc:840, mod:m1, type:post, val:1 },
  243. { loc:841, mod:m1, var:thr0, type:set, val:60 },
  244. { loc:842, mod:m1, var:thr0, type:set, val:80 },
  245. { loc:843, mod:m1, var:thr0, type:set, val:60 },
  246. { loc:844, mod:m1, var:thr0, type:set, val:80 },
  247. { loc:845, mod:m1, var:thr0, type:set, val:60 },
  248. { loc:846, mod:m1, var:thr0, type:set, val:80 },
  249. { loc:847, mod:m1, var:thr0, type:set, val:60 },
  250. { loc:848, mod:m1, var:thr0, type:set, val:80 },
  251. { loc:849, mod:m1, var:thr0, type:set, val:60 },
  252. { loc:850, mod:m1, var:thr0, type:set, val:80 },
  253. { loc:851, mod:m1, var:thr0, type:set, val:60 },
  254. { loc:840, mod:m1, var:thr1, type:set, val:80 },
  255. { loc:841, mod:m1, var:thr1, type:set, val:60 },
  256. { loc:842, mod:m1, var:thr1, type:set, val:80 },
  257. { loc:843, mod:m1, var:thr1, type:set, val:60 },
  258. { loc:844, mod:m1, var:thr1, type:set, val:80 },
  259. { loc:845, mod:m1, var:thr1, type:set, val:60 },
  260. { loc:845, mod:m1, var:thr1, type:set, val:80 },
  261. { loc:847, mod:m1, var:thr1, type:set, val:60 },
  262. { loc:848, mod:m1, var:thr1, type:set, val:80 },
  263. { loc:849, mod:m1, var:thr1, type:set, val:60 },
  264. { loc:850, mod:m1, var:thr1, type:set, val:80 },
  265. { loc:851, mod:m1, var:thr1, type:set, val:60 },
  266. { loc:840, mod:m1, type:post, val:0 },
  267. //*****
  268. */
  269. //{ loc:136, mod:m1, var:thr0, type:set, val:65 },
  270. //{ loc:136, mod:m1, var:thr1, type:set, val:65 },
  271. //{ loc:149, mod:m1, var:thr0, type:set, val:60 },
  272. //{ loc:149, mod:m1, var:thr1, type:set, val:60 },
  273. { loc:989, mod:m1, var:mint0, type:set, val:50 },
  274. { loc:989, mod:m1, var:maxt0, type:set, val:65 },
  275. { loc:989, mod:m1, var:mint1, type:set, val:70 },
  276. { loc:989, mod:m1, var:maxt1, type:set, val:85 },
  277. { loc:1010, mod:m1, var:mint0, type:set, val:55 },
  278. { loc:1010, mod:m1, var:maxt0, type:set, val:70 },
  279. { loc:1010, mod:m1, var:mint1, type:set, val:65 },
  280. { loc:1010, mod:m1, var:maxt1, type:set, val:70 },
  281. { loc:1017, mod:m1, var:mint0, type:set, val:60 },
  282. { loc:1017, mod:m1, var:maxt0, type:set, val:75 },
  283. { loc:1017, mod:m1, var:mint1, type:set, val:60 },
  284. { loc:1017, mod:m1, var:maxt1, type:set, val:75 },
  285. { loc:1036, mod:m1, var:mint0, type:set, val:65 },
  286. { loc:1036, mod:m1, var:maxt0, type:set, val:80 },
  287. { loc:1036, mod:m1, var:mint1, type:set, val:55 },
  288. { loc:1036, mod:m1, var:maxt1, type:set, val:70 },
  289. { loc:1049, mod:m1, var:mint0, type:set, val:70 },
  290. { loc:1049, mod:m1, var:maxt0, type:set, val:75 },
  291. { loc:1049, mod:m1, var:mint1, type:set, val:50 },
  292. { loc:1049, mod:m1, var:maxt1, type:set, val:65 },
  293. //{ loc:1240, mod:m1, var:mint0, type:set, val:50 },
  294. //{ loc:1240, mod:m1, var:maxt0, type:set, val:65 },
  295. //{ loc:1240, mod:m1, var:mint1, type:set, val:70 },
  296. //{ loc:1240, mod:m1, var:maxt1, type:set, val:85 },
  297. ]
  298. }