-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuild0429.panel
3424 lines (3423 loc) · 567 KB
/
Build0429.panel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<panel name="Ctrlr Panel" panelShowDialogs="1" panelMessageTime="10000"
panelAuthorName="" panelAuthorEmail="" panelAuthorUrl="" panelAuthorDesc=""
panelVersionMajor="1" panelVersionMinor="12" panelVersionName="Buttcheek"
panelVendor="" panelDevice="" panelMidiSnapshotAfterLoad="0"
panelMidiSnapshotAfterProgramChange="0" panelMidiSnapshotDelay="10"
panelMidiInputChannelDevice="1" panelMidiInputDevice="AMT IN 3"
panelMidiControllerChannelDevice="1" panelMidiControllerDevice="-- None"
panelMidiOutputChannelDevice="1" panelMidiOutputDevice="AMT OUT 3"
panelMidiInputFromHost="0" panelMidiInputChannelHost="1" panelMidiOutputToHost="0"
panelMidiOutputChannelHost="1" panelMidiThruH2H="0" panelMidiThruH2HChannelize="0"
panelMidiThruH2D="0" panelMidiThruH2DChannelize="0" panelMidiThruD2D="0"
panelMidiThruD2DChannelize="0" panelMidiThruD2H="0" panelMidiThruD2HChannelize="0"
panelMidiRealtimeIgnore="1" panelMidiInputThreadPriority="7"
panelMidiProgram="0" panelMidiBankLsb="0" panelMidiBankMsb="0"
panelMidiSendProgramChangeOnLoad="0" panelMidiProgramCalloutOnprogramChange="0"
panelMidiMatchCacheSize="32" panelMidiGlobalDelay="0" luaPanelMidiReceived="midiReceived"
luaPanelLoaded="panelLoaded" luaPanelBeforeLoad="" luaPanelSaved=""
luaPanelProgramChanged="" luaPanelGlobalChanged="-- None" luaPanelMessageHandler="-- None"
panelFilePath="C:\Users\Jake\Google Drive\Emu ctrlr\Build0429.panel"
panelUID="8.H1p5YVWImwA" panelModulatorListColumns="<TABLELAYOUT sortedCol="547" sortForwards="1"><COLUMN id="547" visible="1" width="178"/><COLUMN id="1" visible="1" width="72"/><COLUMN id="546" visible="1" width="72"/><COLUMN id="548" visible="1" width="78"/><COLUMN id="98" visible="1" width="74"/><COLUMN id="102" visible="1" width="72"/><COLUMN id="103" visible="1" width="72"/><COLUMN id="109" visible="1" width="72"/><COLUMN id="493" visible="1" width="72"/><COLUMN id="490" visible="1" width="72"/><COLUMN id="494" visible="1" width="78"/><COLUMN id="16" visible="1" width="72"/><COLUMN id="17" visible="1" width="72"/><COLUMN id="18" visible="1" width="69"/></TABLELAYOUT>"
panelModulatorListCsvDelimiter="," panelModulatorListXmlRoot="ctrlrModulatorList"
panelModulatorListXmlModulator="ctrlrModulator" panelModulatorListSortOption="0"
panelGlobalVariables="0:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:-1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0"
panelResources="" panelPropertyDisplayIDs="1" ctrlrMenuItemBackgroundColour="ffffffff"
ctrlrMenuItemTextColour="ff000000" ctrlrMenuItemHighlightedTextColour="ffffffff"
ctrlrMenuItemHighlightColour="ff4364ff" ctrlrMenuItemFont="<Sans-Serif>;13;0;0;0;0;1"
ctrlrMenuItemSeparatorColour="33000000" ctrlrMenuItemHeaderColour="ff000000"
ctrlrMenuBarBackgroundColour1="fff7f7f7" ctrlrMenuBarBackgroundColour2="ffcccccc"
ctrlrMenuBarTextColour="ff000000" ctrlrMenuBarHighlightedTextColour="ffffffff"
ctrlrMenuBarHighlightColour="ff4364ff" ctrlrMenuBarFont="<Sans-Serif>;13;0;0;0;0;1"
deviceCapIdentity="0" deviceCapFirmware="0" deviceCapEditBuffer="0"
deviceCapBank="0" deviceCapProgram="0" deviceCapAbout="0" panelMidiControllerChannel="1"
panelIndex="0" uiPanelModulatorListViewTree="0" uiLuaConsoleSnips="SetChorusWidth(10,127)$paramReqMsg(43,00)$panel:sendMidiMessageNow(CtrlrMidiMessage(string.format("f0 18 21 01 55 01 02 2c 00 7f f7")))$panel:sendMidiMessageNow(CtrlrMidiMessage(string.format("f0 18 21 01 55 03 2b 00 f7")))$panel:sendMidiMessageNow(CtrlrMidiMessage(string.format("f0 18 21 01 55 02 01 2b 00 00 f7")))$paramChangeMsg(43,0,10)$paramReqMsg(83,00)$console(string.format(panel:getModulatorByName("keyTranspose"):getValueMapped()))$what(panel:getModulatorByName("keyTranspose"))"
panelCtrlrRevision="1300">
<uiWindowManager>
<uiChildWindow uiChildWindowName="LayerEditor" uiChildWindowState="1310 284 476 466">
<uiChildWindowContentState/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="LuaMethodEditor" uiChildWindowState="679 228 1763 728">
<uiChildWindowContentState luaMethodEditor="<?xml version="1.0" encoding="UTF-8"?> <OPEN id="LUA Method" scrollPos="104"> <OPEN id="Midi Received"> <OPEN id="single parameter responses parsing"> <OPEN id="tuning"/> <OPEN id="filter"/> </OPEN> </OPEN> <OPEN id="Midi to send"/> <OPEN id="GUI"> <OPEN id="Layers"/> </OPEN> <OPEN id="modulatorsChangedActions"> <OPEN id="Tuning"/> </OPEN> <OPEN id="panel loading"/> <SELECTED id="/LUA Method/Midi Received/single parameter responses parsing/tuning/voiceTranspose"/> </OPEN> ;1434f89795e8637a0eed62f0a68f8086:ba7a891f708b23628f21d899243ced95:504ace49b8c179ca093137ecdf4de86f:9abd5f1d4672a1515f2ca7aafa0a8ff8:9deff3b51b82805f4afeb90ac40ae254"/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="ModulatorList" uiChildWindowState="540 210 1145 500">
<uiChildWindowContentState/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="LuaConsole" uiChildWindowState="775 146 1120 788">
<uiChildWindowContentState/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="CapabilitiesEditor" uiChildWindowState="560 270 800 500">
<uiChildWindowContentState/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="MIDILibrary" uiChildWindowState="531 350 800 500">
<uiChildWindowContentState/>
</uiChildWindow>
<uiChildWindow uiChildWindowName="Mutator" uiChildWindowState="560 270 800 500">
<uiChildWindowContentState/>
</uiChildWindow>
</uiWindowManager>
<midiLibrary luaMidiLibrarySend="-- None" luaMidiLibraryRequest="-- None"
luaMidiLibraryProcess="-- None" luaMidiLibraryConfirm="-- None"
luaMidiLibraryUndefined="-- None" midiLibraryCustomRequests=""
luaDevUnitReq="-- None" luaDevUnitHandler="-- None" luaMidiLibraryGet="-- None"
luaMidiLibraryGetProc="-- None" luaMidiLibrarySendProc="-- None"
luaMidiLibraryIdentitySend="-- None" luaMidiLibraryIdentityProc="-- None"
midiLibraryTreeState="<?xml version="1.0" encoding="UTF-8"?> <OPEN id="midiLibrary" scrollPos="0"> <OPEN id="Emu 6400 classic test"/> </OPEN> ">
<midiLibraryBank name="Emu 6400 classic test" description="Hecticcc settings"
lsb="0" msb="0" number="0" midiLibraryCanGetItem="1" midiLibraryCanSendItem="1">
<midiLibraryProgram name="New program" description="" number="0" midiLibraryCanGetItem="1"
midiLibraryCanSendItem="1">
<panelState panelVersionMajor="1" panelVersionMinor="6" time="1371407232236">
<value name="cutoff" value="2"/>
<value name="filterType" value="10"/>
<value name="resAndGain" value="0"/>
<value name="coarseTune" value="72"/>
<value name="cord00source" value="5"/>
<value name="cord00dest" value="2"/>
<value name="cord00amt" value="-50"/>
<value name="voiceFineTune" value="64"/>
<value name="keyTranspose" value="24"/>
<value name="cord01source" value="39"/>
<value name="cord01dest" value="3"/>
<value name="cord01amt" value="6"/>
<value name="cord02source" value="4"/>
<value name="cord02dest" value="3"/>
<value name="cord02amt" value="0"/>
<value name="cord03source" value="10"/>
<value name="cord03dest" value="44"/>
<value name="cord03amt" value="13"/>
<value name="lfoRate" value="64"/>
</panelState>
</midiLibraryProgram>
<midiLibraryProgram name="New program" description="" number="0" midiLibraryCanGetItem="1"
midiLibraryCanSendItem="1">
<panelState panelVersionMajor="1" panelVersionMinor="7" time="1373034896740">
<value name="cutoff" value="255"/>
<value name="filterType" value="0"/>
<value name="resAndGain" value="0"/>
<value name="listbox" value="0"/>
<value name="dumpRequest" value="0"/>
<value name="presetNumber" value="3"/>
<value name="filtertype" value="10"/>
<value name="modulator-2" value="5"/>
<value name="coarseTune" value="72"/>
<value name="cord00source" value="0"/>
<value name="cord00dest" value="0"/>
<value name="cord00amt" value="0"/>
<value name="sampleZoneList" value="0"/>
<value name="voiceFineTune" value="64"/>
<value name="keyTranspose" value="24"/>
<value name="cord01source" value="0"/>
<value name="cord01dest" value="0"/>
<value name="cord01amt" value="0"/>
<value name="cord02source" value="0"/>
<value name="cord02dest" value="0"/>
<value name="cord02amt" value="0"/>
<value name="modulator-3" value="1"/>
<value name="cord03source" value="0"/>
<value name="cord03dest" value="0"/>
<value name="cord03amt" value="0"/>
<value name="lfoRate" value="0"/>
<value name="cord04source" value="0"/>
<value name="cord04dest" value="0"/>
<value name="cord04amt" value="0"/>
<value name="voiceNonTranspose" value="0"/>
<value name="sampleZoneRootNote" value="72"/>
<value name="sampleLowKey" value="0"/>
<value name="sampleHighKey" value="127"/>
<value name="sampleZoneKeyWinFade" value="0"/>
<value name="copyVoice" value="1"/>
<value name="ampEnvelopeGraph" value="0"/>
<value name="filterEnvAtk1Rate" value="0"/>
<value name="filterEnvAtk1Level" value="0"/>
<value name="filterEnvAtk2Rate" value="0"/>
<value name="filterEnvAtk2Level" value="0"/>
<value name="filterEnvDcy1Rate" value="0"/>
<value name="filterEnvDcy1Level" value="0"/>
<value name="filterEnvDcy2Rate" value="0"/>
<value name="filterEnvDcy2Level" value="0"/>
<value name="filterEnvRls1Rate" value="0"/>
<value name="filterEnvRls1Level" value="0"/>
<value name="filterEnvRls2Rate" value="0"/>
<value name="filterEnvRls2Level" value="0"/>
</panelState>
</midiLibraryProgram>
</midiLibraryBank>
</midiLibrary>
<luaManager>
<luaManagerMethods>
<luaMethodGroup name="helper methods" uuid="e0235b34ff88b02811b122c9411c4c34">
<luaMethod luaMethodName="lsb" luaMethodCode="function lsb(x) 	if x ~= nil then 	local bi = CtrlrLuaBigInteger(x) 	local lsb = bi:getBitRangeAsInt (0,7) 	return (lsb) 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="97cdb7a1afb01ef85b07c30a70de6799"
luaMethodValid="1"/>
<luaMethod luaMethodName="msb" luaMethodCode="function msb(x) if x ~= nil then local bi = CtrlrLuaBigInteger(x) local msb = bi:getBitRangeAsInt (7,7) return (msb) end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="8ca4e4e8e0abec1af261650f5d85e4fa"
luaMethodValid="1"/>
<luaMethod luaMethodName="dumpInfo" luaMethodCode="function dumpInfo() console(string.format("Dump header received, byte 8 to 11 holds Number of bytes that will follow, LSB first:")) data = msg:getRange(8,4) console(data:toHexString(1)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="9131cb499deb0cc5c1b4d6c700477abe"
luaMethodValid="1"/>
<luaMethod luaMethodName="printk0" luaMethodCode="function printk0() for i = 1,#k1, 1 do console(string.format(k1[i])) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="dd8f8a1919e5fcff47df9c92100b4be3"
luaMethodValid="1"/>
<luaMethod luaMethodName="splitToInt" luaMethodCode="function splitToInt(x,y) -- ls ms to range between 0-255 --console(string.format("splitfunction received ls %.d and ms %.d", x, y)) if y < 1 then result = x elseif y == 1 then result = x+128 end --console(string.format(result)) return (result) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="76b9515898c003e7852fce8adaed8420"
luaMethodValid="1"/>
<luaMethod luaMethodName="intToSplit" luaMethodCode="function intToSplit(val) local input = (128*128)-val local bi = CtrlrLuaBigInteger(input) local ls = bi:getBitRangeAsInt(0,7) local ms = bi:getBitRangeAsInt(7,7) end return (ls),(ms) "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="f165e40e10befbf47c97bcce9a53e44e"
luaMethodValid="1"/>
<luaMethod luaMethodName="raw" luaMethodCode="function raw(x,y) 	if y ~= nil then 	rawval = math.floor(x*y)/127 	elseif y == nil then 	y = 1 	rawval = x*y 	end --console(string.format(rawval)) end return (rawval) "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="255505b927f64184ebb84af1b9451625"
luaMethodValid="1"/>
<luaMethod luaMethodName="ctune" luaMethodCode="function ctune(x,y) if y == 127 then -- its negative value local t = CtrlrLuaBigInteger(16384-x) local coarsetune = t:getBitRangeAsInt(0,7) elseif y ~= 127 then -- positive value coarsetune = x end --console(string.format("coarsetune is "..coarsetune*-1)) end return (coarsetune)"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="4ce22391871c3f0482af3131fc351f38"
luaMethodValid="1"/>
<luaMethod luaMethodName="lfoValues" luaMethodCode="function lfoValues() 	 if loaded == true then panel:getComponent("lfoRate"):setPropertyString("uiFixedSliderContent",""..lfoArray) end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="54036dba84cc0e0e5518b49abdd3d059"
luaMethodValid="1"/>
<luaMethod luaMethodName="FilterGainValues" luaMethodCode="function FilterGainValues() if loaded == true then panel:getComponent("morphParam03"):setPropertyString("uiFixedSliderContent",""..dbArray) panel:getComponent("morphParam06"):setPropertyString("uiFixedSliderContent",""..dbArray) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="c3f4e39c607589f0e6ca02edee59a6b5"
luaMethodValid="1"/>
<luaMethod luaMethodName="MorphFreqArray" luaMethodCode="function MorphFreqArray(x) if loaded == true then if x ~= nil then 	if x == 1 then 	morphFreqArray = "" 	local morphArrayValues = {83,87,91,95,99,103,107,111,116,122,128,134,140,146,152,158,164,170,178,186,194,202,218,218,226,236,246,256,266,276,287,299,311,323,335,349,363,377,391,407,423,439,455,473,491,509,529,549,570,592,614,637,661,686,712,738,766,794,824,855,887,920,954,990,1027,1065,1105,1146,1188,1232,1278,1325,1374,1425,1477,1531,1587,1645,1705,1768,1833,1900,1969,2041,2116,2193,2273,2356,2442,2531,2624,2719,2818,2921,3028,3139,3254,3373,3496,3623,3754,3891,4032,4179,4331,4488,4651,4820,4995,5177,5365,5559,5761,5970,6186,6410,6642,6882,7132,7390,7658,7936,8223,8521,8830,9150,9481,9824} 		for i = 1, 128 do 		local a = string.format("%.d Hz="..(i-1).."\n",morphArrayValues[i]) --make string to populate list 		morphFreqArray = morphFreqArray..a	 		end 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphFreqArray) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphFreqArray) 	morphHiFreqArray = "" 		for i = 1, 128 do 		 		local b = string.format("%.d Hz="..(i-64).."\n",morphArrayValues[i]) --make string to populate list 		morphHiFreqArray = morphHiFreqArray..b	 		end 	 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphHiFreqArray) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","")	 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphHiFreqArray) 	elseif x == 2 then 	morphDbArray = "" 		for i = 1, 128 do 	 		local a = string.format("%.d="..(i-1).."\n",i-65) --make string to populate list 		morphDbArray = morphDbArray..a	 		end 	local morphArrayValues = {83,87,91,95,99,103,107,111,116,122,128,134,140,146,152,158,164,170,178,186,194,202,218,218,226,236,246,256,266,276,287,299,311,323,335,349,363,377,391,407,423,439,455,473,491,509,529,549,570,592,614,637,661,686,712,738,766,794,824,855,887,920,954,990,1027,1065,1105,1146,1188,1232,1278,1325,1374,1425,1477,1531,1587,1645,1705,1768,1833,1900,1969,2041,2116,2193,2273,2356,2442,2531,2624,2719,2818,2921,3028,3139,3254,3373,3496,3623,3754,3891,4032,4179,4331,4488,4651,4820,4995,5177,5365,5559,5761,5970,6186,6410,6642,6882,7132,7390,7658,7936,8223,8521,8830,9150,9481,9824} morphFreqArray = "" 		for i = 1, 128 do 		local a = string.format("%.d Hz="..(i-1).."\n",morphArrayValues[i]) --make string to populate list 		morphFreqArray = morphFreqArray..a	 		end 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphFreqArray) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphFreqArray) --console(string.format(morphFreqArray)) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphDbArray) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent",""..morphDbArray) end end end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="3234bc802d9acb24a09d95e847eec9b7"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="Midi Received" uuid="e0105d10b991b8061fa318c74efe33db">
<luaMethodGroup name="preset dump parsing" uuid="68f84cac613d0a7dd96f9665d9d5f045">
<luaMethod luaMethodName="unlinkedPreset" luaMethodCode="function unlinkedPreset() --inform we're here console(string.format("no links in preset, function unlinkedPreset activated")) -- 65 & 66 number of voices in preset, what follows is info of each voice -- 69 & 70 samplezone markers -- 127 127 means multisample, what follows are sample zone parameters for each samplezone, other values is nymber of sample in memory of sampler -- if its not multisample (eg number is 1) then voice data follows, starting with group number -- first split up the voices in seperate blocks of data -- IF singlesample voice then amount of bytes to grab is 294 (including sample count word) --console(string.format("voicecount of unlinked preset is %.d",splitToInt(k1[65],k1[66]))) sampletype = string.format("%.d %.d", k1[69],k1[70]) --console(string.format(sampletype)) 		if sampletype == "127 127" then 		console(string.format("Multisample voice in unlinked preset")) 		unlinkedMultiSamplePresetParse() --printk0() 		elseif sampletype ~= "127 127" then 		console(string.format("Single sample voice in unlinked preset")) 		console(string.format("Total data bytes in k1 is %.d",#k1)) 		end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="df9862d9552ea4b86b8bcec756156fcd"
luaMethodValid="1"/>
<luaMethod luaMethodName="linkedPreset" luaMethodCode="function linkedPreset() -- 65 & 66 number of voices in preset, what follows is info of each voice -- 69 & 70 single or multisample marker for voice in sequence links = splitToInt(k1[63], k1[64]) console(string.format("number of links %.d",links)) if links ~= "" then stype = links*26 	voicetype = string.format("%.d %.d", k1[69+stype],k1[70+stype]) 		if voicetype == "127 127" then 		console(string.format("Multisample voice in linked preset")) 		elseif voicetype ~= "127 127" then 		console(string.format("Single sample voice in linked preset")) 		end 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="ddf8473ce30825276f7b21727e76e506"
luaMethodValid="1"/>
<luaMethod luaMethodName="populateVoiceList" luaMethodCode="function populateVoiceList() 	if links == 0 then --no links in preset so num of voices is two bytes further 	--console(string.format("populating voicelist of unlinked preset now")) 	amount = ""								 	 --empty string before loop kicks off 		for i = 1,k1[65] do 					 --loop for amount of voices found 		a = string.format("Voice %.d=%.d\n",i,i) --make string to populate list 		amount = amount..a						 --concat results to empty string 		end 	elseif links > 0 then --links in preset so num of voices is in 63 + 13*2 words+1 bytes 	--console(string.format("links in preset, populating voicelist now")) 	voiceindex = (links*26) 				 --shift place to look for amount of voices by num of bytes for links 	voices = k1[65+voiceindex] 	console(string.format("voicecount is %.d ",voices)) 	amount = ""								 	 --empty string before loop kicks off 		for i = 1,voices do 					 --loop for amount of voices found 		a = string.format("Voice %.d=%.d\n",i,i) --make string to populate list 		amount = amount..a						 --concat results to empty string 		end 	end list = panel:getModulatorByName("listbox"):getComponent() list:setProperty("uiListBoxContent", amount, true) --put string in right place - PROFIT! end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="cbdb4e1d15d2037505f6782635132a4e"
luaMethodValid="1"/>
<luaMethod luaMethodName="updateModulatorsFromMidi" luaMethodCode="function updateModulatorsFromMidi() -- triggered by eof message after preset dump -- 63 & 64 number of links if any - if links exist 26 bytes per link follow 	 --console(string.format("updating modulators from received preset dump")) --deconstruct the dump into relevant pieces, ordered by sequence in dump --preset name - 16 bytes of acsii values name = {} for i = 1, 16 do s = k1[2+i] table.insert(name,i,s) end -- make string out of name table nameChars = "" for i = 1, #name do nameChars = nameChars..(string.format("%.c",name[i])) end --show name onscreen if #k1 == 6 then presetLCD:setPropertyString("uiLabelText", "Empty preset") elseif #k1 ~= 6 then presetLCD:setPropertyString("uiLabelText", ""..nameChars) end --global params - 12 bytes (6 parameters ls/ms) global = {} for i = 1, 12 do s = k1[18+i] table.insert(global,i,s) end --console(string.format("Transpose %.d, Volume %.d, ctrl a %.d, ctrl b %.d, ctrl c %.d, ctrl d %.d",splitToInt(global[1], global[2]),splitToInt(global[3], global[4]),splitToInt(global[5], global[6]),splitToInt(global[7], global[8]),splitToInt(global[9], global[10]),splitToInt(global[11], global[12]))) -- 34 bytes of fx parameters - not able to test cuz no fx installed.... 56 total bytes into msg --links? links = splitToInt(k1[63], k1[64]) if links == 0 then unlinkedPreset() elseif links > 0 then linkedPreset() end populateVoiceList() panel:getModulatorByName("listbox"):setModulatorValue(0, false, true, false) -- set to 0 to mimick sampler behaviour (selecting a new preset automatically targets first voice in that preset) panel:getModulatorByName("sampleZoneList"):setModulatorValue(0, false, true, false) -- set to 0 to mimick sampler behaviour (selecting a new voice automatically targets first samplzone in that voice/multisample) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="dc7b5f3cf2b5d04ac7cb2783482ef34f"
luaMethodValid="1"/>
<luaMethod luaMethodName="unlinkedMultiSamplePresetParse" luaMethodCode="function unlinkedMultiSamplePresetParse() --printk0() console(string.format("parsing multisample voice data of unlinked preset")) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="434a7c751225556b62446acda503e6dd"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="single parameter responses parsing" uuid="9f22295ff1ff90e8c62e1d013581cd73">
<luaMethodGroup name="cords" uuid="f4cf2f6b8545de2f23c6d0165cbde3cb">
<luaMethodGroup name="cord value parsing" uuid="343decf00043ed7840bf567ee4c97332">
<luaMethod luaMethodName="cordSourceMsbOne" luaMethodCode="function cordSourceMsbOne(cordmsb) 	if cordmsb == 16 then cordmsb = 51 	elseif cordmsb == 17 then cordmsb = 52 	elseif cordmsb == 18 then cordmsb = 53 	elseif cordmsb == 19 then cordmsb = 54 	elseif cordmsb == 20 then cordmsb = 55 	elseif cordmsb == 21 then cordmsb = 56 	elseif cordmsb == 32 then cordmsb = 57 	elseif cordmsb == 33 then cordmsb = 58 	elseif cordmsb == 34 then cordmsb = 59 	elseif cordmsb == 35 then cordmsb = 60 	elseif cordmsb == 36 then cordmsb = 61 	elseif cordmsb == 37 then cordmsb = 62 	elseif cordmsb == 38 then cordmsb = 63 	elseif cordmsb == 39 then cordmsb = 64 	end return(cordmsb) end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="70643e7b00dd70b79af297736f3cdd88"
luaMethodValid="1"/>
<luaMethod luaMethodName="cordSourceMsbNil" luaMethodCode="function cordSourceMsbNil(cordlsb) if cordlsb == 1 then cordlsb = 1 	elseif cordlsb == 5 then cordlsb = 2 	elseif cordlsb == 9 then cordlsb = 3 	elseif cordlsb == 10 then cordlsb = 4 	elseif cordlsb == 11 then cordlsb = 5 	elseif cordlsb == 12 then cordlsb = 6 	elseif cordlsb == 13 then cordlsb = 7 	elseif cordlsb == 14 then cordlsb = 8 	elseif cordlsb == 15 then cordlsb = 9 	elseif cordlsb == 17 then cordlsb = 10 	elseif cordlsb == 18 then cordlsb = 11 	elseif cordlsb == 19 then cordlsb = 12 	elseif cordlsb == 20 then cordlsb = 13 	elseif cordlsb == 21 then cordlsb = 14 	elseif cordlsb == 22 then cordlsb = 15 	elseif cordlsb == 23 then cordlsb = 16 	elseif cordlsb == 24 then cordlsb = 17 	elseif cordlsb == 25 then cordlsb = 18 	elseif cordlsb == 26 then cordlsb = 19 	elseif cordlsb == 28 then cordlsb = 21 	elseif cordlsb == 33 then cordlsb = 22 	elseif cordlsb == 34 then cordlsb = 23 	elseif cordlsb == 35 then cordlsb = 24 	elseif cordlsb == 36 then cordlsb = 25 	elseif cordlsb == 37 then cordlsb = 26 	elseif cordlsb == 38 then cordlsb = 27 	elseif cordlsb == 39 then cordlsb = 28 --ok 	elseif cordlsb == 40 then cordlsb = 29 	elseif cordlsb == 60 then cordlsb = 30 	elseif cordlsb == 73 then cordlsb = 31 	elseif cordlsb == 74 then cordlsb = 32 	elseif cordlsb == 80 then cordlsb = 33 	elseif cordlsb == 81 then cordlsb = 34 	elseif cordlsb == 82 then cordlsb = 35 	elseif cordlsb == 88 then cordlsb = 36 	elseif cordlsb == 89 then cordlsb = 37 	elseif cordlsb == 90 then cordlsb = 38 	elseif cordlsb == 91 then cordlsb = 39 	elseif cordlsb == 96 then cordlsb = 39 -- silly but needed because sometimes lfo~ sends 91, sometimes 96 !??? 	elseif cordlsb == 97 then cordlsb = 40 	elseif cordlsb == 98 then cordlsb = 41 	elseif cordlsb == 99 then cordlsb = 42 	elseif cordlsb == 100 then cordlsb = 43 	elseif cordlsb == 101 then cordlsb = 44 	elseif cordlsb == 104 then cordlsb = 45 	elseif cordlsb == 105 then cordlsb = 46 	elseif cordlsb == 106 then cordlsb = 47 	elseif cordlsb == 107 then cordlsb = 48 	elseif cordlsb == 108 then cordlsb = 49 	elseif cordlsb == 109 then cordlsb = 50 	end --console(string.format("cordlsb sent out value %.d",cordlsb)) return(cordlsb) end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="be3ba52a9586371543d0c8acb6f44585"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethod luaMethodName="setCord03amt" luaMethodCode="function setCord03amt(x,y) if y == 0 then cord03amtMod:setModulatorValue(x,false,false,false) elseif y == 127 then cord03amtMod:setModulatorValue(x-128,false,false,false) end 	-- Your method code here end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="081ba7e032a4b03d3bc0b6913c458db1"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord03dest" luaMethodCode="function setCord03dest(x,y) if y == 0 then 	if x == 8 then x = 1 	elseif x == 47 then x = 2 	elseif x == 48 then x = 3 	elseif x == 49 then x = 4 	elseif x == 50 then x = 5 	elseif x == 51 then x = 6 	elseif x == 52 then x = 7 	elseif x == 53 then x = 8 	elseif x == 54 then x = 9 	elseif x == 56 then x = 10 	elseif x == 57 then x = 11 	elseif x == 64 then x = 12 	elseif x == 65 then x = 13 	elseif x == 66 then x = 14 	elseif x == 72 then x = 15 	elseif x == 73 then x = 16 	elseif x == 74 then x = 17 	elseif x == 75 then x = 18 	elseif x == 80 then x = 19 	elseif x == 81 then x = 20 	elseif x == 82 then x = 21 	elseif x == 83 then x = 22 	elseif x == 86 then x = 23 	elseif x == 88 then x = 24 	elseif x == 89 then x = 25 	elseif x == 90 then x = 26 	elseif x == 91 then x = 27 	elseif x == 94 then x = 28 	elseif x == 96 then x = 29 	elseif x == 97 then x = 30 	elseif x == 104 then x = 31 	elseif x == 105 then x = 32 	elseif x == 106 then x = 33 	elseif x == 108 then x = 34 	end end if y == 1 then 	if x == 33 then x = 35 	elseif x == 34 then x = 36 	elseif x == 35 then x = 37 	elseif x == 36 then x = 38 	elseif x == 37 then x = 39 	elseif x == 38 then x = 40 	elseif x == 39 then x = 41 	elseif x == 40 then x = 42 	elseif x == 41 then x = 43 	elseif x == 42 then x = 44 	elseif x == 43 then x = 45 	elseif x == 44 then x = 46 	elseif x == 45 then x = 47 	elseif x == 46 then x = 48 	elseif x == 47 then x = 49 	elseif x == 48 then x = 50 	elseif x == 49 then x = 51 	elseif x == 50 then x = 52 	elseif x == 51 then x = 53 	elseif x == 52 then x = 54 	elseif x == 53 then x = 55 	elseif x == 54 then x = 56 	elseif x == 55 then x = 57 	elseif x == 56 then x = 58 	elseif x == 57 then x = 59 	end end cord03destMod:setModulatorValue(x,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="04bf39b787e1745700b242c3db8df5a3"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord03source" luaMethodCode="function setCord03source(x,y) 	if y == 0 then 	cord = cordSourceMsbNil(x) 	else 	cord = cordSourceMsbOne(x) 	end 	if cord == nil then cord03sourceMod:setModulatorValue(0,false,false,false) 	else cord03sourceMod:setModulatorValue(cord,false,false,false) 	end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="db22c0ce227e8a0808d30fa0564ffd06"
luaMethodValid="1"/>
<luaMethod luaMethodName="setcord02amt" luaMethodCode="function setcord02amt(x,y) if y == 0 then cord02amtMod:setModulatorValue(x,false,false,false) elseif y == 127 then cord02amtMod:setModulatorValue(x-128,false,false,false) end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="d8fc42b994c64791e5a82682f1115971"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord02Dest" luaMethodCode="function setCord02Dest(x,y) if y == 0 then 	if x == 8 then x = 1 	elseif x == 47 then x = 2 	elseif x == 48 then x = 3 	elseif x == 49 then x = 4 	elseif x == 50 then x = 5 	elseif x == 51 then x = 6 	elseif x == 52 then x = 7 	elseif x == 53 then x = 8 	elseif x == 54 then x = 9 	elseif x == 56 then x = 10 	elseif x == 57 then x = 11 	elseif x == 64 then x = 12 	elseif x == 65 then x = 13 	elseif x == 66 then x = 14 	elseif x == 72 then x = 15 	elseif x == 73 then x = 16 	elseif x == 74 then x = 17 	elseif x == 75 then x = 18 	elseif x == 80 then x = 19 	elseif x == 81 then x = 20 	elseif x == 82 then x = 21 	elseif x == 83 then x = 22 	elseif x == 86 then x = 23 	elseif x == 88 then x = 24 	elseif x == 89 then x = 25 	elseif x == 90 then x = 26 	elseif x == 91 then x = 27 	elseif x == 94 then x = 28 	elseif x == 96 then x = 29 	elseif x == 97 then x = 30 	elseif x == 104 then x = 31 	elseif x == 105 then x = 32 	elseif x == 106 then x = 33 	elseif x == 108 then x = 34 	end end if y == 1 then 	if x == 33 then x = 35 	elseif x == 34 then x = 36 	elseif x == 35 then x = 37 	elseif x == 36 then x = 38 	elseif x == 37 then x = 39 	elseif x == 38 then x = 40 	elseif x == 39 then x = 41 	elseif x == 40 then x = 42 	elseif x == 41 then x = 43 	elseif x == 42 then x = 44 	elseif x == 43 then x = 45 	elseif x == 44 then x = 46 	elseif x == 45 then x = 47 	elseif x == 46 then x = 48 	elseif x == 47 then x = 49 	elseif x == 48 then x = 50 	elseif x == 49 then x = 51 	elseif x == 50 then x = 52 	elseif x == 51 then x = 53 	elseif x == 52 then x = 54 	elseif x == 53 then x = 55 	elseif x == 54 then x = 56 	elseif x == 55 then x = 57 	elseif x == 56 then x = 58 	elseif x == 57 then x = 59 	end end cord02destMod:setModulatorValue(x,false,false,false) 	-- Your method code here end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="114c80c4cc4d3fac189f08163442686d"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord02source" luaMethodCode="function setCord02source(x,y) if y == 0 then 	cord = cordSourceMsbNil(x) 	else 	cord = cordSourceMsbOne(x) 	end 	if cord == nil then cord02sourceMod:setModulatorValue(0,false,false,false) 	else cord02sourceMod:setModulatorValue(cord,false,false,false) 	end --console(string.format("cord02source set to %.d",cord)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="5abdfa00ce4ea3b1ddd1781841beb5d4"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord01amt" luaMethodCode="function setCord01amt(x,y) 	 if y == 0 then cord01amt:setModulatorValue(x,false,false,false) elseif y == 127 then cord01amt:setModulatorValue(x-128,false,false,false) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="578be17e1a2d2906068d5664443dacf1"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord01dest" luaMethodCode="function setCord01dest(x,y) if y == 0 then 	if x == 8 then x = 1 	elseif x == 47 then x = 2 	elseif x == 48 then x = 3 	elseif x == 49 then x = 4 	elseif x == 50 then x = 5 	elseif x == 51 then x = 6 	elseif x == 52 then x = 7 	elseif x == 53 then x = 8 	elseif x == 54 then x = 9 	elseif x == 56 then x = 10 	elseif x == 57 then x = 11 	elseif x == 64 then x = 12 	elseif x == 65 then x = 13 	elseif x == 66 then x = 14 	elseif x == 72 then x = 15 	elseif x == 73 then x = 16 	elseif x == 74 then x = 17 	elseif x == 75 then x = 18 	elseif x == 80 then x = 19 	elseif x == 81 then x = 20 	elseif x == 82 then x = 21 	elseif x == 83 then x = 22 	elseif x == 86 then x = 23 	elseif x == 88 then x = 24 	elseif x == 89 then x = 25 	elseif x == 90 then x = 26 	elseif x == 91 then x = 27 	elseif x == 94 then x = 28 	elseif x == 96 then x = 29 	elseif x == 97 then x = 30 	elseif x == 104 then x = 31 	elseif x == 105 then x = 32 	elseif x == 106 then x = 33 	elseif x == 108 then x = 34 	end end if y == 1 then 	if x == 33 then x = 35 	elseif x == 34 then x = 36 	elseif x == 35 then x = 37 	elseif x == 36 then x = 38 	elseif x == 37 then x = 39 	elseif x == 38 then x = 40 	elseif x == 39 then x = 41 	elseif x == 40 then x = 42 	elseif x == 41 then x = 43 	elseif x == 42 then x = 44 	elseif x == 43 then x = 45 	elseif x == 44 then x = 46 	elseif x == 45 then x = 47 	elseif x == 46 then x = 48 	elseif x == 47 then x = 49 	elseif x == 48 then x = 50 	elseif x == 49 then x = 51 	elseif x == 50 then x = 52 	elseif x == 51 then x = 53 	elseif x == 52 then x = 54 	elseif x == 53 then x = 55 	elseif x == 54 then x = 56 	elseif x == 55 then x = 57 	elseif x == 56 then x = 58 	elseif x == 57 then x = 59 	end end --console(string.format(x)) cord01dest:setModulatorValue(x,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="efeba439f1f537270294ba3b5784b964"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord01source" luaMethodCode="function setCord01source(x,y) 	if y == 0 then 	cord = cordSourceMsbNil(x) 	else 	cord = cordSourceMsbOne(x) 	end 	if cord == nil then cord01sourceMod:setModulatorValue(0,false,false,false) 	else cord01sourceMod:setModulatorValue(cord,false,false,false) 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="3484940db18716973cc4b78b35f3b78f"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord00amt" luaMethodCode="function setCord00amt(x,y) if y == 0 then cord00amt:setModulatorValue(x,false,false,false) elseif y == 127 then cord00amt:setModulatorValue(x-128,false,false,false) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="b8e797bd569d01e209892d2aae4aa7b0"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord00dest" luaMethodCode="function setCord00dest(x,y) --used to translate the cord source values into sequential numbers for the comboboxes --x is lsb, y is msb. MSB selects activated block --console(string.format("setCord00dest received lsb %.d and msb %.d",x,y)) if y == 0 then 	if x == 8 then x = 1 	elseif x == 47 then x = 2 	elseif x == 48 then x = 3 	elseif x == 49 then x = 4 	elseif x == 50 then x = 5 	elseif x == 51 then x = 6 	elseif x == 52 then x = 7 	elseif x == 53 then x = 8 	elseif x == 54 then x = 9 	elseif x == 56 then x = 10 	elseif x == 57 then x = 11 	elseif x == 64 then x = 12 	elseif x == 65 then x = 13 	elseif x == 66 then x = 14 	elseif x == 72 then x = 15 	elseif x == 73 then x = 16 	elseif x == 74 then x = 17 	elseif x == 75 then x = 18 	elseif x == 80 then x = 19 	elseif x == 81 then x = 20 	elseif x == 82 then x = 21 	elseif x == 83 then x = 22 	elseif x == 86 then x = 23 	elseif x == 88 then x = 24 	elseif x == 89 then x = 25 	elseif x == 90 then x = 26 	elseif x == 91 then x = 27 	elseif x == 94 then x = 28 	elseif x == 96 then x = 29 	elseif x == 97 then x = 30 	elseif x == 104 then x = 31 	elseif x == 105 then x = 32 	elseif x == 106 then x = 33 	elseif x == 108 then x = 34 	end end if y == 1 then 	if x == 33 then x = 35 	elseif x == 34 then x = 36 	elseif x == 35 then x = 37 	elseif x == 36 then x = 38 	elseif x == 37 then x = 39 	elseif x == 38 then x = 40 	elseif x == 39 then x = 41 	elseif x == 40 then x = 42 	elseif x == 41 then x = 43 	elseif x == 42 then x = 44 	elseif x == 43 then x = 45 	elseif x == 44 then x = 46 	elseif x == 45 then x = 47 	elseif x == 46 then x = 48 	elseif x == 47 then x = 49 	elseif x == 48 then x = 50 	elseif x == 49 then x = 51 	elseif x == 50 then x = 52 	elseif x == 51 then x = 53 	elseif x == 52 then x = 54 	elseif x == 53 then x = 55 	elseif x == 54 then x = 56 	elseif x == 55 then x = 57 	elseif x == 56 then x = 58 	elseif x == 57 then x = 59 	end end --console(string.format(x)) cord00dest:setModulatorValue(x,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="85ee9782f415a6532f0bc1d8ebed877c"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord00source" luaMethodCode="function setCord00source(x,y) 	if y == 0 then 	cord = cordSourceMsbNil(x) 	else 	cord = cordSourceMsbOne(x) 	end 	if cord == nil then cord00source:setModulatorValue(0,false,false,false) 	else cord00source:setModulatorValue(cord,false,false,false) --console(string.format("cord00source set to %.d",cord)) end 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="db2d24a37c86040bde557be7463e9452"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord04source" luaMethodCode="function setCord04source(x,y) 	if y == 0 then 	cord = cordSourceMsbNil(x) 	else 	cord = cordSourceMsbOne(x) 	end 	if cord == nil then cord04sourceMod:setModulatorValue(0,false,false,false) 	else cord04sourceMod:setModulatorValue(cord,false,false,false) --console(string.format("cord04source set to %.d",cord)) 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="7fec8253b6e0a036fd6700ff357448b8"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord04dest" luaMethodCode="function setCord04dest(x,y) if y == 0 then 	if x == 8 then x = 1 	elseif x == 47 then x = 2 	elseif x == 48 then x = 3 	elseif x == 49 then x = 4 	elseif x == 50 then x = 5 	elseif x == 51 then x = 6 	elseif x == 52 then x = 7 	elseif x == 53 then x = 8 	elseif x == 54 then x = 9 	elseif x == 56 then x = 10 	elseif x == 57 then x = 11 	elseif x == 64 then x = 12 	elseif x == 65 then x = 13 	elseif x == 66 then x = 14 	elseif x == 72 then x = 15 	elseif x == 73 then x = 16 	elseif x == 74 then x = 17 	elseif x == 75 then x = 18 	elseif x == 80 then x = 19 	elseif x == 81 then x = 20 	elseif x == 82 then x = 21 	elseif x == 83 then x = 22 	elseif x == 86 then x = 23 	elseif x == 88 then x = 24 	elseif x == 89 then x = 25 	elseif x == 90 then x = 26 	elseif x == 91 then x = 27 	elseif x == 94 then x = 28 	elseif x == 96 then x = 29 	elseif x == 97 then x = 30 	elseif x == 104 then x = 31 	elseif x == 105 then x = 32 	elseif x == 106 then x = 33 	elseif x == 108 then x = 34 	end end if y == 1 then 	if x == 33 then x = 35 	elseif x == 34 then x = 36 	elseif x == 35 then x = 37 	elseif x == 36 then x = 38 	elseif x == 37 then x = 39 	elseif x == 38 then x = 40 	elseif x == 39 then x = 41 	elseif x == 40 then x = 42 	elseif x == 41 then x = 43 	elseif x == 42 then x = 44 	elseif x == 43 then x = 45 	elseif x == 44 then x = 46 	elseif x == 45 then x = 47 	elseif x == 46 then x = 48 	elseif x == 47 then x = 49 	elseif x == 48 then x = 50 	elseif x == 49 then x = 51 	elseif x == 50 then x = 52 	elseif x == 51 then x = 53 	elseif x == 52 then x = 54 	elseif x == 53 then x = 55 	elseif x == 54 then x = 56 	elseif x == 55 then x = 57 	elseif x == 56 then x = 58 	elseif x == 57 then x = 59 	end end --console(string.format(x)) cord04destMod:setModulatorValue(x,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="4eda8cbbc0c72a990f508d8ba6899be4"
luaMethodValid="1"/>
<luaMethod luaMethodName="setCord04amt" luaMethodCode="function setCord04amt(x,y) if y == 0 then cord04amtMod:setModulatorValue(x,false,false,false) elseif y == 127 then cord04amtMod:setModulatorValue(x-128,false,false,false) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="13f7147306770533c38502e419b42be3"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="tuning" uuid="9257bf6a8df71ad2723211ec84c304e0">
<luaMethod luaMethodName="setSampleHighKey" luaMethodCode="function setSampleHighKey(x, y) local lownote = panel:getModulatorByName("sampleHighKey") lownote:setModulatorValue(x,true,false,false) --console(string.format("HighKey value is %.2d",x)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="06ba63d6029f890d5ed3e667f61464e4"
luaMethodValid="1"/>
<luaMethod luaMethodName="setSampleKeyWin" luaMethodCode="function setSampleKeyWin(keywinlsb) KeyWinMod = panel:getModulatorByName("sampleZoneKeyWinFade") 	 --console(string.format("keywin lsb value is %.2d",keywinlsb)) --KeyWinMod:setValue(0 ,true) KeyWinMod:getComponent():setProperty("uiSliderMax",keywinlsb, false) --console(string.format("max value of keywin is %.2d",skz)) KeyWinMod:setModulatorValue(keywinlsb ,true,false,false)	 end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="f878516955a8a26a9dfd81b01bdb8df5"
luaMethodValid="1"/>
<luaMethod luaMethodName="nonTranspose" luaMethodCode="function nonTranspose(x) voiceNonTransMod:setModulatorValue(x,false,false,false)	 --console(string.format(x)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="d051d82e70b51a7e7084c6608ee58dbf"
luaMethodValid="1"/>
<luaMethod luaMethodName="setSampleLowKey" luaMethodCode="function setSampleLowKey(LS,MS) local lownote = panel:getModulatorByName("sampleLowKey") lownote:setModulatorValue(LS,true,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="ce63cdfda00e5ec463aa1e06af73ae9f"
luaMethodValid="1"/>
<luaMethod luaMethodName="setSamplezoneRoot" luaMethodCode="function setSamplezoneRoot(x,y) local rootnote = panel:getModulatorByName("sampleZoneRootNote") rootnote:setModulatorValue(LS,true, false,false) console(string.format("Root note is %.d",LS)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="39cff2a9832b4d3f837c39af8b71e7bb"
luaMethodValid="1"/>
<luaMethod luaMethodName="voiceTranspose" luaMethodCode="function voiceTranspose(LS,MS) if MS == 0 and LS == 0 then keytuneval = 24 end -- 0 if MS == 0 and LS >= 1 then	 keytuneval = LS+24 end --positive values if MS == 127 then keytuneval = LS-104 end		-- negative value		 console(string.format("keytranspose value received as %.d",keytuneval)) 	 voiceKeytrans:setModulatorValue(keytuneval,false,false,false)	 -- Your method code here end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="1434f89795e8637a0eed62f0a68f8086"
luaMethodValid="1"/>
<luaMethod luaMethodName="voiceFineTune" luaMethodCode="function voiceFineTune(LS,MS) if MS == 0 and LS == 0 then ctuneval = 64 end -- 0 if MS == 0 and LS >= 1 then	ctuneval = LS+64 end --positive values if MS == 127 then ctuneval = LS - 64 end		-- negative value voiceFineTuneMod:setModulatorValue(ctuneval,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="5c481a3db08aa2eb2c2351f9c9dea294"
luaMethodValid="1"/>
<luaMethod luaMethodName="voiceCoarseTune" luaMethodCode="function voiceCoarseTune(LS,MS) --console(string.format("coarseTune midireceived is ls %.d ms %.d",LS,MS)) if MS == 0 and LS == 0 then ctuneval = 72 end -- 0 if MS == 0 and LS >= 1 then	ctuneval = LS+72 end --positive values if MS == 127 then ctuneval = LS - 56 end		-- negative value		 	 coarseTune:setModulatorValue(ctuneval,false,false,false) end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="a3210cfc0c2853369989a999f14bfd7d"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="filter" uuid="964d5407cb805f483e35c370165bf11d">
<luaMethod luaMethodName="setFilterEnvAmpLvl" luaMethodCode="function setFilterEnvAmpLvl(x,y,z) --console(string.format("FilterEnv response ID is %.2d",z)) 	if z == 94 then -- Attack 1 level 	local atklvl = panel:getModulatorByName("filterEnvAtk1Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end 	if z == 96 then -- Attack 2 level 	local atklvl = panel:getModulatorByName("filterEnvAtk2Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end 	if z == 98 then -- Decay 1 level 	local atklvl = panel:getModulatorByName("filterEnvDcy1Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end 	if z == 100 then -- Decay 2 level 	local atklvl = panel:getModulatorByName("filterEnvDcy2Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end 	if z == 102 then -- Release 1 level 	local atklvl = panel:getModulatorByName("filterEnvRls1Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end 	if z == 104 then -- Release 2 level 	local atklvl = panel:getModulatorByName("filterEnvRls2Level") 		if y == 127 then 	 		local mem = (128 - x)*(-1)	 		atklvl:setModulatorValue(mem,true,false,false) 		 		elseif y == 0 then 		 		atklvl:setModulatorValue(x,true,false,false) 		end 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="1af674c6ec0a1a7e4aac4d81af6a1408"
luaMethodValid="1"/>
<luaMethod luaMethodName="SetMorphShelf01" luaMethodCode="function SetMorphShelf01(x) panel:getModulatorByName("morphShelf01"):setModulatorValue(x-64,false,false,false) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="7e9cbff8036977bb29e924b0f6584a9f"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="chorus" uuid="08eb16dd466f5ea70dd712ad4a6951c5">
<luaMethod luaMethodName="SetChorusWidth" luaMethodCode="function SetChorusWidth(x,y) if loaded == true then console(string.format("chorus lsb %.2d msb %.2d",x,y)) --chrswtdh = (x*128)/100 --console(string.format("width is %.2d",chrswtdh)) --	if y == 127 then 	chorusWidth:setModulatorValue(x, false,false,false) --	else --	chorusWidth:setModulatorValue(chrswtdh, false,false,false) --end end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="241cd2314ed3c48fce6a530d61e59819"
luaMethodValid="1"/>
</luaMethodGroup>
</luaMethodGroup>
<luaMethod luaMethodName="midiReceived" luaMethodCode="-- -- Called when a panel receives a midi message (does not need to match any modulator mask) -- @midi http://ctrlr.org/api/class_ctrlr_midi_message.html -- midiReceived = function(midi) --what(panel) devID = 1 --make panel:getModulatorByName("midiDeviceId"):getValue() in initscript 	if midi:getSize() ~= nil then 	l = midi:getSize() --get size of msg 	midiInActive = true 	else 		midiInActive = false 	end msg = midi:getData():getRange(0,l) --console(string.format(msg:toHexString(1))) eof = midi:getLuaData():getByte(5) cmd = midi:getLuaData():getByte(6) ID = midi:getLuaData():getByte(7) LS = midi:getLuaData():getByte(9) MS = midi:getLuaData():getByte(10) 	if eof == 9 then -- its sample name response 	samplenameascii = midi:getLuaData():getRange(8, 16) 	samplename = samplenameascii:toString() 	samplenameout = panel:getModulatorByName("sampleNameLCD") 	samplenameout:getComponent():setPropertyString("uiLabelText", samplename) 	console(string.format("banzai")) 	end 	if eof == 125 and l == 7 then --its an empty preset response 	k1 = {} 	presetLCD:setPropertyString("uiLabelText", "Empty preset") 	list = panel:getModulatorByName("listbox"):getComponent() 	list:setProperty("uiListBoxContent", "", true) 	zonelist = panel:getModulatorByName("sampleZoneList"):getComponent() 	zonelist:setProperty("uiListBoxContent", "", true) 	end --preset dump collector-- dumpinit = midi:getData():getRange(0,8) dumpdatamsg = midi:getData():getRange(0,7) 	if dumpheader == dumpinit:toHexString(1) then --preset dump command number 	showInfoLayer(1) 				-- display a "please wait" message during the dump 	k0:__init() 					--reset K0 memoryblock 	k1 = {} 						--erase k1 table 	--dumpInfo() 	calcbit1 = BigInteger(msg:getByte(8)) 	calcbit2 = BigInteger(msg:getByte(9)) 	ls = calcbit1:getBitRangeAsInt (0,7) 	ms = calcbit2:getBitRangeAsInt (0,7) 	msg = string.format("F0 18 21 %.2x 55 7F 00 F7", devID)	--send ack message to continue dump process 	panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 	elseif dumpdata == dumpdatamsg:toHexString(1) then 		--its a dump data message 	size = midi:getSize() 	dump = midi:getLuaData():getRange(7,l-8) 				-- grab dumped string 	k0:append(dump) 										--append to global memoryblock 	msg = string.format("F0 18 21 %.2x 55 7F %.2x F7", devID, ID) -- ack for dump part 1 received 	panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		-- ack msg, send more data. 	end 	if dumpEOF == dumpdatamsg:toHexString(1) then 				--EOF dump message, put all data into table k1 	memsize = k0:getSize() 		for i = 1,memsize, 1 do 		byte = k0:getByte(i) 		table.insert(k1,i, byte) 		showInfoLayer(0) 									-- hide the "please wait" message when dump is finished 	end updateModulatorsFromMidi()									--set panel modulators to values received in the dump so it matches the state of the sampler end 														--end of preset dump collector --set modulators from individual parameter responses received if dumpdatamsg:toHexString(1) == singleParamMsg then --its a single param value --console(string.format("mod id ls is %.d ms is %.d",LS,MS))	 --console(string.format(ID)) 	if ID == 1 then setCord00source(LS,MS) end 	if ID == 2 then setCord00dest(LS,MS) end 	if ID == 3 then setCord00amt(LS,MS) end 	if ID == 4 then setCord01source(LS,MS) end 	if ID == 5 then setCord01dest(LS,MS) end 	if ID == 6 then setCord01amt(LS,MS) end 	if ID == 7 then setCord02source(LS,MS) end 	if ID == 8 then setCord02Dest(LS,MS) end 	if ID == 9 then setcord02amt(LS,MS) end 	if ID == 10 then setCord03source(LS,MS) end 	if ID == 11 then setCord03dest(LS,MS) end 	if ID == 12 then setCord03amt(LS,MS) end 	if ID == 13 then setCord04source(LS,MS) end 	if ID == 14 then setCord04dest(LS,MS) end 	if ID == 15 then setCord04amt(LS,MS) end 	if ID == 38 then --sample number and name stuff --38 is sample number response, use returned value to request name 	 	sampleNameReq(LS,MS) 	sampleNumberMemLSB = midi:getData():getByte(9) 	sampleNumberMemMSB = midi:getData():getByte(10) 	console(string.format("sample number received")) 	console(string.format(sampleNumberMemLSB)) 	console(string.format(sampleNumberMemMSB)) 	end 	if ID == 41 then voiceCoarseTune(LS,MS) end 	 --nrpr stuff math todo so split it off 	if ID == 42 then voiceFineTune(LS,MS) end 	if ID == 43 then voiceTranspose(LS,MS) end 	if ID == 44 then setSamplezoneRoot(LS,MS) end 	if ID == 45 then setSampleLowKey(LS,MS) end 	if ID == 46 then setSampleKeyWin(LS) end 	if ID == 47 then setSampleHighKey(LS,MS) end 	if ID == 57 then nonTranspose(LS) end 	if ID == 58 then chorusAmt:setModulatorValue(LS, false,false,false) end 	if ID == 59 then SetChorusWidth(LS,MS) end 	if ID == 82 then panel:getModulatorByName("filterType"):setModulatorValue(LS,false,false,false) end --filtertype 	if ID == 83 then Cutoff:setModulatorValue(splitToInt(LS,MS),false,false,false) end 					-- cutoff / morph 	if ID == 84 then resonance:setModulatorValue(splitToInt(LS,MS),false,false,false) end 				-- resonance / gain 	if ID == 87 then morph01Mod:setModulatorValue(LS,false,false,false) end 	if ID == 88 then morph02Mod:setModulatorValue(LS,false,false,false) end 	if ID == 89 then morph03Mod:setModulatorValue(LS,false,false,false) end 	if ID == 90 then morph04Mod:setModulatorValue(LS,false,false,false) end 	if ID == 91 then morph05Mod:setModulatorValue(LS,false,false,false) console(string.format("morph5")) end 	if ID == 92 then morph06Mod:setModulatorValue(LS,false,false,false) end 	if ID == 93 then panel:getModulatorByName("filterEnvAtk1Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 94 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 95 then panel:getModulatorByName("filterEnvAtk2Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 96 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 97 then panel:getModulatorByName("filterEnvDcy1Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 98 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 99 then panel:getModulatorByName("filterEnvDcy2Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 100 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 101 then panel:getModulatorByName("filterEnvRls1Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 102 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 103 then panel:getModulatorByName("filterEnvRls2Rate"):setModulatorValue(LS,false,false,false) end 	if ID == 104 then setFilterEnvAmpLvl(LS,MS,ID) end 	if ID == 105 then lfoRateMod:setModulatorValue(splitToInt(LS,MS),false,false,false) end end --populate samplezones list selector local samplezones = midi:getData():getRange(0,6) 	if samplezones:toHexString(1) == samplezonesAmount then 		local zones = ""								 	 --empty string before loop kicks off 			for i = 1, splitToInt(cmd,ID) do 					 --loop for amount of voices found 			local a = string.format("zone %.d=%.d\n",i,i) --make string to populate list 			zones = zones..a						 --concat results to empty string 			end 		zonelist = panel:getModulatorByName("sampleZoneList"):getComponent() 		zonelist:setProperty("uiListBoxContent", zones, true) --put string in right place - PROFIT! 		end 	end"
luaMethodLinkedProperty="luaPanelMidiReceived" luaMethodSource="0"
uuid="ba7a891f708b23628f21d899243ced95" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="Midi to send" uuid="db650c2288facddb09d36fc91476a3d2">
<luaMethodGroup name="requests" uuid="5a18a27152d6927ffb55d1a88b099b1f">
<luaMethod luaMethodName="paramReqMsg" luaMethodCode="function paramReqMsg(paramx, paramy) local type = string.format("f0 18 21 %.2x 55 02 01 %.2x %.2x 7f f7", devID, paramx, paramy) panel:sendMidiMessageNow(CtrlrMidiMessage(type)) --console(string.format("requeststing is "..type)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="e4fc2501298ff460e5884e8fb3030a9d"
luaMethodValid="1"/>
<luaMethod luaMethodName="presetDumpRequest" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- presetDumpRequest = function() -- full preset dump command initiator if presetNum ~= nil then local num = presetNum:getValue() y = msb(num) x = lsb(num) selectedPreset = string.format("f0 18 21 %.2x 55 0E %.2x %.2x f7", devID,x,y) panel:sendMidiMessageNow(CtrlrMidiMessage(selectedPreset)) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="ed2ee3dbe8c2f655a06b2eb5b8f011f3" luaMethodValid="1"/>
<luaMethod luaMethodName="voiceParametersRequest" luaMethodCode="function voiceParametersRequest(x,y) local samplezones = string.format("f0 18 21 %.2x 55 1C %.2x %.2x %.2x %.2x f7", devID, lsb(x),msb(x),lsb(y),msb(y)) panel:sendMidiMessageNow(CtrlrMidiMessage(samplezones)) --console(samplezones) --RESPONSE:> {F0h,18h,21h,ddh,55h,1Dh,<V_Num_Of_SZones>,F7h} end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="cc4fe0c0c2d53bdba8d90477c5396896"
luaMethodValid="1"/>
<luaMethod luaMethodName="sampleNameReq" luaMethodCode="function sampleNameReq(paramx,paramy) local type = string.format("f0 18 21 %.2x 55 0A %.2x %.2x f7", devID, paramx, paramy) panel:sendMidiMessageNow(CtrlrMidiMessage(type)) 	-- Your method code here end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="d2db8525672c1ddf94a29b3cf64b30b3"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="changes" uuid="815132053fcb647556e19e081633bfc5">
<luaMethod luaMethodName="paramChangeMsg" luaMethodCode="function paramChangeMsg(paramNumLsb,paramNumMsb, paramVal) -- 5 values are: devID @ byte 3, paramnum @ 7 & 8, paramVal @ 9 & 10 if loaded == true then msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x %.2x %.2x 7f f7", devID, paramNumLsb, paramNumMsb, lsb(paramVal), msb(paramVal)) panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) end --console(string.format(msg)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="3d597805777eb58692be3a9457b64db6"
luaMethodValid="1"/>
<luaMethod luaMethodName="cordAmountChange" luaMethodCode="function cordAmountChange(paramNumLsb,paramNumMsb, paramValLSB, paramValMSB) -- 5 values are: devID @ byte 3, paramnum @ 7 & 8, paramVal @ 9 & 10 if loaded == true then msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x %.2x %.2x 7f f7", devID, paramNumLsb, paramNumMsb, paramValLSB, paramValMSB) panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) end --console(string.format(msg)) end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="1ce375800a0c90aff21803b9e659a732"
luaMethodValid="1"/>
<luaMethod luaMethodName="paramChangeMsgNeg" luaMethodCode="function paramChangeMsgNeg(paramNumLsb,paramNumMsb, paramVal) -- 5 values are: devID @ byte 3, paramnum @ 7 & 8, paramVal @ 9 & 10 if loaded == true then msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x %.2x 7f 7f f7", devID, paramNumLsb, paramNumMsb, lsb(paramVal)) panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) end --console(string.format(msg)) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="31e1c2cd9353b9b630476c3160b412f5"
luaMethodValid="1"/>
<luaMethod luaMethodName="paramChangeChorus" luaMethodCode="function paramChangeChorus(paramNumLsb,paramNumMsb, paramVal) 	if loaded == true then 		if paramVal == 1 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 02 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		 		elseif paramVal == 2 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 03 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		 		elseif paramVal == 3 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 04 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 4 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 06 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 5 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 07 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 6 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 08 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 7 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 09 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 8 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 0b 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 9 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 0c 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 10 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 0d 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 11 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 0f 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 12 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 10 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 13 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 11 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 14 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 13 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 15 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 14 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 16 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 15 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 17 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 17 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 18 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 18 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 19 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 19 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 20 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 1a 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 21 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 1b 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 22 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 1d 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 23 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 1e 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 24 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 1f 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 25 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 21 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 26 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 22 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 27 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 23 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 28 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 25 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 29 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 26 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 30 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 27 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 31 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 28 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 32 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 29 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 33 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 2b 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 34 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 2c 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 35 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 2d 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 36 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 2f 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 37 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 30 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 38 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 31 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 39 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 32 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		elseif paramVal == 40 then 		console(string.format(paramVal)) 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 34 7f 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		else -- 0 value 		msg = string.format("f0 18 21 %.2x 55 01 02 %.2x %.2x 00 7F 7f f7", devID, paramNumLsb, paramNumMsb) 		panel:sendMidiMessageNow(CtrlrMidiMessage(msg)) 		end 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="9779e88f32f8bd61679f098222b8afe6"
luaMethodValid="1"/>
</luaMethodGroup>
</luaMethodGroup>
<luaMethodGroup name="GUI" uuid="f621fe8ca1bc6dc0ad643168f11b1a72">
<luaMethodGroup name="Layers" uuid="b375839649abdbfeb0bb0c4a7a0a98c7">
<luaMethod luaMethodName="showInfoLayer" luaMethodCode="function showInfoLayer(layer) infolayer = canvas:getLayerByName("infoLayer") if layer == 1 then infolayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) elseif layer == 0 then infolayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="0e7671f0be0569b32595d13c058a2d5b"
luaMethodValid="1"/>
<luaMethod luaMethodName="editorPageSelect" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator --Main=0 --Tuning=1 --Amp=2 --Filter=3 --Lfo & aux=4 --Cords=5 editorPageSelect = function(mod, value) if loaded then cordslayer = canvas:getLayerByName("cordsLayer") filterLayer = canvas:getLayerByName("filterLayer") midiselectionLayer = canvas:getLayerByName("midiSelectionLayer") groupLinkLayer = canvas:getLayerByName("groupLinkLayer") TuningLayer = canvas:getLayerByName("TuningLayer") lfoLayer = canvas:getLayerByName("lfoAuxLayer") if value == 0 then --Main filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) elseif value == 1 then --Tuning filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) elseif value == 2 then --Amp filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) elseif value == 3 then --Filter filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) elseif value == 4 then --Lfo & aux filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) elseif value == 5 then --Cords filterLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) midiselectionLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) groupLinkLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) TuningLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) cordslayer:setPropertyInt("uiPanelCanvasLayerVisibility", 1) lfoLayer:setPropertyInt("uiPanelCanvasLayerVisibility", 0) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="7622f0231cc331121188e8225088ec24" luaMethodValid="1"/>
</luaMethodGroup>
</luaMethodGroup>
<luaMethodGroup name="modulatorsChangedActions" uuid="5cdf1ee95d391a7ce4dbdd03e8da0eab">
<luaMethodGroup name="filter" uuid="e90e5e3037fb23d99dc2431a183c057b">
<luaMethodGroup name="graphics" uuid="e8443dd4cb236aa44e7820facddc1b0c">
<luaMethod luaMethodName="filterPlot" luaMethodCode="-- -- Called when a component needs repainting -- @comp -- @g http://ctrlr.org/api/class_ctrlr_lua_graphics.html -- see also http://www.rawmaterialsoftware.com/juce/api/classGraphics.html -- filterPlot = function(comp,g) if loaded == true then --cut = panel:getModulatorByName("cutoff"):getValue() --type = panel:getModulatorByName("filterType"):getValue() --res = panel:getModulatorByName("resAndGain"):getValue() local widht = comp:getWidth() local height = comp:getHeight() local y0 = cut local y1 = res g:setColour(Colour(0x5DFFFFFF)) outerframeborderfill = g:drawRoundedRectangle(4,4,comp:getWidth()-7, comp:getHeight()-7,7, 7); g:setColour(Colour(0x5D242424)) outerframeouterborder = g:drawRoundedRectangle(1,1,comp:getWidth()-2, comp:getHeight()-2,7, 2); outerframeinnerborder = g:drawRoundedRectangle(8,8,comp:getWidth()-16, comp:getHeight()-16,2, 2); --p = Path() --p:quadraticTo(cutoff,10,20+res,5); --stroke = PathStrokeType (2.3 * cutoff, PathStrokeType.beveled, PathStrokeType.rounded); --g:setColour (Colour(0xff9237df)) --g:strokePath (p, stroke, AffineTransform()); end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="4739d714de6e13c31b63b7ee8432de50"
luaMethodValid="1"/>
<luaMethod luaMethodName="AmpEnvPaint" luaMethodCode="-- -- Called when a component needs repainting -- @comp -- @g http://ctrlr.org/api/class_ctrlr_lua_graphics.html -- see also http://www.rawmaterialsoftware.com/juce/api/classGraphics.html -- AmpEnvPaint = function(comp,g) if loaded == true then atk1Rate = fltAtk1RateMod:getValue()/3.2 atk1Lvl = fltAtk1LevelMod:getValue()*1.41 atk2Rate = fltAtk2RateMod:getValue()/3.2 atk2Lvl = fltAtk2LevelMod:getValue()*1.41 dcy1Rate = fltDcy1RateMod:getValue()/3.2 dcy1Lvl = fltDcy1LevelMod:getValue()*1.41 dcy2Rate = fltDcy2RateMod:getValue()/3.2 dcy2Lvl = fltDcy2LevelMod:getValue()*1.41 rls1Rate = fltRls1RateMod:getValue()/3.2 rls1Lvl	 = fltRls1LevelMod:getValue()*1.41 rls2Rate = fltRls2RateMod:getValue()/3.2 rls2Lvl	 = fltRls2LevelMod:getValue()*1.41 --(string.format(atk1rRate)) local widht = comp:getWidth() local height = comp:getHeight() g:setColour(Colour(0x5DFFFFFF)) outerframeborderfill = g:drawRoundedRectangle(4,4,comp:getWidth()-7, comp:getHeight()-7,7, 7); g:setColour(Colour(0x5D242424)) outerframeouterborder = g:drawRoundedRectangle(1,1,comp:getWidth()-2, comp:getHeight()-2,7, 2); outerframeinnerborder = g:drawRoundedRectangle(8,8,comp:getWidth()-16, comp:getHeight()-16,2, 2); g:setColour(Colour(0xff1050ff)) -- draw lines --ATK1 seg1 = g:drawLine(atk1Rate+10 ,(comp:getHeight()-(atk1Lvl))/2,10,comp:getHeight()/2,1.2); --ATK2 seg2 = g:drawLine((atk1Rate+10)+atk2Rate,(comp:getHeight()-(atk2Lvl))/2,atk1Rate+10 ,(comp:getHeight()-(atk1Lvl))/2,1.2); --DCY1 seg3 = g:drawLine(atk2Rate+10+dcy1Rate+atk1Rate,(comp:getHeight()-(dcy1Lvl))/2, atk1Rate+atk2Rate+10,(comp:getHeight()-(atk2Lvl))/2,1.2); --DCY2 seg4 = g:drawLine(atk2Rate+10+dcy1Rate+atk1Rate+dcy2Rate,(comp:getHeight()-(dcy2Lvl))/2,atk1Rate+atk2Rate+dcy1Rate+10,(comp:getHeight()-(dcy1Lvl))/2,1.2); --RLS1 seg5 = g:drawLine(atk2Rate+10+dcy1Rate+atk1Rate+dcy2Rate+rls1Rate,(comp:getHeight()-(rls1Lvl))/2,atk1Rate+atk2Rate+dcy1Rate+dcy2Rate+10,(comp:getHeight()-(dcy2Lvl))/2,1.2); --RLS2 seg6 = g:drawLine(atk2Rate+10+dcy1Rate+atk1Rate+dcy2Rate+rls1Rate+rls2Rate ,(comp:getHeight()-(rls2Lvl))/2,atk1Rate+atk2Rate+dcy1Rate+dcy2Rate+rls1Rate+10,(comp:getHeight()-(rls1Lvl))/2,1.2); --taildraw seg7 = g:drawLine((atk2Rate+10+dcy1Rate+atk1Rate+dcy2Rate+rls1Rate+rls2Rate),(comp:getHeight()-(rls2Lvl))/2,comp:getWidth()-10,(comp:getHeight()-(rls2Lvl))/2,1.2); end end"
luaMethodLinkedProperty="uiCustomPaintCallback" luaMethodSource="0"
uuid="b38f4eb5ab7d22e09e2ffc03317968cc" luaMethodValid="1"/>
<luaMethod luaMethodName="DrawFilter" luaMethodCode="-- -- Called when a component needs repainting -- @comp -- @g http://ctrlr.org/api/class_ctrlr_lua_graphics.html -- see also http://www.rawmaterialsoftware.com/juce/api/classGraphics.html --Cutoff 	 		= panel:getModulatorByName("cutoff") --resonance DrawFilter = function(comp,g) 	if loaded == true then 	local widht 	= comp:getWidth() 	local height 	= comp:getHeight() 	local cutoff 	= panel:getModulatorByName("cutoff"):getValue() 	local res 		= panel:getModulatorByName("resAndGain"):getValue() 	g:setColour(Colour(0x5DFFFFFF)) 	outerframeborderfill = g:drawRoundedRectangle(4,4,comp:getWidth()-7, comp:getHeight()-7,7, 7); 	 	g:setColour(Colour(0x5D242424)) 	outerframeouterborder = g:drawRoundedRectangle(1,1,comp:getWidth()-2, comp:getHeight()-2,7, 2); 	outerframeinnerborder = g:drawRoundedRectangle(8,8,comp:getWidth()-16, comp:getHeight()-16,2, 2); 	end end"
luaMethodLinkedProperty="uiCustomPaintCallback" luaMethodSource="0"
uuid="bdfb406ebe84c2a63b5283a7a86b7db5" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="filter envelope" uuid="2bc9f3e523854a675c90f08dbe1eb0df">
<luaMethod luaMethodName="FilterEnvAtk1" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvAtk1 = function(mod, value) if loaded == true then 	if restore ~= true then 	 		paramChangeMsg(93,0,value) 		 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="5e0c7532ea751a9cfa9ee823ef4edcd0" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvAtk1Lvl" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvAtk1Lvl = function(mod, value) --console(string.format(value)) 	if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(94,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 	--		console(string.format(mem)) 			 			paramChangeMsgNeg(94,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="ccad2a22c68451023135fb179c75124a" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvAtk2Rate" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvAtk2Rate = function(mod, value) if loaded == true then if restore ~= true then paramChangeMsg(95,0,value) end 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="25ee6dc77f4dec6821f5dcded3d8326a" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvAtk2Level" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvAtk2Level = function(mod, value) 	if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(96,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 			paramChangeMsgNeg(96,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="9b725cf9e4f25da9300bdd83fdda8d76" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvDcy1Rate" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvDcy1Rate = function(mod, value) if loaded == true then 	if restore ~= true then 	 		paramChangeMsg(97,0,value) 		 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="9228d640e7be843c49a01a63531feeb2" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvDcy1Level" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvDcy1Level = function(mod, value) if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(98,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 			paramChangeMsgNeg(98,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="dd631e003f4548999dd026703db49f63" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvDcy2Rate" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvDcy2Rate = function(mod, value) if loaded == true then 	if restore ~= true then 	 		paramChangeMsg(99,0,value) 		 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="2acb7ff65eadaae3cb5ffc3110c53161" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvDcy2Level" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvDcy2Level = function(mod, value) if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(100,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 			paramChangeMsgNeg(100,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="3994a012c19f62384fd7e6f8d699c88a" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvRls1Rate" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvRls1Rate = function(mod, value) if loaded == true then 	if restore ~= true then 	 		paramChangeMsg(101,0,value) 		 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="edb0605bb128f139d33d00951fa642a9" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvRls1Level" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvRls1Level = function(mod, value) if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(102,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 			paramChangeMsgNeg(102,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="808ed0887a39662ffc655281f386316d" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvRls2Rate" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvRls2Rate = function(mod, value) if loaded == true then 	if restore ~= true then 	 		paramChangeMsg(103,0,value) 		 	a = panel:getModulatorByName("ampEnvelopeGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="ae31eedbe41d91a974d254b7c2e48254" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvRls2Level" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- FilterEnvRls2Level = function(mod, value) if loaded == true then 		if restore ~= true then 			if value >= 0 then 			paramChangeMsg(104,0,value) 		 			elseif value < 0 then 		 			local mem = value*(-1) 			local mem = 128-mem 			paramChangeMsgNeg(104,0,mem) 			end 		a = panel:getModulatorByName("ampEnvelopeGraph") 		repaint = a:getComponent() 		repaint:repaint() 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="c8c7346e63efb9f1541315137a09a079" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethod luaMethodName="resAndGainChanged" luaMethodCode="function resAndGainChanged(mod, value) if loaded == true then if filterMode ~= nil then local type = panel:getModulatorByName("filterType"):getValue() if type == 0 then choice = 1 end --lowpass1 if type == 1 then choice = 1 end --lowpass2 if type == 2 then choice = 1 end --lowpass3 if type == 3 then choice = 1 end --highpass1 if type == 4 then choice = 1 end --highpass2 if type == 5 then choice = 1 end --bandpass1 if type == 6 then choice = 1 end --bandpass2 if type == 7 then choice = 1 end --bandpass3 if type == 8 then choice = 2 end --swept1 if type == 9 then choice = 2 end --swept2 if type == 10 then choice = 2 end --swept3 if type == 11 then choice = 1 end --phaser1 if type == 12 then choice = 1 end --phaser2 if type == 13 then choice = 1 end --bat-phaser if type == 14 then choice = 1 end --flanger lite if type == 15 then choice = 1 end --vocal AhayEe if type == 16 then choice = 1 end --vocal OoAh if type == 17 then choice = 2 end --dual eq morph if type == 18 then choice = 1 end --2eq + lp morph if type == 19 then choice = 1 end --2eq morph + expression if type == 20 then choice = 2 end --peak/shelf morph if resLCD then --	resLCD:setPropertyString("uiLabelJustification", "centred") --	resLCD:setPropertyString("componentRectangle", "520 190 87 27") 	if choice == 1 then	resLCD:setPropertyString("uiLabelText", ""..value) 	elseif choice == 2 then	resLCD:setPropertyString("uiLabelText", ""..dbscale[value+1]) 	end end --	a = panel:getModulatorByName("filterPlot") --	repaint = a:getComponent() --	repaint:repaint() end --send midi change restore = panel:getRestoreState() if restore ~= true then paramChangeMsg(84,0,value) end end 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="8a775211bf5f86be0e760623ba4815b2"
luaMethodValid="1"/>
<luaMethod luaMethodName="filterType" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- filterType = function(mod, value) if loaded == true then if resonance ~= nil then resval = resonance:getValue() cutoff = Cutoff:getValue() end if value == 0 then Choice = 1 end --lowpass1 if value == 1 then Choice = 1 end --lowpass2 if value == 2 then Choice = 1 end --lowpass3 if value == 3 then Choice = 2 end --highpass1 if value == 4 then Choice = 2 end --highpass2 if value == 5 then Choice = 3 end --bandpass1 if value == 6 then Choice = 3 end --bandpass2 if value == 7 then Choice = 3 end --bandpass3 if value == 8 then Choice = 4 end --swept1 if value == 9 then Choice = 4 end --swept2 if value == 10 then Choice = 4 end --swept3 if value == 11 then Choice = 5 end --phaser1 if value == 12 then Choice = 5 end --phaser2 if value == 13 then Choice = 5 end --bat-phaser if value == 14 then Choice = 6 end --flanger lite if value == 15 then Choice = 7 end --vocal AhayEe if value == 16 then Choice = 7 end --vocal OoAh if value == 17 then Choice = 8 end --dual eq morph if value == 18 then Choice = 9 end --2eq + lp morph if value == 19 then Choice = 10 end --2eq morph + expression if value == 20 then Choice = 11 end --peak/shelf morph if cutoffComp ~= nil then 	if Choice == 1 then --lowpass 1 2 and 3 --cutoffCompoff 	cutoffComp:setPropertyString("componentVisibleName", "Cutoff") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent",""..lpCompArray) 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Resonance") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") --send filterchange msg restore = panel:getRestoreState() if restore ~= true then paramChangeMsg(82,0,value) end 	elseif Choice == 2 then --highpass 1 and 2 	cutoffComp:setPropertyString("componentVisibleName", "Cutoff") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","69hz=0\n71hz=1\n73hz=2\n75hz=3\n77hz=4\n79hz=5\n81hz=6\n83hz=7\n85hz=8\n87hz=9\n89hz=10\n91hz=11\n93hz=12\n95hz=13\n97hz=14\n100hz=15\n103hz=16\n106hz=17\n109hz=18\n112hz=19\n115hz=20\n118hz=21\n121hz=22\n124hz=23\n127hz=24\n130hz=25\n133hz=26\n136hz=27\n139hz=28\n142hz=29\n145hz=30\n149hz=31\n153hz=32\n157hz=33\n161hz=34\n165hz=35\n169hz=36\n173hz=37\n177hz=38\n181hz=39\n185hz=40\n189hz=41\n193hz=42\n198hz=43\n203hz=44\n208hz=45\n213hz=46\n218hz=47\n223hz=48\n228hz=49\n233hz=50\n238hz=51\n244hz=52\n250hz=53\n256hz=54\n262hz=55\n268hz=56\n274hz=57\n280hz=58\n286hz=59\n292hz=60\n299hz=61\n306hz=62\n313hz=63\n320hz=64\n327hz=65\n334hz=66\n342hz=67\n350hz=68\n358hz=69\n366hz=70\n374hz=71\n382hz=72\n390hz=73\n399hz=74\n408hz=75\n417hz=76\n426hz=77\n435hz=78\n445hz=79\n455hz=80\n465hz=81\n475hz=82\n485hz=83\n496hz=84\n507hz=85\n518hz=86\n529hz=87\n541hz=88\n553hz=89\n565hz=90\n577hz=91\n590hz=92\n603hz=93\n616hz=94\n629hz=95\n643hz=96\n657hz=97\n671hz=98\n686hz=99\n701hz=100\n716hz=101\n732hz=102\n748hz=103\n764hz=104\n780hz=105\n797hz=106\n814hz=107\n832hz=108\n850hz=109\n868hz=110\n887hz=111\n906hz=112\n925hz=113\n945hz=114\n965hz=115\n986hz=116\n1007hz=117\n1029hz=118\n1051hz=119\n1074hz=120\n1097hz=121\n1120hz=122\n1144hz=123\n1168hz=124\n1193hz=125\n1218hz=126\n1244hz=127\n1271hz=128\n1298hz=129\n1326hz=130\n1354hz=131\n1383hz=132\n1412hz=133\n1442hz=134\n1473hz=135\n1504hz=136\n1536hz=137\n1569hz=138\n1602hz=139\n1636hz=140\n1671hz=141\n1707hz=142\n1743hz=143\n1780hz=144\n1818hz=145\n1857hz=146\n1896hz=147\n1936hz=148\n1977hz=149\n2019hz=150\n2062hz=151\n2106hz=152\n2151hz=153\n2197hz=154\n2244hz=155\n2292hz=156\n2341hz=157\n2391hz=158\n2442hz=159\n2494hz=160\n2547hz=161\n2601hz=162\n2656hz=163\n2712hz=164\n2769hz=165\n2827hz=166\n2887hz=167\n2948hz=168\n3010hz=169\n3074hz=170\n3139hz=171\n3205hz=172\n3273hz=173\n3342hz=174\n3412hz=175\n3484hz=176\n3557hz=177\n3632hz=178\n3709hz=179\n3787hz=180\n3867hz=181\n3948hz=182\n4031hz=183\n4116hz=184\n4203hz=185\n4292hz=186\n4382hz=187\n4474hz=188\n4568hz=189\n4664hz=190\n4762hz=191\n4862hz=192\n4964hz=193\n5068hz=194\n5175hz=195\n5284hz=196\n5395hz=197\n5508hz=198\n5624hz=199\n5742hz=200\n5863hz=201\n5986hz=202\n6112hz=203\n6240hz=204\n6371hz=205\n6505hz=206\n6642hz=207\n6782hz=208\n6925hz=209\n7070hz=210\n7219hz=211\n7371hz=212\n7526hz=213\n7684hz=214\n7845hz=215\n8010hz=216\n8178hz=217\n8350hz=218\n8525hz=219\n8704hz=220\n8887hz=221\n9074hz=222\n9264hz=223\n9458hz=224\n9657hz=225\n9860hz=226\n10067hz=227\n10278hz=228\n10494hz=229\n10714hz=230\n10939hz=231\n11169hz=232\n11403hz=233\n11642hz=234\n11886hz=235\n12135hz=236\n12390hz=237\n12650hz=238\n12915hz=239\n13186hz=240\n13463hz=241\n13745hz=242\n14033hz=243\n14327hz=244\n14627hz=245\n14934hz=246\n15247hz=247\n15567hz=248\n15893hz=249\n16226hz=250\n16566hz=251\n16913hz=252\n17268hz=253\n17630hz=254\n18000hz=255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Resonance") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") --send filterchange msg 	elseif Choice == 3 then --bandpass 1 2 and 3 	cutoffComp:setPropertyString("componentVisibleName", "Cutoff") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","57hz=0\n59hz=1\n61hz=2\n63hz=3\n65hz=4\n67hz=5\n69hz=6\n71hz=7\n73hz=8\n75hz=9\n77hz=10\n79hz=11\n81hz=12\n83hz=13\n85hz=14\n87hz=15\n89hz=16\n91hz=17\n93hz=18\n95hz=19\n97hz=20\n99hz=21\n101hz=22\n103hz=23\n105hz=24\n107hz=25\n110hz=26\n113hz=27\n116hz=28\n119hz=29\n122hz=30\n125hz=31\n128hz=32\n131hz=33\n134hz=34\n137hz=35\n140hz=36\n143hz=37\n146hz=38\n149hz=39\n152hz=40\n155hz=41\n158hz=42\n162hz=43\n166hz=44\n170hz=45\n174hz=46\n178hz=47\n182hz=48\n186hz=49\n190hz=50\n194hz=51\n198hz=52\n202hz=53\n206hz=54\n210hz=55\n214hz=56\n219hz=57\n224hz=58\n229hz=59\n234hz=60\n239hz=61\n244hz=62\n249hz=63\n254hz=64\n259hz=65\n264hz=66\n269hz=67\n275hz=68\n281hz=69\n287hz=70\n293hz=71\n299hz=72\n305hz=73\n311hz=74\n317hz=75\n323hz=76\n330hz=77\n337hz=78\n344hz=79\n351hz=80\n358hz=81\n365hz=82\n372hz=83\n380hz=84\n388hz=85\n396hz=86\n404hz=87\n412hz=88\n420hz=89\n428hz=90\n437hz=91\n446hz=92\n455hz=93\n464hz=94\n473hz=95\n482hz=96\n492hz=97\n502hz=98\n512hz=99\n522hz=100\n532hz=101\n543hz=102\n554hz=103\n565hz=104\n576hz=105\n587hz=106\n599hz=107\n611hz=108\n623hz=109\n635hz=110\n648hz=111\n661hz=112\n674hz=113\n687hz=114\n700hz=115\n714hz=116\n728hz=117\n742hz=118\n757hz=119\n772hz=120\n787hz=121\n802hz=122\n818hz=123\n834hz=124\n850hz=125\n867hz=126\n884hz=127\n901hz=128\n919hz=129\n937hz=130\n955hz=131\n974hz=132\n993hz=133\n1012hz=134\n1032hz=135\n1052hz=136\n1072hz=137\n1093hz=138\n1114hz=139\n1136hz=140\n1158hz=141\n1180hz=142\n1203hz=143\n1226hz=144\n1250hz=145\n1274hz=146\n1299hz=147\n1324hz=148\n1350hz=149\n1376hz=150\n1403hz=151\n1430hz=152\n1458hz=153\n1486hz=154\n1515hz=155\n1544hz=156\n1574hz=157\n1604hz=158\n1635hz=159\n1666hz=160\n1698hz=161\n1731hz=162\n1764hz=163\n1798hz=164\n1833hz=165\n1868hz=166\n1904hz=167\n1941hz=168\n1978hz=169\n2016hz=170\n2055hz=171\n2094hz=172\n2134hz=173\n2175hz=174\n2217hz=175\n2259hz=176\n2302hz=177\n2346hz=178\n2391hz=179\n2437hz=180\n2484hz=181\n2531hz=182\n2579hz=183\n2628hz=184\n2678hz=185\n1729hz=186\n2781hz=187\n2834hz=188\n2888hz=189\n2943hz=190\n2999hz=191\n3056hz=192\n3114hz=193\n3173hz=194\n3233hz=195\n3295hz=196\n3358hz=197\n3422hz=198\n3487hz=199\n3553hz=200\n3621hz=201\n3690hz=202\n3760hz=203\n3832hz=204\n3905hz=205\n3979hz=206\n4055hz=207\n4132hz=208\n4211hz=209\n4291hz=210\n4373hz=211\n4456hz=212\n4541hz=213\n4627hz=214\n4715hz=215\n4805hz=216\n4896hz=217\n4989hz=218\n5084hz=219\n5181hz=220\n5279hz=221\n5379hz=222\n5481hz=223\n5585hz=224\n5691hz=225\n5799hz=226\n5909hz=227\n6021hz=228\n6135hz=229\n6252hz=230\n6371hz=231\n6492hz=232\n6615hz=233\n6741hz=234\n6869hz=235\n6999hz=236\n7132hz=237\n7267hz=238\n7405hz=239\n7545hz=240\n7688hz=241\n7834hz=242\n7983hz=243\n8134hz=244\n8288hz=245\n8445hz=246\n8605hz=247\n8768hz=248\n8934hz=249\n9103hz=250\n9276hz=251\n9452hz=252\n9631hz=253\n9814hz=254\n10000hz=255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Resonance") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") 	elseif Choice == 4 then --swept eq 1 2 and 3 	cutoffComp:setPropertyString("componentVisibleName", "Swept eq freq") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","83hz=0\n85hz=1\n87hz=2\n89hz=3\n91hz=4\n93hz=5\n95hz=6\n97hz=7\n99hz=8\n101hz=9\n103hz=10\n105hz=11\n107hz=12\n109hz=13\n111hz=14\n113hz=15\n116hz=16\n119hz=17\n122hz=18\n125hz=19\n128hz=20\n131hz=21\n134hz=22\n137hz=23\n140hz=24\n143hz=25\n146hz=26\n149hz=27\n152hz=28\n155hz=29\n158hz=30\n161hz=31\n164hz=32\n167hz=33\n170hz=34\n174hz=35\n178hz=36\n182hz=37\n186hz=38\n190hz=39\n194hz=40\n198hz=41\n202hz=42\n206hz=43\n210hz=44\n214hz=45\n218hz=46\n222hz=47\n226hz=48\n231hz=49\n236hz=50\n241hz=51\n246hz=52\n251hz=53\n256hz=54\n261hz=55\n266hz=56\n271hz=57\n276hz=58\n281hz=59\n287hz=60\n293hz=61\n299hz=62\n305hz=63\n311hz=64\n317hz=65\n323hz=66\n329hz=67\n335hz=68\n342hz=69\n349hz=70\n356hz=71\n363hz=72\n370hz=73\n377hz=74\n384hz=75\n391hz=76\n399hz=77\n407hz=78\n415hz=79\n423hz=80\n431hz=81\n439hz=82\n447hz=83\n455hz=84\n464hz=85\n473hz=86\n482hz=87\n491hz=88\n500hz=89\n509hz=90\n519hz=91\n529hz=92\n539hz=93\n549hz=94\n559hz=95\n570hz=96\n581hz=97\n592hz=98\n603hz=99\n614hz=100\n625hz=101\n637hz=102\n649hz=103\n661hz=104\n673hz=105\n686hz=106\n699hz=107\n712hz=108\n725hz=109\n738hz=110\n752hz=111\n766hz=112\n780hz=113\n794hz=114\n809hz=115\n824hz=116\n839hz=117\n855hz=118\n871hz=119\n887hz=120\n903hz=121\n920hz=122\n937hz=123\n954hz=124\n972hz=125\n990hz=126\n1008hz=127\n1027hz=128\n1046hz=129\n1065hz=130\n1085hz=131\n1105hz=132\n1125hz=133\n1146hz=134\n1167hz=135\n1183hz=136\n1210hz=137\n1232hz=138\n1255hz=139\n1278hz=140\n1301hz=141\n1325hz=142\n1349hz=143\n1374hz=144\n1399hz=145\n1425hz=146\n1451hz=147\n1477hz=148\n1504hz=149\n1531hz=150\n1559hz=151\n1587hz=152\n1616hz=153\n1645hz=154\n1675hz=155\n1705hz=156\n1736hz=157\n1768hz=158\n1800hz=159\n1833hz=160\n1866hz=161\n1900hz=162\n1934hz=163\n1969hz=164\n2005hz=165\n2041hz=166\n2078hz=167\n2116hz=168\n2154hz=169\n2193hz=170\n2233hz=171\n2273hz=172\n2314hz=173\n2356hz=174\n2399hz=175\n2442hz=176\n2486hz=177\n2531hz=178\n2577hz=179\n2624hz=180\n2671hz=181\n2719hz=182\n2768hz=183\n2818hz=184\n2869hz=185\n2921hz=186\n2974hz=187\n3028hz=189\n3083hz=190\n3139hz=191\n3196hz=192\n3254hz=193\n3313hz=194\n3373hz=195\n3434hz=196\n3496hz=197\n3559hz=198\n3623hz=199\n3688hz=200\n3754hz=201\n3822hz=202\n3891hz=203\n3961hz=204\n4032hz=205\n4105hz=206\n4179hz=207\n4254hz=208\n4331hz=209\n4409hz=210\n4488hz=211\n4569hz=212\n4651hz=213\n4735hz=214\n4820hz=215\n4907hz=216\n4995hz=217\n5085hz=218\n5177hz=219\n5270hz=220\n5365hz=221\n5461hz=222\n5559hz=223\n5659hz=224\n5761hz=225\n5865hz=226\n5970hz=227\n6077hz=228\n6186hz=229\n6297hz=230\n6410hz=231\n6525hz=232\n6642hz=233\n6761hz=234\n6882hz=235\n7006hz=236\n7132hz=237\n7260hz=238\n7390hz=239\n7523hz=240\n7658hz=241\n7796hz=242\n7936hz=243\n8078hz=244\n8223hz=245\n8371hz=246\n8521hz=247\n8674hz=248\n8830hz=249\n8989hz=250\n9150hz=251\n9314hz=252\n9481hz=253\n9651hz=254\n9824hz=255\n10000hz=256") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Gain") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..dbArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") 	elseif Choice == 5 then --phaser 1 2 and bat phaser 	cutoffComp:setPropertyString("componentVisibleName", "Phaser freq") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Resonance") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") 	elseif Choice == 6 then --flanger lite 	cutoffComp:setPropertyString("componentVisibleName", "Flanger freq") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Resonance") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") 	elseif Choice == 7 then --vocal filters 	cutoffComp:setPropertyString("componentVisibleName", "Morph") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Body size") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph01Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph02Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph02Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph03Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph03Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph04Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph04Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph05Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph05Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", " ") 	morph06Mod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	morph06Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", " ") 	elseif Choice == 8 then --dual eq morph 	cutoffComp:setPropertyString("componentVisibleName", "Morph") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Gain") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..dbArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph02Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph03Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph04Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph05Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph06Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph01Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", "Gain") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", "Gain") 	 	MorphFreqArray(1) 	FilterGainValues() 	elseif Choice == 9 then --2eq + lp morph 	cutoffComp:setPropertyString("componentVisibleName", "Fc / Morph") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Lpf Q") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph02Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph03Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph04Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph05Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph06Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph01Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", "Gain") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", "Gain") --	morph01Mod:getComponent():setPropertyString("uiFixedSliderContent","") 	MorphFreqArray(1) 	FilterGainValues() elseif Choice == 10 then ----2eq morph + expression 	cutoffComp:setPropertyString("componentVisibleName", "Morph") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Expression") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..resArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph02Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph03Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph04Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph05Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph06Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph01Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", "Gain") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", "Low") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", "High") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", "Gain") 	MorphFreqArray(1) 	FilterGainValues() 	elseif Choice == 11 then --peak/shelf morph 	cutoffComp:setPropertyString("componentVisibleName", "Morph") 	cutoffComp:setPropertyString("uiFixedSliderContent","") 	cutoffComp:setPropertyString("uiFixedSliderContent","0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127\n128\n129\n130\n131\n132\n133\n134\n135\n136\n137\n138\n139\n140\n141\n142\n143\n144\n145\n146\n147\n148\n149\n150\n151\n152\n153\n154\n155\n156\n157\n158\n159\n160\n161\n162\n163\n164\n165\n166\n167\n168\n169\n170\n171\n172\n173\n174\n175\n176\n177\n178\n179\n180\n181\n182\n183\n184\n185\n186\n187\n188\n189\n190\n191\n192\n193\n194\n195\n196\n197\n198\n199\n200\n201\n202\n203\n204\n205\n206\n207\n208\n209\n210\n211\n212\n213\n214\n215\n216\n217\n218\n219\n220\n221\n222\n223\n224\n225\n226\n227\n228\n229\n230\n231\n232\n233\n234\n235\n236\n237\n238\n239\n240\n241\n242\n243\n244\n245\n246\n247\n248\n249\n250\n251\n252\n253\n254\n255") 	Cutoff:setModulatorValue(cutoff, false, true, false) --res 	resComp:setPropertyString("componentVisibleName", "Peak") 	resComp:setPropertyString("uiFixedSliderContent","") 	resComp:setPropertyString("uiFixedSliderContent",""..dbArray) 	resonance:setModulatorValue(resval, false, true, false) 	morph01Mod:getComponent():setPropertyString("componentVisibleName", "Freq") 	morph02Mod:getComponent():setPropertyString("componentVisibleName", "Shelf") 	morph03Mod:getComponent():setPropertyString("componentVisibleName", "Peak") 	morph04Mod:getComponent():setPropertyString("componentVisibleName", "Freq") 	morph05Mod:getComponent():setPropertyString("componentVisibleName", "Shelf") 	morph06Mod:getComponent():setPropertyString("componentVisibleName", "Peak") 	morph01Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph02Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph03Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph04Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph05Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	morph06Mod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	MorphFreqArray(2) 	FilterGainValues() 	end --	a = panel:getModulatorByName("filterPlot") --	repaint = a:getComponent() --	repaint:repaint() end --send midi change restore = panel:getRestoreState() if restore ~= true then paramChangeMsg(82,0,value) end end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="dc00baab77be0b3f15ecbb0da730728d"
luaMethodValid="1"/>
<luaMethod luaMethodName="cutoffChanged" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cutoffChanged = function(mod, value) if loaded == true then filtertype = panel:getModulatorByName("filterType"):getValue() if filtertype == 0 then Choice = 0 end --lowpass1 if filtertype == 1 then Choice = 0 end --lowpass2 if filtertype == 2 then Choice = 0 end --lowpass3 if filtertype == 3 then Choice = 1 end --highpass1 if filtertype == 4 then Choice = 1 end --highpass2 if filtertype == 5 then Choice = 2 end --bandpass1 if filtertype == 6 then Choice = 2 end --bandpass1 if filtertype == 7 then Choice = 2 end --bandpass3 if filtertype == 8 then Choice = 3 end --swept1 if filtertype == 9 then Choice = 3 end --swept2 if filtertype == 10 then Choice = 3 end --swept3 if filtertype == 11 then Choice = 4 end --phaser1 if filtertype == 12 then Choice = 4 end --phaser2 if filtertype == 13 then Choice = 4 end --bat-phaser if filtertype == 14 then Choice = 4 end --flanger lite if filtertype == 15 then Choice = 4 end --vocal AhayEe if filtertype == 16 then Choice = 4 end --vocal OoAh if filtertype == 17 then Choice = 4 end --dual eq morph if filtertype == 18 then Choice = 4 end --2eq + lp morph if filtertype == 19 then Choice = 4 end --2eq morph + expression if filtertype == 20 then Choice = 4 end --peak/shelf morph if cutoffLCD ~= nil then 	if Choice == 0 then cutoffLCD:setPropertyString("uiLabelText", ""..lowpass[value+1]) 	elseif Choice == 1 then	cutoffLCD:setPropertyString("uiLabelText", ""..highpass[value+1]) 	elseif Choice == 2 then	cutoffLCD:setPropertyString("uiLabelText", ""..bandpass[value+1]) 	elseif Choice == 3 then	cutoffLCD:setPropertyString("uiLabelText", ""..swept[value+1]) 	elseif Choice == 4 then	cutoffLCD:setPropertyString("uiLabelText", ""..value) 	end end --	a = panel:getModulatorByName("filterPlot") --	repaint = a:getComponent() --	repaint:repaint() --end --send midi change restore = panel:getRestoreState() if restore ~= true then paramChangeMsg(83,0,value) end end 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="4a2c8efe29dc94a5e438e51e03a9ebcc"
luaMethodValid="1"/>
<luaMethod luaMethodName="switchFilter" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- switchFilter = function(mod, value) restore = panel:getRestoreState() if restore ~= true then if filterMode ~= nil then filterMode:setModulatorValue(value, false, false, false) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="338de9fd70e1d144d3456e5a1db3527b" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphParam01" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphParam01 = function(mod, value) restore = panel:getRestoreState() 	 	if restore ~= true then 	paramChangeMsg(87,0,value) 	 	end 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() end "
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="32f78d5003f38c4ab1bb31d44b5498b5" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphShelf01" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphShelf01 = function(mod, value) restore = panel:getRestoreState() 	if restore ~= true then --	if value >= 0 then 	--	value = value+64 		paramChangeMsg(88,0,16384+value) --		else --		paramChangeMsg(88,0,16384+value*(-1)) --		end a = panel:getModulatorByName("FilterGraph") repaint = a:getComponent() repaint:repaint() end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="0bb81115c58fdc90abba2ce3328dc049" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphPeak01" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphPeak01 = function(mod, value) restore = panel:getRestoreState() 	if restore ~= true then 	value = value 	paramChangeMsg(89,0,value) 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end "
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="27ad3450676a611a39d158be391f93af" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphParam04" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphParam04 = function(mod, value) restore = panel:getRestoreState() 	if restore ~= true then 	value = value 	paramChangeMsg(90,0,value) 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="8641e4dacc786cd46b539a1efd80a975" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphParam05" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphParam05 = function(mod, value) restore = panel:getRestoreState() 	if restore ~= true then --	if value >= 0 then --		value = value+64 		paramChangeMsg(91,0,16384+value) 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="1be229f07fbc25316f8b3fa25acf61d5" luaMethodValid="1"/>
<luaMethod luaMethodName="MorphParam06" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- MorphParam06 = function(mod, value) restore = panel:getRestoreState() 	if restore ~= true then 	value = value 	paramChangeMsg(92,0,value) 	a = panel:getModulatorByName("FilterGraph") 	repaint = a:getComponent() 	repaint:repaint() 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="1b019fd9811ea67c9315e689940b075f" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="Tuning" uuid="2a6e1bff1b9998f97ee12c5ace88a498">
<luaMethod luaMethodName="coarseTune" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- coarseTune = function(mod, value) if loaded == true then -- (128*128)-72+value for range limiting 	if restore ~= true then paramChangeMsg(41,0,16312+value) end end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="1143eeea8ba28f8118de2b052b2fead9"
luaMethodValid="1"/>
<luaMethod luaMethodName="fineTune" luaMethodCode="fineTune = function(mod, value) if restore ~= true then paramChangeMsg(42,0,16320+value) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="e154b88201baca760c9e620b05311ad9"
luaMethodValid="1"/>
<luaMethod luaMethodName="keyTranspose" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- keyTranspose = function(mod, value) value = value +104 if loaded == true then 	if restore ~= true then paramChangeMsg(43,0,value+16360) end 	console(string.format("KeyTranspose sent with value %.x",value)) 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="9deff3b51b82805f4afeb90ac40ae254" luaMethodValid="1"/>
<luaMethod luaMethodName="voiceNonTranspose" luaMethodCode="function voiceNonTranspose(mod, value) if loaded == true then 	if restore ~= true then paramChangeMsg(57,0,value) 	end 	if value == 1 then 	voiceKeytrans:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	voiceKeytrans:getComponent():setProperty("componentVisibleName"," ",true) 	coarseTune:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	coarseTune:getComponent():setProperty("componentVisibleName"," ",true) 	voiceFineTuneMod:getComponent():setProperty("uiImageSliderResource","BlackAngleGrey",true) 	voiceFineTuneMod:getComponent():setProperty("componentVisibleName"," ",true) 	else 	voiceKeytrans:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	voiceKeytrans:getComponent():setProperty("componentVisibleName","Key transpose",true) 	coarseTune:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	coarseTune:getComponent():setProperty("componentVisibleName","Coarse tune",true) 	voiceFineTuneMod:getComponent():setProperty("uiImageSliderResource","blackAngel97x4",true) 	voiceFineTuneMod:getComponent():setProperty("componentVisibleName","Fine tune",true) 	end end --what(comp) end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="504ace49b8c179ca093137ecdf4de86f"
luaMethodValid="1"/>
<luaMethod luaMethodName="SampleZoneRootNote" luaMethodCode="function SampleZoneRootNote(mod, value) if loaded == true then 	if restore ~= true then paramChangeMsg(44,0,value) 	end end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="854cc82d27957df15d9de4a1ce0e2c9c"
luaMethodValid="1"/>
<luaMethod luaMethodName="SetSampleZoneLowKey" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- SetSampleZoneLowKey = function(mod, value) 	if loaded == true then 	 	--	if midiInActive == true then 	 		local low = value 		local high = panel:getModulatorByName("sampleHighKey"):getValue() 		local range = high-low 		local c = panel:getModulatorByName("sampleZoneKeyWinFade") 		c:getComponent():setProperty("uiSliderMax",range, false) 	--		if high > range then 	--		c:setModulatorValue(0,true,false,true) 	--		c:setModulatorValue(range,true,false,true) -- --			else --			c:setModulatorValue(0,true,false,true) --			c:setModulatorValue(high,true,false,true) 			 --			end 			if restore ~= true then 			paramChangeMsg(45,0,value) 			end 		end 	--end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="a6aeb1095e4ddaf2fb5594c2f9ead119" luaMethodValid="1"/>
<luaMethod luaMethodName="SetSampleZoneHighKey" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- SetSampleZoneHighKey = function(mod, value) if loaded == true then local low = panel:getModulatorByName("sampleLowKey"):getValue() local high = value local range = high-low local c = panel:getModulatorByName("sampleZoneKeyWinFade") c:getComponent():setProperty("uiSliderMax",range, false) if c:getValue() > range then c:setModulatorValue(range,true,false,true) end 	if restore ~= true then paramChangeMsg(47,0,value) 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="1a69de2b7ed9438307def3ed5d34a21a" luaMethodValid="1"/>
<luaMethod luaMethodName="SetSampleZoneKeyWinFade" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- -- Range of this modulator is changed by low- & highkeysettings (range can never be greater that the total interval) SetSampleZoneKeyWinFade = function(mod, value) 	if loaded == true then 		if restore ~= true then 			if midiInActive ~= false then 			paramChangeMsg(46,0,value) 			end 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="3d34249cc38b57d4b3617a7bb5813d20" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="cords" uuid="faa4aa0efc9ecbc0ba21d8ecec0e34b0">
<luaMethod luaMethodName="cord00source" luaMethodCode=" -- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord00source = function(mod, value) if loaded == true then if value == 2 then --Key+=5 value = 5 elseif value == 3 then --Key~=9 value = 9 elseif value == 4 then --Vel+=10 value = 10 elseif value == 5 then --Vel~=11 value = 11 elseif value == 6 then --Vel<=12 value = 12 elseif value == 7 then --RlsVel=13 value = 13 elseif value == 8 then --Gate=14 value = 14 elseif value == 9 then --PitchWhl=15 value = 15 elseif value == 10 then --ModWhl=17 value = 17 elseif value == 11 then --Press=18 value = 18 elseif value == 12 then --Pedal=19 value = 19 elseif value == 13 then value = 20 elseif value == 14 then --MidiB=21 value = 21 elseif value == 15 then --FtSw1=22 value = 22 elseif value == 16 then--FtSw2=23 value = 23 elseif value == 17 then --Ft1FF=24 value = 24 elseif value == 18 then --Ft2FF=25 value = 25 elseif value == 19 then --MidiVl=26 value = 26 elseif value == 20 then --MidiPn=27 value = 27 elseif value == 21 then --MidiC=28 value = 28 elseif value == 22 then --MidiD=33 value = 33 elseif value == 23 then --MidiE=34 value = 34 elseif value == 24 then --MidiF=35 value = 35 elseif value == 25 then --MidiG=36 value = 36 elseif value == 26 then --MidiH=37 value = 37 elseif value == 27 then --Thumb=38 value = 38 elseif value == 28 then --ThmFF=39 value = 39 elseif value == 29 then --KeyGld=40 value = 40 elseif value == 30 then --VEnv+=60 value = 60 elseif value == 31 then --VEnv~=73 value = 73 elseif value == 32 then --VEnv<=74 value = 74 elseif value == 33 then --FEnv+=80 value = 80 elseif value == 34 then--FEnv~=81 value = 81 elseif value == 35 then--FEnv<=82 value = 82 elseif value == 36 then--AEnv+=83 value = 83 elseif value == 37 then---AEnv~=89 value = 89 elseif value == 38 then --AEnv<=90 value = 90 elseif value == 39 then --Lfo1~=91 value = 91 elseif value == 40 then --Lfo1+=97 value = 97 elseif value == 41 then --White=98 value = 98 elseif value == 42 then --Pink=99 value = 99 elseif value == 43 then --kRand1=100 value = 100 elseif value == 44 then --kRand2=101 value = 101 elseif value == 45 then --Lfo2~=102 value = 102 elseif value == 46 then --Lfo2+=105 value = 105 elseif value == 47 then --Lag0in=106 value = 106 elseif value == 48 then --Lag0=107 value = 107 elseif value == 49 then --Lag1in=108 value = 108 elseif value == 50 then --Lag1=109 value = 109 elseif value == 51 then --CkDwhl=110 value = 110 elseif value == 52 then --CkWhl=145 value = 145 elseif value == 53 then --CkHalf=146 value = 146 elseif value == 54 then --CkQtr=147 value = 147 elseif value == 55 then --Ck8th=148 value = 148 elseif value == 56 then --Ck16th=149 value = 149 elseif value == 57 then --DC=150 value = 150 elseif value == 58 then --Sum=161 value = 161 elseif value == 59 then --Switch=162 value = 162 elseif value == 60 then --Abs=163 value = 163 elseif value == 61 then --Diode=164 value = 164 elseif value == 62 then--FlipFlop=165 value = 165 elseif value == 63 then --Quantize=166 value = 166 elseif value == 64 then--Gainx4=167 value = 167 end paramChangeMsg(1,1,value) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="09b6845840006e0383ffb6564406dacc" luaMethodValid="1"/>
<luaMethod luaMethodName="cord00dest" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord00dest = function(mod, value) if loaded == true then if value == 0 then --off=0 bi = 0 elseif value == 1 then --Keysust=1 bi = 1 elseif value == 2 then --FinePitch=10 bi = 10 elseif value == 3 then --Pitch=48 bi = 48 elseif value == 4 then --Glide=49 bi = 49 elseif value == 5 then --ChrsAmt=50 bi = 50 elseif value == 6 then --ChrsITD=51 bi = 51 elseif value == 7 then --SStart=52 bi = 52 elseif value == 8 then --SLoop=53 bi = 53 elseif value == 9 then --SRetrig=54 bi = 54 elseif value == 10 then --FilFreq=56 bi = 56 elseif value == 11 then --FilRes=57 bi = 57 elseif value == 12 then --AmpVol=58 bi = 58 elseif value == 13 then --AmpPan=65 bi = 65 elseif value == 14 then --AmpXfd=66 bi = 66 elseif value == 15 then --VenvRts=67 bi = 67 elseif value == 16 then --VenvAtk=73 bi = 73 elseif value == 17 then --VenvDcy=74 bi = 74 elseif value == 18 then --VenvRls=75 bi = 75 elseif value == 19 then --FenvRts=76 bi = 76 elseif value == 20 then --FenvAtk=81 bi = 81 elseif value == 21 then --FenvDcy=82 bi = 82 elseif value == 22 then --FenvRls=83 bi = 83 elseif value == 23 then --FenvTrg=84 bi = 84 elseif value == 24 then --AEnvRts=88 bi = 88 elseif value == 25 then --AEnvAtk=89 bi = 89 elseif value == 26 then --AEnvDcy=90 bi = 90 elseif value == 27 then --AEnvRls=91 bi = 91 elseif value == 28 then --AEnvTrg=92 bi = 92 elseif value == 29 then --Lfo1Rate=96 bi = 96 elseif value == 30 then --Lfo1Trg=97 bi = 97 elseif value == 31 then --Lfo2rate=98 bi = 98 elseif value == 32 then --Lfo2Trg=105 bi = 105 elseif value == 33 then --Lag0in=106 bi = 106 elseif value == 34 then --Lag1in=107 bi = 107 elseif value == 35 then --Sum=111 bi = 111 elseif value == 36 then --Switch=162 bi = 162 elseif value == 37 then --Abs=163 bi = 163 elseif value == 38 then --Diode=164 bi = 164 elseif value == 39 then --FlipFlop=165 bi = 165 elseif value == 40 then --Quantize=166 bi = 166 elseif value == 41 then --Gainx4=167 bi = 167 elseif value == 42 then --C00Amt=168 bi = 168 elseif value == 43 then --C01Amt=169 bi = 169 elseif value == 44 then --C02Amt=170 bi = 170 elseif value == 45 then --C03Amt=171 bi = 171 elseif value == 46 then --C04Amt=172 bi = 172 elseif value == 47 then --C05Amt=173 bi = 173 elseif value == 48 then --C06Amt=174 bi = 174 elseif value == 49 then --C07Amt=175 bi = 175 elseif value == 50 then --C08Amt=176 bi = 176 elseif value == 51 then --C09Amt=177 bi = 177 elseif value == 52 then --C10Amt=178 bi = 178 elseif value == 53 then --C11Amt=179 bi = 179 elseif value == 54 then --C12Amt=180 bi = 180 elseif value == 55 then --C13Amt=181 bi = 151 elseif value == 56 then --C14Amt=182 bi = 182 elseif value == 57 then --C15Amt=183 bi = 183 elseif value == 58 then --C16Amt=184 bi = 184 elseif value == 59 then --C17Amt=185 bi = 185 end paramChangeMsg(2,1,bi) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="665ffe0e5ccef5c72ee4655e740379e4" luaMethodValid="1"/>
<luaMethod luaMethodName="cord00amt" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord00amt = function(mod, value) if loaded == true then if value < 0 then local amount = (128*128)+value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(3,1,LS,MS) end if value >= 0 then local amount = value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(3,1,LS,MS) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="ddbb391d8de2d3a55329d4c072e36e2f" luaMethodValid="1"/>
<luaMethod luaMethodName="cord01source" luaMethodCode="function cord01source(mod, value) if loaded == true then --console(string.format("cord 01 source value is %.d", value)) if value == 2 then --Key+=5 value = 5 elseif value == 3 then --Key~=9 value = 9 elseif value == 4 then --Vel+=10 value = 10 elseif value == 5 then --Vel~=11 value = 11 elseif value == 6 then --Vel<=12 value = 12 elseif value == 7 then --RlsVel=13 value = 13 elseif value == 8 then --Gate=14 value = 14 elseif value == 9 then --PitchWhl=15 value = 15 elseif value == 10 then --ModWhl=17 value = 17 elseif value == 11 then --Press=18 value = 18 elseif value == 12 then --Pedal=19 value = 19 elseif value == 13 then value = 20 elseif value == 14 then --MidiB=21 value = 21 elseif value == 15 then --FtSw1=22 value = 22 elseif value == 16 then--FtSw2=23 value = 23 elseif value == 17 then --Ft1FF=24 value = 24 elseif value == 18 then --Ft2FF=25 value = 25 elseif value == 19 then --MidiVl=26 value = 26 elseif value == 20 then --MidiPn=27 value = 27 elseif value == 21 then --MidiC=28 value = 28 elseif value == 22 then --MidiD=33 value = 33 elseif value == 23 then --MidiE=34 value = 34 elseif value == 24 then --MidiF=35 value = 35 elseif value == 25 then --MidiG=36 value = 36 elseif value == 26 then --MidiH=37 value = 37 elseif value == 27 then --Thumb=38 value = 38 elseif value == 28 then --ThmFF=39 value = 39 elseif value == 29 then --KeyGld=40 value = 40 elseif value == 30 then --VEnv+=60 value = 60 elseif value == 31 then --VEnv~=73 value = 73 elseif value == 32 then --VEnv<=74 value = 74 elseif value == 33 then --FEnv+=80 value = 80 elseif value == 34 then--FEnv~=81 value = 81 elseif value == 35 then--FEnv<=82 value = 82 elseif value == 36 then--AEnv+=83 value = 83 elseif value == 37 then---AEnv~=89 value = 89 elseif value == 38 then --AEnv<=90 value = 90 elseif value == 39 then --Lfo1~=91 value = 91 elseif value == 40 then --Lfo1+=97 value = 97 elseif value == 41 then --White=98 value = 98 elseif value == 42 then --Pink=99 value = 99 elseif value == 43 then --kRand1=100 value = 100 elseif value == 44 then --kRand2=101 value = 101 elseif value == 45 then --Lfo2~=102 value = 102 elseif value == 46 then --Lfo2+=105 value = 105 elseif value == 47 then --Lag0in=106 value = 106 elseif value == 48 then --Lag0=107 value = 107 elseif value == 49 then --Lag1in=108 value = 108 elseif value == 50 then --Lag1=109 value = 109 elseif value == 51 then --CkDwhl=110 value = 110 elseif value == 52 then --CkWhl=145 value = 145 elseif value == 53 then --CkHalf=146 value = 146 elseif value == 54 then --CkQtr=147 value = 147 elseif value == 55 then --Ck8th=148 value = 148 elseif value == 56 then --Ck16th=149 value = 149 elseif value == 57 then --DC=150 value = 150 elseif value == 58 then --Sum=161 value = 161 elseif value == 59 then --Switch=162 value = 162 elseif value == 60 then --Abs=163 value = 163 elseif value == 61 then --Diode=164 value = 164 elseif value == 62 then--FlipFlop=165 value = 165 elseif value == 63 then --Quantize=166 value = 166 elseif value == 64 then--Gainx4=167 value = 167 end paramChangeMsg(4,1,value) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="6e1a3784a40557e74a33ad9772515b36"
luaMethodValid="1"/>
<luaMethod luaMethodName="cord01dest" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord01dest = function(mod, value) if loaded == true then if value == 0 then --off=0 bi = 0 elseif value == 1 then --Keysust=1 bi = 1 elseif value == 2 then --FinePitch=10 bi = 10 elseif value == 3 then --Pitch=48 bi = 48 elseif value == 4 then --Glide=49 bi = 49 elseif value == 5 then --ChrsAmt=50 bi = 50 elseif value == 6 then --ChrsITD=51 bi = 51 elseif value == 7 then --SStart=52 bi = 52 elseif value == 8 then --SLoop=53 bi = 53 elseif value == 9 then --SRetrig=54 bi = 54 elseif value == 10 then --FilFreq=56 bi = 56 elseif value == 11 then --FilRes=57 bi = 57 elseif value == 12 then --AmpVol=58 bi = 58 elseif value == 13 then --AmpPan=65 bi = 65 elseif value == 14 then --AmpXfd=66 bi = 66 elseif value == 15 then --VenvRts=67 bi = 67 elseif value == 16 then --VenvAtk=73 bi = 73 elseif value == 17 then --VenvDcy=74 bi = 74 elseif value == 18 then --VenvRls=75 bi = 75 elseif value == 19 then --FenvRts=76 bi = 76 elseif value == 20 then --FenvAtk=81 bi = 81 elseif value == 21 then --FenvDcy=82 bi = 82 elseif value == 22 then --FenvRls=83 bi = 83 elseif value == 23 then --FenvTrg=84 bi = 84 elseif value == 24 then --AEnvRts=88 bi = 88 elseif value == 25 then --AEnvAtk=89 bi = 89 elseif value == 26 then --AEnvDcy=90 bi = 90 elseif value == 27 then --AEnvRls=91 bi = 91 elseif value == 28 then --AEnvTrg=92 bi = 92 elseif value == 29 then --Lfo1Rate=96 bi = 96 elseif value == 30 then --Lfo1Trg=97 bi = 97 elseif value == 31 then --Lfo2rate=98 bi = 98 elseif value == 32 then --Lfo2Trg=105 bi = 105 elseif value == 33 then --Lag0in=106 bi = 106 elseif value == 34 then --Lag1in=107 bi = 107 elseif value == 35 then --Sum=111 bi = 111 elseif value == 36 then --Switch=162 bi = 162 elseif value == 37 then --Abs=163 bi = 163 elseif value == 38 then --Diode=164 bi = 164 elseif value == 39 then --FlipFlop=165 bi = 165 elseif value == 40 then --Quantize=166 bi = 166 elseif value == 41 then --Gainx4=167 bi = 167 elseif value == 42 then --C00Amt=168 bi = 168 elseif value == 43 then --C01Amt=169 bi = 169 elseif value == 44 then --C02Amt=170 bi = 170 elseif value == 45 then --C03Amt=171 bi = 171 elseif value == 46 then --C04Amt=172 bi = 172 elseif value == 47 then --C05Amt=173 bi = 173 elseif value == 48 then --C06Amt=174 bi = 174 elseif value == 49 then --C07Amt=175 bi = 175 elseif value == 50 then --C08Amt=176 bi = 176 elseif value == 51 then --C09Amt=177 bi = 177 elseif value == 52 then --C10Amt=178 bi = 178 elseif value == 53 then --C11Amt=179 bi = 179 elseif value == 54 then --C12Amt=180 bi = 180 elseif value == 55 then --C13Amt=181 bi = 151 elseif value == 56 then --C14Amt=182 bi = 182 elseif value == 57 then --C15Amt=183 bi = 183 elseif value == 58 then --C16Amt=184 bi = 184 elseif value == 59 then --C17Amt=185 bi = 185 end paramChangeMsg(5,1,bi) end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="40a44b12433eb340b7c3a4891bf06846"
luaMethodValid="1"/>
<luaMethod luaMethodName="cord01amount" luaMethodCode="function cord01amount(mod, value) if loaded == true then if value < 0 then local amount = (128*128)+value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(6,1,LS,MS) end if value >= 0 then local amount = value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(6,1,LS,MS) end end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="9d2f03cfaa2cd275a56118bc948a04d4"
luaMethodValid="1"/>
<luaMethod luaMethodName="cord02source" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord02source = function(mod, value) if loaded == true then --console(string.format("cord 01 source value is %.d", value)) if value == 2 then --Key+=5 value = 5 elseif value == 3 then --Key~=9 value = 9 elseif value == 4 then --Vel+=10 value = 10 elseif value == 5 then --Vel~=11 value = 11 elseif value == 6 then --Vel<=12 value = 12 elseif value == 7 then --RlsVel=13 value = 13 elseif value == 8 then --Gate=14 value = 14 elseif value == 9 then --PitchWhl=15 value = 15 elseif value == 10 then --ModWhl=17 value = 17 elseif value == 11 then --Press=18 value = 18 elseif value == 12 then --Pedal=19 value = 19 elseif value == 13 then value = 20 elseif value == 14 then --MidiB=21 value = 21 elseif value == 15 then --FtSw1=22 value = 22 elseif value == 16 then--FtSw2=23 value = 23 elseif value == 17 then --Ft1FF=24 value = 24 elseif value == 18 then --Ft2FF=25 value = 25 elseif value == 19 then --MidiVl=26 value = 26 elseif value == 20 then --MidiPn=27 value = 27 elseif value == 21 then --MidiC=28 value = 28 elseif value == 22 then --MidiD=33 value = 33 elseif value == 23 then --MidiE=34 value = 34 elseif value == 24 then --MidiF=35 value = 35 elseif value == 25 then --MidiG=36 value = 36 elseif value == 26 then --MidiH=37 value = 37 elseif value == 27 then --Thumb=38 value = 38 elseif value == 28 then --ThmFF=39 value = 39 elseif value == 29 then --KeyGld=40 value = 40 elseif value == 30 then --VEnv+=60 value = 60 elseif value == 31 then --VEnv~=73 value = 73 elseif value == 32 then --VEnv<=74 value = 74 elseif value == 33 then --FEnv+=80 value = 80 elseif value == 34 then--FEnv~=81 value = 81 elseif value == 35 then--FEnv<=82 value = 82 elseif value == 36 then--AEnv+=83 value = 83 elseif value == 37 then---AEnv~=89 value = 89 elseif value == 38 then --AEnv<=90 value = 90 elseif value == 39 then --Lfo1~=91 value = 91 elseif value == 40 then --Lfo1+=97 value = 97 elseif value == 41 then --White=98 value = 98 elseif value == 42 then --Pink=99 value = 99 elseif value == 43 then --kRand1=100 value = 100 elseif value == 44 then --kRand2=101 value = 101 elseif value == 45 then --Lfo2~=102 value = 102 elseif value == 46 then --Lfo2+=105 value = 105 elseif value == 47 then --Lag0in=106 value = 106 elseif value == 48 then --Lag0=107 value = 107 elseif value == 49 then --Lag1in=108 value = 108 elseif value == 50 then --Lag1=109 value = 109 elseif value == 51 then --CkDwhl=110 value = 110 elseif value == 52 then --CkWhl=145 value = 145 elseif value == 53 then --CkHalf=146 value = 146 elseif value == 54 then --CkQtr=147 value = 147 elseif value == 55 then --Ck8th=148 value = 148 elseif value == 56 then --Ck16th=149 value = 149 elseif value == 57 then --DC=150 value = 150 elseif value == 58 then --Sum=161 value = 161 elseif value == 59 then --Switch=162 value = 162 elseif value == 60 then --Abs=163 value = 163 elseif value == 61 then --Diode=164 value = 164 elseif value == 62 then--FlipFlop=165 value = 165 elseif value == 63 then --Quantize=166 value = 166 elseif value == 64 then--Gainx4=167 value = 167 end paramChangeMsg(7,1,value) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="71617a9cc69668ff19ee22a6577347dc" luaMethodValid="1"/>
<luaMethod luaMethodName="cord02dest" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord02dest = function(mod, value) if loaded == true then if value == 0 then --off=0 bi = 0 elseif value == 1 then --Keysust=1 bi = 1 elseif value == 2 then --FinePitch=10 bi = 10 elseif value == 3 then --Pitch=48 bi = 48 elseif value == 4 then --Glide=49 bi = 49 elseif value == 5 then --ChrsAmt=50 bi = 50 elseif value == 6 then --ChrsITD=51 bi = 51 elseif value == 7 then --SStart=52 bi = 52 elseif value == 8 then --SLoop=53 bi = 53 elseif value == 9 then --SRetrig=54 bi = 54 elseif value == 10 then --FilFreq=56 bi = 56 elseif value == 11 then --FilRes=57 bi = 57 elseif value == 12 then --AmpVol=58 bi = 58 elseif value == 13 then --AmpPan=65 bi = 65 elseif value == 14 then --AmpXfd=66 bi = 66 elseif value == 15 then --VenvRts=67 bi = 67 elseif value == 16 then --VenvAtk=73 bi = 73 elseif value == 17 then --VenvDcy=74 bi = 74 elseif value == 18 then --VenvRls=75 bi = 75 elseif value == 19 then --FenvRts=76 bi = 76 elseif value == 20 then --FenvAtk=81 bi = 81 elseif value == 21 then --FenvDcy=82 bi = 82 elseif value == 22 then --FenvRls=83 bi = 83 elseif value == 23 then --FenvTrg=84 bi = 84 elseif value == 24 then --AEnvRts=88 bi = 88 elseif value == 25 then --AEnvAtk=89 bi = 89 elseif value == 26 then --AEnvDcy=90 bi = 90 elseif value == 27 then --AEnvRls=91 bi = 91 elseif value == 28 then --AEnvTrg=92 bi = 92 elseif value == 29 then --Lfo1Rate=96 bi = 96 elseif value == 30 then --Lfo1Trg=97 bi = 97 elseif value == 31 then --Lfo2rate=98 bi = 98 elseif value == 32 then --Lfo2Trg=105 bi = 105 elseif value == 33 then --Lag0in=106 bi = 106 elseif value == 34 then --Lag1in=107 bi = 107 elseif value == 35 then --Sum=111 bi = 111 elseif value == 36 then --Switch=162 bi = 162 elseif value == 37 then --Abs=163 bi = 163 elseif value == 38 then --Diode=164 bi = 164 elseif value == 39 then --FlipFlop=165 bi = 165 elseif value == 40 then --Quantize=166 bi = 166 elseif value == 41 then --Gainx4=167 bi = 167 elseif value == 42 then --C00Amt=168 bi = 168 elseif value == 43 then --C01Amt=169 bi = 169 elseif value == 44 then --C02Amt=170 bi = 170 elseif value == 45 then --C03Amt=171 bi = 171 elseif value == 46 then --C04Amt=172 bi = 172 elseif value == 47 then --C05Amt=173 bi = 173 elseif value == 48 then --C06Amt=174 bi = 174 elseif value == 49 then --C07Amt=175 bi = 175 elseif value == 50 then --C08Amt=176 bi = 176 elseif value == 51 then --C09Amt=177 bi = 177 elseif value == 52 then --C10Amt=178 bi = 178 elseif value == 53 then --C11Amt=179 bi = 179 elseif value == 54 then --C12Amt=180 bi = 180 elseif value == 55 then --C13Amt=181 bi = 151 elseif value == 56 then --C14Amt=182 bi = 182 elseif value == 57 then --C15Amt=183 bi = 183 elseif value == 58 then --C16Amt=184 bi = 184 elseif value == 59 then --C17Amt=185 bi = 185 end paramChangeMsg(8,1,bi) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="3c36c01bf04f78ef1dd6e6b87c502c64" luaMethodValid="1"/>
<luaMethod luaMethodName="cord02amount" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord02amount = function(mod, value) if loaded == true then if value < 0 then local amount = (128*128)+value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(9,1,LS,MS) end if value >= 0 then local amount = value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(9,1,LS,MS) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="5da3f9f2352ede497522904c3ca346f5" luaMethodValid="1"/>
<luaMethod luaMethodName="cord03source" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord03source = function(mod, value) if loaded == true then if value == 2 then --Key+=5 value = 5 elseif value == 3 then --Key~=9 value = 9 elseif value == 4 then --Vel+=10 value = 10 elseif value == 5 then --Vel~=11 value = 11 elseif value == 6 then --Vel<=12 value = 12 elseif value == 7 then --RlsVel=13 value = 13 elseif value == 8 then --Gate=14 value = 14 elseif value == 9 then --PitchWhl=15 value = 15 elseif value == 10 then --ModWhl=17 value = 17 elseif value == 11 then --Press=18 value = 18 elseif value == 12 then --Pedal=19 value = 19 elseif value == 13 then value = 20 elseif value == 14 then --MidiB=21 value = 21 elseif value == 15 then --FtSw1=22 value = 22 elseif value == 16 then--FtSw2=23 value = 23 elseif value == 17 then --Ft1FF=24 value = 24 elseif value == 18 then --Ft2FF=25 value = 25 elseif value == 19 then --MidiVl=26 value = 26 elseif value == 20 then --MidiPn=27 value = 27 elseif value == 21 then --MidiC=28 value = 28 elseif value == 22 then --MidiD=33 value = 33 elseif value == 23 then --MidiE=34 value = 34 elseif value == 24 then --MidiF=35 value = 35 elseif value == 25 then --MidiG=36 value = 36 elseif value == 26 then --MidiH=37 value = 37 elseif value == 27 then --Thumb=38 value = 38 elseif value == 28 then --ThmFF=39 value = 39 elseif value == 29 then --KeyGld=40 value = 40 elseif value == 30 then --VEnv+=60 value = 60 elseif value == 31 then --VEnv~=73 value = 73 elseif value == 32 then --VEnv<=74 value = 74 elseif value == 33 then --FEnv+=80 value = 80 elseif value == 34 then--FEnv~=81 value = 81 elseif value == 35 then--FEnv<=82 value = 82 elseif value == 36 then--AEnv+=83 value = 83 elseif value == 37 then---AEnv~=89 value = 89 elseif value == 38 then --AEnv<=90 value = 90 elseif value == 39 then --Lfo1~=91 value = 91 elseif value == 40 then --Lfo1+=97 value = 97 elseif value == 41 then --White=98 value = 98 elseif value == 42 then --Pink=99 value = 99 elseif value == 43 then --kRand1=100 value = 100 elseif value == 44 then --kRand2=101 value = 101 elseif value == 45 then --Lfo2~=102 value = 102 elseif value == 46 then --Lfo2+=105 value = 105 elseif value == 47 then --Lag0in=106 value = 106 elseif value == 48 then --Lag0=107 value = 107 elseif value == 49 then --Lag1in=108 value = 108 elseif value == 50 then --Lag1=109 value = 109 elseif value == 51 then --CkDwhl=110 value = 110 elseif value == 52 then --CkWhl=145 value = 145 elseif value == 53 then --CkHalf=146 value = 146 elseif value == 54 then --CkQtr=147 value = 147 elseif value == 55 then --Ck8th=148 value = 148 elseif value == 56 then --Ck16th=149 value = 149 elseif value == 57 then --DC=150 value = 150 elseif value == 58 then --Sum=161 value = 161 elseif value == 59 then --Switch=162 value = 162 elseif value == 60 then --Abs=163 value = 163 elseif value == 61 then --Diode=164 value = 164 elseif value == 62 then--FlipFlop=165 value = 165 elseif value == 63 then --Quantize=166 value = 166 elseif value == 64 then--Gainx4=167 value = 167 end paramChangeMsg(10,1,value) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="a0c6f66764db2b43e52c382d7ac79ee9" luaMethodValid="1"/>
<luaMethod luaMethodName="cord03dest" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord03dest = function(mod, value) if loaded == true then if value == 0 then --off=0 bi = 0 elseif value == 1 then --Keysust=1 bi = 1 elseif value == 2 then --FinePitch=10 bi = 10 elseif value == 3 then --Pitch=48 bi = 48 elseif value == 4 then --Glide=49 bi = 49 elseif value == 5 then --ChrsAmt=50 bi = 50 elseif value == 6 then --ChrsITD=51 bi = 51 elseif value == 7 then --SStart=52 bi = 52 elseif value == 8 then --SLoop=53 bi = 53 elseif value == 9 then --SRetrig=54 bi = 54 elseif value == 10 then --FilFreq=56 bi = 56 elseif value == 11 then --FilRes=57 bi = 57 elseif value == 12 then --AmpVol=58 bi = 58 elseif value == 13 then --AmpPan=65 bi = 65 elseif value == 14 then --AmpXfd=66 bi = 66 elseif value == 15 then --VenvRts=67 bi = 67 elseif value == 16 then --VenvAtk=73 bi = 73 elseif value == 17 then --VenvDcy=74 bi = 74 elseif value == 18 then --VenvRls=75 bi = 75 elseif value == 19 then --FenvRts=76 bi = 76 elseif value == 20 then --FenvAtk=81 bi = 81 elseif value == 21 then --FenvDcy=82 bi = 82 elseif value == 22 then --FenvRls=83 bi = 83 elseif value == 23 then --FenvTrg=84 bi = 84 elseif value == 24 then --AEnvRts=88 bi = 88 elseif value == 25 then --AEnvAtk=89 bi = 89 elseif value == 26 then --AEnvDcy=90 bi = 90 elseif value == 27 then --AEnvRls=91 bi = 91 elseif value == 28 then --AEnvTrg=92 bi = 92 elseif value == 29 then --Lfo1Rate=96 bi = 96 elseif value == 30 then --Lfo1Trg=97 bi = 97 elseif value == 31 then --Lfo2rate=98 bi = 98 elseif value == 32 then --Lfo2Trg=105 bi = 105 elseif value == 33 then --Lag0in=106 bi = 106 elseif value == 34 then --Lag1in=107 bi = 107 elseif value == 35 then --Sum=111 bi = 111 elseif value == 36 then --Switch=162 bi = 162 elseif value == 37 then --Abs=163 bi = 163 elseif value == 38 then --Diode=164 bi = 164 elseif value == 39 then --FlipFlop=165 bi = 165 elseif value == 40 then --Quantize=166 bi = 166 elseif value == 41 then --Gainx4=167 bi = 167 elseif value == 42 then --C00Amt=168 bi = 168 elseif value == 43 then --C01Amt=169 bi = 169 elseif value == 44 then --C02Amt=170 bi = 170 elseif value == 45 then --C03Amt=171 bi = 171 elseif value == 46 then --C04Amt=172 bi = 172 elseif value == 47 then --C05Amt=173 bi = 173 elseif value == 48 then --C06Amt=174 bi = 174 elseif value == 49 then --C07Amt=175 bi = 175 elseif value == 50 then --C08Amt=176 bi = 176 elseif value == 51 then --C09Amt=177 bi = 177 elseif value == 52 then --C10Amt=178 bi = 178 elseif value == 53 then --C11Amt=179 bi = 179 elseif value == 54 then --C12Amt=180 bi = 180 elseif value == 55 then --C13Amt=181 bi = 151 elseif value == 56 then --C14Amt=182 bi = 182 elseif value == 57 then --C15Amt=183 bi = 183 elseif value == 58 then --C16Amt=184 bi = 184 elseif value == 59 then --C17Amt=185 bi = 185 end paramChangeMsg(11,1,bi) end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="67e49c9edef8517a7a8c3375468fbe1f" luaMethodValid="1"/>
<luaMethod luaMethodName="cord03amount" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord03amount = function(mod, value) if loaded == true then if value < 0 then local amount = (128*128)+value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(12,1,LS,MS) end if value >= 0 then local amount = value --console(string.format(amount)) local bi = CtrlrLuaBigInteger(amount) local LS = bi:getBitRangeAsInt(0,7) local MS = bi:getBitRangeAsInt(7,7) cordAmountChange(12,1,LS,MS) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="0e7bd862d85f1fad5fbbe31ef99189f4" luaMethodValid="1"/>
<luaMethod luaMethodName="cord04source" luaMethodCode="function cord04source(mod, value) if loaded == true then if value == 2 then --Key+=5 value = 5 elseif value == 3 then --Key~=9 value = 9 elseif value == 4 then --Vel+=10 value = 10 elseif value == 5 then --Vel~=11 value = 11 elseif value == 6 then --Vel<=12 value = 12 elseif value == 7 then --RlsVel=13 value = 13 elseif value == 8 then --Gate=14 value = 14 elseif value == 9 then --PitchWhl=15 value = 15 elseif value == 10 then --ModWhl=17 value = 17 elseif value == 11 then --Press=18 value = 18 elseif value == 12 then --Pedal=19 value = 19 elseif value == 13 then value = 20 elseif value == 14 then --MidiB=21 value = 21 elseif value == 15 then --FtSw1=22 value = 22 elseif value == 16 then--FtSw2=23 value = 23 elseif value == 17 then --Ft1FF=24 value = 24 elseif value == 18 then --Ft2FF=25 value = 25 elseif value == 19 then --MidiVl=26 value = 26 elseif value == 20 then --MidiPn=27 value = 27 elseif value == 21 then --MidiC=28 value = 28 elseif value == 22 then --MidiD=33 value = 33 elseif value == 23 then --MidiE=34 value = 34 elseif value == 24 then --MidiF=35 value = 35 elseif value == 25 then --MidiG=36 value = 36 elseif value == 26 then --MidiH=37 value = 37 elseif value == 27 then --Thumb=38 value = 38 elseif value == 28 then --ThmFF=39 value = 39 elseif value == 29 then --KeyGld=40 value = 40 elseif value == 30 then --VEnv+=60 value = 60 elseif value == 31 then --VEnv~=73 value = 73 elseif value == 32 then --VEnv<=74 value = 74 elseif value == 33 then --FEnv+=80 value = 80 elseif value == 34 then--FEnv~=81 value = 81 elseif value == 35 then--FEnv<=82 value = 82 elseif value == 36 then--AEnv+=83 value = 83 elseif value == 37 then---AEnv~=89 value = 89 elseif value == 38 then --AEnv<=90 value = 90 elseif value == 39 then --Lfo1~=91 value = 91 elseif value == 40 then --Lfo1+=97 value = 97 elseif value == 41 then --White=98 value = 98 elseif value == 42 then --Pink=99 value = 99 elseif value == 43 then --kRand1=100 value = 100 elseif value == 44 then --kRand2=101 value = 101 elseif value == 45 then --Lfo2~=102 value = 102 elseif value == 46 then --Lfo2+=105 value = 105 elseif value == 47 then --Lag0in=106 value = 106 elseif value == 48 then --Lag0=107 value = 107 elseif value == 49 then --Lag1in=108 value = 108 elseif value == 50 then --Lag1=109 value = 109 elseif value == 51 then --CkDwhl=110 value = 110 elseif value == 52 then --CkWhl=145 value = 145 elseif value == 53 then --CkHalf=146 value = 146 elseif value == 54 then --CkQtr=147 value = 147 elseif value == 55 then --Ck8th=148 value = 148 elseif value == 56 then --Ck16th=149 value = 149 elseif value == 57 then --DC=150 value = 150 elseif value == 58 then --Sum=161 value = 161 elseif value == 59 then --Switch=162 value = 162 elseif value == 60 then --Abs=163 value = 163 elseif value == 61 then --Diode=164 value = 164 elseif value == 62 then--FlipFlop=165 value = 165 elseif value == 63 then --Quantize=166 value = 166 elseif value == 64 then--Gainx4=167 value = 167 end paramChangeMsg(13,1,value) end end "
luaMethodLinkedProperty="" luaMethodSource="0" uuid="5b4175c1db2688bb15606688416e3e1d"
luaMethodValid="1"/>
<luaMethod luaMethodName="cord04dest" luaMethodCode="function cord04dest(mod, value) if loaded == true then if value == 0 then --off=0 bi = 0 elseif value == 1 then --Keysust=1 bi = 1 elseif value == 2 then --FinePitch=10 bi = 10 elseif value == 3 then --Pitch=48 bi = 48 elseif value == 4 then --Glide=49 bi = 49 elseif value == 5 then --ChrsAmt=50 bi = 50 elseif value == 6 then --ChrsITD=51 bi = 51 elseif value == 7 then --SStart=52 bi = 52 elseif value == 8 then --SLoop=53 bi = 53 elseif value == 9 then --SRetrig=54 bi = 54 elseif value == 10 then --FilFreq=56 bi = 56 elseif value == 11 then --FilRes=57 bi = 57 elseif value == 12 then --AmpVol=58 bi = 58 elseif value == 13 then --AmpPan=65 bi = 65 elseif value == 14 then --AmpXfd=66 bi = 66 elseif value == 15 then --VenvRts=67 bi = 67 elseif value == 16 then --VenvAtk=73 bi = 73 elseif value == 17 then --VenvDcy=74 bi = 74 elseif value == 18 then --VenvRls=75 bi = 75 elseif value == 19 then --FenvRts=76 bi = 76 elseif value == 20 then --FenvAtk=81 bi = 81 elseif value == 21 then --FenvDcy=82 bi = 82 elseif value == 22 then --FenvRls=83 bi = 83 elseif value == 23 then --FenvTrg=84 bi = 84 elseif value == 24 then --AEnvRts=88 bi = 88 elseif value == 25 then --AEnvAtk=89 bi = 89 elseif value == 26 then --AEnvDcy=90 bi = 90 elseif value == 27 then --AEnvRls=91 bi = 91 elseif value == 28 then --AEnvTrg=92 bi = 92 elseif value == 29 then --Lfo1Rate=96 bi = 96 elseif value == 30 then --Lfo1Trg=97 bi = 97 elseif value == 31 then --Lfo2rate=98 bi = 98 elseif value == 32 then --Lfo2Trg=105 bi = 105 elseif value == 33 then --Lag0in=106 bi = 106 elseif value == 34 then --Lag1in=107 bi = 107 elseif value == 35 then --Sum=111 bi = 111 elseif value == 36 then --Switch=162 bi = 162 elseif value == 37 then --Abs=163 bi = 163 elseif value == 38 then --Diode=164 bi = 164 elseif value == 39 then --FlipFlop=165 bi = 165 elseif value == 40 then --Quantize=166 bi = 166 elseif value == 41 then --Gainx4=167 bi = 167 elseif value == 42 then --C00Amt=168 bi = 168 elseif value == 43 then --C01Amt=169 bi = 169 elseif value == 44 then --C02Amt=170 bi = 170 elseif value == 45 then --C03Amt=171 bi = 171 elseif value == 46 then --C04Amt=172 bi = 172 elseif value == 47 then --C05Amt=173 bi = 173 elseif value == 48 then --C06Amt=174 bi = 174 elseif value == 49 then --C07Amt=175 bi = 175 elseif value == 50 then --C08Amt=176 bi = 176 elseif value == 51 then --C09Amt=177 bi = 177 elseif value == 52 then --C10Amt=178 bi = 178 elseif value == 53 then --C11Amt=179 bi = 179 elseif value == 54 then --C12Amt=180 bi = 180 elseif value == 55 then --C13Amt=181 bi = 151 elseif value == 56 then --C14Amt=182 bi = 182 elseif value == 57 then --C15Amt=183 bi = 183 elseif value == 58 then --C16Amt=184 bi = 184 elseif value == 59 then --C17Amt=185 bi = 185 end paramChangeMsg(14,1,bi) end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="7c8ce8760c9dd857a15641b670648962"
luaMethodValid="1"/>
<luaMethod luaMethodName="cord04amount" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- cord04amount = function(mod, value) 	if loaded == true then 		if value < 0 then 		local amount = (128*128)+value --console(string.format(amount)) 		local bi = CtrlrLuaBigInteger(amount) 		local LS = bi:getBitRangeAsInt(0,7) 		local MS = bi:getBitRangeAsInt(7,7) 		cordAmountChange(15,1,LS,MS) 		end 		if value >= 0 then 		local amount = value --console(string.format(amount)) 		local bi = CtrlrLuaBigInteger(amount) 		local LS = bi:getBitRangeAsInt(0,7) 		local MS = bi:getBitRangeAsInt(7,7) 		cordAmountChange(15,1,LS,MS) 		end 	end end"
luaMethodLinkedProperty="" luaMethodSource="0" uuid="13c2d6df7855efb3e96f7205689336f5"
luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="lfo" uuid="210132f8200f3d41c7d0dc60fcdeb486">
<luaMethod luaMethodName="lfoRate" luaMethodCode="function lfoRate(mod, value) if loaded == true then restore = panel:getRestoreState() if restore ~= true then paramChangeMsg(105,0,value) end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="3d5db7eb26e1fcd3ff06f92354ec82cc" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="chorus" uuid="74edbf95924faa10797151af2a464153">
<luaMethod luaMethodName="ChorusWidth" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- ChorusWidth = function(mod, value) 	 	if loaded == true then 		restore = panel:getRestoreState() 		if restore ~= true then 		 			paramChangeChorus(59,0,value) 			 		end 	end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="fd55bbe0ff9bcd7d59c81ff1c367a9f5" luaMethodValid="1"/>
<luaMethod luaMethodName="ChorusAmt" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- ChorusAmt = function(mod, value) if loaded == true then restore = panel:getRestoreState() 	if restore ~= true then 	paramChangeMsg(58,0,value) 	end end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="7abb6a00cb6420f263f143ef2e935132" luaMethodValid="1"/>
</luaMethodGroup>
</luaMethodGroup>
<luaMethodGroup name="targetSelection" uuid="8afb62f5e2e827f9fb1db3c901489315">
<luaMethod luaMethodName="selectedVoice" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- selectedVoice = function(mod, value) if loaded == true then 	 --select voice to be targeted for editing voice = string.format("f0 18 21 %.2x 55 01 02 61 01 %.2x %.2x 6b f7", devID, lsb(value), msb(value)) panel:sendMidiMessageNow(CtrlrMidiMessage(voice)) --	if midiInActive ~= true then --	paramChangeMsg(98,01, value) --	end paramReqMsg(41,0) -- voice coarse tuning paramReqMsg(42,0) -- voice fine tuning paramReqMsg(43,0) -- voice key transpose paramReqMsg(44,0) -- samplezone root key paramReqMsg(45,0) -- samplezone low key paramReqMsg(46,0) -- samplezone keywin fade paramReqMsg(47,0) -- samplezone high key paramReqMsg(57,0) -- voice non-transpose paramReqMsg(58,0) -- chorus amount paramReqMsg(59,0) -- chorus width paramReqMsg(82,0) -- filtertype paramReqMsg(83,0) -- cutoff paramReqMsg(84,0) -- res paramReqMsg(87,0) -- morph freq 01 paramReqMsg(88,0) -- morph shelf 01 paramReqMsg(89,0) -- morph peak 01 paramReqMsg(90,0) -- morph freq 02 paramReqMsg(91,0) -- morph shelf02 paramReqMsg(92,0) -- morph peak 02 paramReqMsg(93,0) -- filterenv atk1rate paramReqMsg(94,0) -- filterenv atk1lvl paramReqMsg(95,0) -- filterenv atk2rate paramReqMsg(96,0) -- filterenv atk2lvl paramReqMsg(97,0) -- filterenv dcy1rate paramReqMsg(98,0) -- filterenv dcy1lvl paramReqMsg(99,0) -- filterenv dcy2rate paramReqMsg(100,0) -- filterenv dcy2lvl paramReqMsg(101,0) -- filterenv rls1rate paramReqMsg(102,0) -- filterenv rls1lvl paramReqMsg(103,0) -- filterenv rls2rate paramReqMsg(104,0) -- filterenv rls2lvl paramReqMsg(1,1) --cord 00 source paramReqMsg(2,1) --cord 00 dest paramReqMsg(3,1) --cord 00 amt paramReqMsg(4,1) --cord 01 source paramReqMsg(5,1) --cord 01 dest paramReqMsg(6,1) --cord 01 amt paramReqMsg(7,1) --cord 02 source paramReqMsg(8,1) --cord 02 dest paramReqMsg(9,1) --cord 02 amt paramReqMsg(10,1) --cord 03 source paramReqMsg(11,1) --cord 03 dest paramReqMsg(12,1) --cord 03 amt paramReqMsg(13,1) --cord 04 source paramReqMsg(14,1) --cord 04 dest paramReqMsg(15,1) --cord 04 amt paramReqMsg(105,0) --lfo rate -- misc requests voiceParametersRequest(panel:getModulatorByName("presetNumber"):getValue(),value) if panel:getModulatorByName("sampleZoneList"):getValue() ~= 0 then panel:getModulatorByName("sampleZoneList"):setModulatorValue(0, false, true, false) -- set to 0 to mimick sampler behaviour (selecting a new voice automatically targets first samplezone in that voice/multisample) end end 	 end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="4142779210b73cf7399b5f63193d6527" luaMethodValid="1"/>
<luaMethod luaMethodName="selectedPreset" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- selectedPreset = function(mod, value) if loaded == true then local preset = string.format("f0 18 21 %.2x 55 01 02 5F 01 %.2x %.2x 6b f7", devID, lsb(value), msb(value)) panel:sendMidiMessageNow(CtrlrMidiMessage(preset)) -- do a presetdumprequest to populate voicefield presetDumpRequest() end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="048ffd38859e8cd0be90f8d52e8bfdf5" luaMethodValid="1"/>
<luaMethod luaMethodName="refreshPreset" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- refreshPreset = function(mod, value) if loaded == true then paramReqMsg(41,0) -- voice coarse tuning paramReqMsg(42,0) -- voice fine tuning paramReqMsg(43,0) -- voice key transpose paramReqMsg(44,0) -- samplezone root key paramReqMsg(45,0) -- samplezone low key paramReqMsg(46,0) -- samplezone keywin fade paramReqMsg(47,0) -- samplezone high key paramReqMsg(57,0) -- voice non-transpose paramReqMsg(58,0) -- chorus amount paramReqMsg(59,0) -- chorus width paramReqMsg(82,0) -- filtertype paramReqMsg(83,0) -- cutoff paramReqMsg(84,0) -- res paramReqMsg(87,0) -- morph freq 01 paramReqMsg(88,0) -- morph shelf 01 paramReqMsg(89,0) -- morph peak 01 paramReqMsg(90,0) -- morph freq 02 paramReqMsg(91,0) -- morph shelf02 paramReqMsg(92,0) -- morph peak 02 paramReqMsg(93,0) -- filterenv atk1rate paramReqMsg(94,0) -- filterenv atk1lvl paramReqMsg(95,0) -- filterenv atk2rate paramReqMsg(96,0) -- filterenv atk2lvl paramReqMsg(97,0) -- filterenv dcy1rate paramReqMsg(98,0) -- filterenv dcy1lvl paramReqMsg(99,0) -- filterenv dcy2rate paramReqMsg(100,0) -- filterenv dcy2lvl paramReqMsg(101,0) -- filterenv rls1rate paramReqMsg(102,0) -- filterenv rls1lvl paramReqMsg(103,0) -- filterenv rls2rate paramReqMsg(104,0) -- filterenv rls2lvl paramReqMsg(1,1) --cord 00 source paramReqMsg(2,1) --cord 00 dest paramReqMsg(3,1) --cord 00 amt paramReqMsg(4,1) --cord 01 source paramReqMsg(5,1) --cord 01 dest paramReqMsg(6,1) --cord 01 amt paramReqMsg(7,1) --cord 02 source paramReqMsg(8,1) --cord 02 dest paramReqMsg(9,1) --cord 02 amt paramReqMsg(10,1) --cord 03 source paramReqMsg(11,1) --cord 03 dest paramReqMsg(12,1) --cord 03 amt paramReqMsg(13,1) --cord 04 source paramReqMsg(14,1) --cord 04 dest paramReqMsg(15,1) --cord 04 amt paramReqMsg(105,0) --lfo rate -- misc requests --voiceParametersRequest(panel:getModulatorByName("presetNumber"):getValue(),value) if panel:getModulatorByName("sampleZoneList"):getValue() ~= nil then panel:getModulatorByName("sampleZoneList"):setModulatorValue(0, false, true, false) -- set to 0 to mimick sampler behaviour (selecting a new voice automatically targets first samplzone in that voice/multisample) end if panel:getModulatorByName("listbox"):getValue() ~= nil then panel:getModulatorByName("listbox"):setModulatorValue(0, false, true, false) -- set to 0 to mimick sampler behaviour (selecting a new preset automatically targets first voice in that preset) end end end "
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="21b1b76abcec8ea9274cf972fd66e059" luaMethodValid="1"/>
<luaMethod luaMethodName="SampleZoneSelected" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- SampleZoneSelected = function(mod, value) console(string.format(value)) if loaded == true then --tell the sampler what samplezone to target local zone = string.format("f0 18 21 %.2x 55 01 02 62 01 %.2x 00 6b f7", devID, value) panel:sendMidiMessageNow(CtrlrMidiMessage(zone)) --request note, fade, velocity window and RTwindow values 	paramReqMsg(44,0) -- samplezone root key 	paramReqMsg(45,0) -- samplezone low key 	paramReqMsg(46,0) -- samplezone keywin fade 	paramReqMsg(47,0) -- samplezone high key --request sample name & show in lcd paramReqMsg(38, 0) --request sample number in selected target local sampleLCD = panel:getModulatorByName("sampleNameLCD"):getComponent() end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="315192767b9fa14b3ca2e669ea292e63" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethodGroup name="panel loading" uuid="fd487bef43cf4428493832ab7c1c1c52">
<luaMethod luaMethodName="panelLoaded" luaMethodCode="-- -- Called when the panel has finished loading -- panelLoaded = function() --init stuff loaded 	= true k0 		= MemoryBlock() --dump data memoryblock for saving to file k1 		= {} -- k0 dumped to table to easily extract values canvas 	= panel:getCanvas() devID 	= 1 --midi received analysys strings -- for preset dump parsing dumpheader = string.format("f0 18 21 01 55 0d 01 00") dumpdata = string.format("f0 18 21 01 55 0d 02") dumpEOF = string.format("f0 18 21 01 55 7b f7") samplezonesAmount = string.format("f0 18 21 01 55 1d") -- for single value responses singleParamMsg = string.format("f0 18 21 01 55 01 02") --MODULATORS --voice params voiceFineTuneMod = panel:getModulatorByName("voiceFineTune") coarseTune 		 = panel:getModulatorByName("coarseTune") voiceKeytrans 	 = panel:getModulatorByName("keyTranspose") voiceNonTransMod = panel:getModulatorByName("voiceNonTranspose") chorusAmt		 = panel:getModulatorByName("chorusAmt") chorusWidth		 = panel:getModulatorByName("chorusWidth") --filter basics filterMode 		= panel:getModulatorByName("filtertype") Cutoff 	 		= panel:getModulatorByName("cutoff") resonance 		= panel:getModulatorByName("resAndGain") --filter morphing morph01Mod		= panel:getModulatorByName("morphParam01") morph02Mod		= panel:getModulatorByName("morphParam02") morph03Mod		= panel:getModulatorByName("morphParam03") morph04Mod		= panel:getModulatorByName("morphParam04") morph05Mod		= panel:getModulatorByName("morphParam05") morph06Mod		= panel:getModulatorByName("morphParam06") --filter envelope fltAtk1RateMod 	= panel:getModulatorByName("filterEnvAtk1Rate") fltAtk1LevelMod = panel:getModulatorByName("filterEnvAtk1Level") fltAtk2RateMod 	= panel:getModulatorByName("filterEnvAtk2Rate") fltAtk2LevelMod = panel:getModulatorByName("filterEnvAtk2Level") fltDcy1RateMod 	= panel:getModulatorByName("filterEnvDcy1Rate") fltDcy1LevelMod = panel:getModulatorByName("filterEnvDcy1Level") fltDcy2RateMod 	= panel:getModulatorByName("filterEnvDcy2Rate") fltDcy2LevelMod = panel:getModulatorByName("filterEnvDcy2Level") fltRls1RateMod 	= panel:getModulatorByName("filterEnvRls1Rate") fltRls1LevelMod = panel:getModulatorByName("filterEnvRls1Level") fltRls2RateMod = panel:getModulatorByName("filterEnvRls2Rate") fltRls2LevelMod = panel:getModulatorByName("filterEnvRls2Level") --cords cord00amt 		= panel:getModulatorByName("cord00amt") cord00dest 		= panel:getModulatorByName("cord00dest") cord00source 	= panel:getModulatorByName("cord00source") cord01sourceMod = panel:getModulatorByName("cord01source") cord01dest 		= panel:getModulatorByName("cord01dest") cord01amt 		= panel:getModulatorByName("cord01amt") cord02sourceMod = panel:getModulatorByName("cord02source") cord02destMod 	= panel:getModulatorByName("cord02dest") cord02amtMod 	= panel:getModulatorByName("cord02amt") cord03sourceMod = panel:getModulatorByName("cord03source") cord03destMod 	= panel:getModulatorByName("cord03dest") cord03amtMod 	= panel:getModulatorByName("cord03amt") cord04sourceMod = panel:getModulatorByName("cord04source") cord04destMod 	= panel:getModulatorByName("cord04dest") cord04amtMod 	= panel:getModulatorByName("cord04amt") --lfo section lfoRateMod = panel:getModulatorByName("lfoRate") --preset presetNum = panel:getModulatorByName("presetNumber") --COMPONENTS --displays presetLCD = panel:getModulatorByName("presetLCD"):getComponent() --init display presetLCD:setPropertyString("uiLabelText", "") --filter section cutoffComp = Cutoff:getComponent() cutoffLCD = panel:getModulatorByName("cutoffLCD"):getComponent() resComp 	= resonance:getComponent() resLCD 		= panel:getModulatorByName("resLCD"):getComponent() --lfo section lfoRateComp = panel:getModulatorByName("lfoRate"):getComponent() --arrays --for lcd readouts dbscale = {"-24.0dB","-23.7dB","-23.3dB","-22.9dB","-22.5dB","-22.2dB","-21.8dB","-21.4dB","-21.0dB","-20.7dB","-20.3dB","-19.9dB","-19.5dB","-19.2dB","-18.8dB","-18.4dB","-18.0dB","-17.7dB","-17.3dB","-16.9dB","-16.5dB","-16.2dB","-15.8dB","-15.4dB","-15.0dB","-14.7dB","-14.3dB","-13.9dB","-13.5dB","-13.2dB","-12.8dB","-12.4dB","-12.0dB","-11.7dB","-11.3dB","-10.9dB","-10.5dB","-10.2dB","-9.8dB","-9.4dB","-9.0dB","-8.7dB","-8.3dB","-7.9dB","-7.5dB","-7.2dB","-6.8dB","-6.4dB","-6.0dB","-5.7dB","-5.3dB","-4.9dB","-4.5dB","-4.2dB","-3.8dB","-3.4dB","-3.0dB","-2.7dB","-2.3dB","-1.9dB","-1.5dB","-1.2dB","-0.8dB","-0.4dB","0.0dB","+0.3dB","+0.7dB","+1.1dB","+1.5dB","+1.8dB","+2.2dB","+2.6dB","+3.0dB","+3.3dB","+3.7dB","+4.1dB","+4.5dB","+4.8dB","+5.2dB","+5.6dB","+6.0dB","+6.3dB","+6.7dB","+7.1dB","+7.5dB","+7.8dB","+8.2dB","+8.6dB","+9.0dB","+9.3dB","+9.7dB","+10.1dB","+10.5dB","+10.8dB","+11.2dB","+11.6dB","+12.0dB","+12.3dB","+12.7dB","+13.1dB","+13.5dB","+13.8dB","+14.2dB","+14.6dB","+15.0dB","+15.3dB","+15.7dB","+16.1dB","+16.5dB","+16.8dB","+17.2dB","+17.6dB","+18.0dB","+18.3dB","+18.7dB","+19.1dB","+19.5dB","+19.8dB","+20.2dB","+20.6dB","+21.0dB","+21.3dB","+21.7dB","+22.1dB","+22.5dB","+22.8dB","+23.2dB","+23.6dB"} lowpass = {"57hz","59hz","61hz","63hz","65hz","67hz","69hz","71hz","73hz","75hz","77hz","79hz","81hz","83hz","85hz","87hz","89hz","91hz","93hz","96hz","99hz","102hz","105hz","108hz","111hz","114hz","117hz","120hz","123hz","126hz","129hz","132hz","135hz","138hz","142hz","146hz","150hz","154hz","158hz","162hz","166hz","170hz","174hz","178hz","182hz","186hz","191hz","196hz","201hz","206hz","211hz","216hz","221hz","226hz","231hz","237hz","243hz","249hz","255hz","261hz","267hz","273hz","280hz","287hz","294hz","301hz","308hz","315hz","322hz","330hz","338hz","346hz","354hz","362hz","370hz","379hz","388hz","397hz","406hz","415hz","425hz","435hz","445hz","455hz","466hz","477hz","488hz","499hz","510hz","522hz","534hz","546hz","558hz","571hz","584hz","597hz","611hz","625hz","639hz","654hz","669hz","684hz","700hz","716hz","732hz","749hz","766hz","783hz","801hz","819hz","837hz","856hz","875hz","895hz","915hz","936hz","957hz","979hz","1001hz","1023hz","1046hz","1069hz","1093hz","1117hz","1142hz","1168hz","1194hz","1221hz","1248hz","1276hz","1305hz","1334hz","1364hz","1394hz","1425hz","1457hz","1489hz","1522hz","1556hz","1591hz","1626hz","1662hz","1699hz","1737hz","1776hz","1815hz","1855hz","1896hz","1938hz","1981hz","2025hz","2070hz","2116hz","2163hz","2211hz","2260hz","2310hz","2361hz","2413hz","2467hz","2522hz","2578hz","2635hz","2693hz","2753hz","2814hz","2876hz","2940hz","3005hz","3071hz","3139hz","3208hz","3279hz","3352hz","3426hz","3502hz","3579hz","3658hz","3739hz","3822hz","3906hz","3992hz","4080hz","4170hz","4262hz","4356hz","4452hz","4550hz","4650hz","4753hz","4858hz","4965hz","5075hz","5187hz","5301hz","5418hz","5537hz","5659hz","5784hz","5912hz","6042hz","6175hz","6311hz","6450hz","6592hz","6737hz","6885hz","7037hz","7192hz","7350hz","7512hz","7677hz","7846hz","8019hz","8196hz","8376hz","8560hz","8748hz","8941hz","9138hz","9339hz","9545hz","9755hz","9970hz","10189hz","10413hz","10642hz","10876hz","11115hz","11360hz","11610hz","11865hz","12126hz","12393hz","12666hz","12945hz","13230hz","13521hz","13818hz","14122hz","14433hz","14750hz","15074hz","15405hz","15744hz","16090hz","16444hz","16806hz","17176hz","17554hz","17940hz","18334hz","18737hz","19149hz","19570hz","20000hz"} highpass = {"69hz","71hz","73hz","75hz","77hz","79hz","81hz","83hz","85hz","87hz","89hz","91hz","93hz","95hz","97hz","100hz","103hz","106hz","109hz","112hz","115hz","118hz","121hz","124hz","127hz","130hz","133hz","136hz","139hz","142hz","145hz","149hz","153hz","157hz","161hz","165hz","169hz","173hz","177hz","181hz","185hz","189hz","193hz","198hz","203hz","208hz","213hz","218hz","223hz","228hz","233hz","238hz","244hz","250hz","256hz","262hz","268hz","274hz","280hz","286hz","292hz","299hz","306hz","313hz","320hz","327hz","334hz","342hz","350hz","358hz","366hz","374hz","382hz","390hz","399hz","408hz","417hz","426hz","435hz","445hz","455hz","465hz","475hz","485hz","496hz","507hz","518hz","529hz","541hz","553hz","565hz","577hz","590hz","603hz","616hz","629hz","643hz","657hz","671hz","686hz","701hz","716hz","732hz","748hz","764hz","780hz","797hz","814hz","832hz","850hz","868hz","887hz","906hz","925hz","945hz","965hz","986hz","1007hz","1029hz","1051hz","1074hz","1097hz","1120hz","1144hz","1168hz","1193hz","1218hz","1244hz","1271hz","1298hz","1326hz","1354hz","1383hz","1412hz","1442hz","1473hz","1504hz","1536hz","1569hz","1602hz","1636hz","1671hz","1707hz","1743hz","1780hz","1818hz","1857hz","1896hz","1936hz","1977hz","2019hz","2062hz","2106hz","2151hz","2197hz","2244hz","2292hz","2341hz","2391hz","2442hz","2494hz","2547hz","2601hz","2656hz","2712hz","2769hz","2827hz","2887hz","2948hz","3010hz","3074hz","3139hz","3205hz","3273hz","3342hz","3412hz","3484hz","3557hz","3632hz","3709hz","3787hz","3867hz","3948hz","4031hz","4116hz","4203hz","4292hz","4382hz","4474hz","4568hz","4664hz","4762hz","4862hz","4964hz","5068hz","5175hz","5284hz","5395hz","5508hz","5624hz","5742hz","5863hz","5986hz","6112hz","6240hz","6371hz","6505hz","6642hz","6782hz","6925hz","7070hz","7219hz","7371hz","7526hz","7684hz","7845hz","8010hz","8178hz","8350hz","8525hz","8704hz","8887hz","9074hz","9264hz","9458hz","9657hz","9860hz","10067hz","10278hz","10494hz","10714hz","10939hz","11169hz","11403hz","11642hz","11886hz","12135hz","12390hz","12650hz","12915hz","13186hz","13463hz","13745hz","14033hz","14327hz","14627hz","14934hz","15247hz","15567hz","15893hz","16226hz","16566hz","16913hz","17268hz","17630hz","18000hz"} bandpass = {"57hz","59hz","61hz","63hz","65hz","67hz","69hz","71hz","73hz","75hz","77hz","79hz","81hz","83hz","85hz","87hz","89hz","91hz","93hz","95hz","97hz","99hz","101hz","103hz","105hz","107hz","110hz","113hz","116hz","119hz","122hz","125hz","128hz","131hz","134hz","137hz","140hz","143hz","146hz","149hz","152hz","155hz","158hz","162hz","166hz","170hz","174hz","178hz","182hz","186hz","190hz","194hz","198hz","202hz","206hz","210hz","214hz","219hz","224hz","229hz","234hz","239hz","244hz","249hz","254hz","259hz","264hz","269hz","275hz","281hz","287hz","293hz","299hz","305hz","311hz","317hz","323hz","330hz","337hz","344hz","351hz","358hz","365hz","372hz","380hz","388hz","396hz","404hz","412hz","420hz","428hz","437hz","446hz","455hz","464hz","473hz","482hz","492hz","502hz","512hz","522hz","532hz","543hz","554hz","565hz","576hz","587hz","599hz","611hz","623hz","635hz","648hz","661hz","674hz","687hz","700hz","714hz","728hz","742hz","757hz","772hz","787hz","802hz","818hz","834hz","850hz","867hz","884hz","901hz","919hz","937hz","955hz","974hz","993hz","1012hz","1032hz","1052hz","1072hz","1093hz","1114hz","1136hz","1158hz","1180hz","1203hz","1226hz","1250hz","1274hz","1299hz","1324hz","1350hz","1376hz","1403hz","1430hz","1458hz","1486hz","1515hz","1544hz","1574hz","1604hz","1635hz","1666hz","1698hz","1731hz","1764hz","1798hz","1833hz","1868hz","1904hz","1941hz","1978hz","2016hz","2055hz","2094hz","2134hz","2175hz","2217hz","2259hz","2302hz","2346hz","2391hz","2437hz","2484hz","2531hz","2579hz","2628hz","2678hz","1729hz","2781hz","2834hz","2888hz","2943hz","2999hz","3056hz","3114hz","3173hz","3233hz","3295hz","3358hz","3422hz","3487hz","3553hz","3621hz","3690hz","3760hz","3832hz","3905hz","3979hz","4055hz","4132hz","4211hz","4291hz","4373hz","4456hz","4541hz","4627hz","4715hz","4805hz","4896hz","4989hz","5084hz","5181hz","5279hz","5379hz","5481hz","5585hz","5691hz","5799hz","5909hz","6021hz","6135hz","6252hz","6371hz","6492hz","6615hz","6741hz","6869hz","6999hz","7132hz","7267hz","7405hz","7545hz","7688hz","7834hz","7983hz","8134hz","8288hz","8445hz","8605hz","8768hz","8934hz","9103hz","9276hz","9452hz","9631hz","9814hz","10000hz"} swept = {"83hz","85hz","87hz","89hz","91hz","93hz","95hz","97hz","99hz","101hz","103hz","105hz","107hz","109hz","111hz","113hz","116hz","119hz","122hz","125hz","128hz","131hz","134hz","137hz","140hz","143hz","146hz","149hz","152hz","155hz","158hz","161hz","164hz","167hz","170hz","174hz","178hz","182hz","186hz","190hz","194hz","198hz","202hz","206hz","210hz","214hz","218hz","222hz","226hz","231hz","236hz","241hz","246hz","251hz","256hz","261hz","266hz","271hz","276hz","281hz","287hz","293hz","299hz","305hz","311hz","317hz","323hz","329hz","335hz","342hz","349hz","356hz","363hz","370hz","377hz","384hz","391hz","399hz","407hz","415hz","423hz","431hz","439hz","447hz","455hz","464hz","473hz","482hz","491hz","500hz","509hz","519hz","529hz","539hz","549hz","559hz","570hz","581hz","592hz","603hz","614hz","625hz","637hz","649hz","661hz","673hz","686hz","699hz","712hz","725hz","738hz","752hz","766hz","780hz","794hz","809hz","824hz","839hz","855hz","871hz","887hz","903hz","920hz","937hz","954hz","972hz","990hz","1008hz","1027hz","1046hz","1065hz","1085hz","1105hz","1125hz","1146hz","1167hz","1183hz","1210hz","1232hz","1255hz","1278hz","1301hz","1325hz","1349hz","1374hz","1399hz","1425hz","1451hz","1477hz","1504hz","1531hz","1559hz","1587hz","1616hz","1645hz","1675hz","1705hz","1736hz","1768hz","1800hz","1833hz","1866hz","1900hz","1934hz","1969hz","2005hz","2041hz","2078hz","2116hz","2154hz","2193hz","2233hz","2273hz","2314hz","2356hz","2399hz","2442hz","2486hz","2531hz","2577hz","2624hz","2671hz","2719hz","2768hz","2818hz","2869hz","2921hz","2974hz","3028hz","3083hz","3139hz","3196hz","3254hz","3313hz","3373hz","3434hz","3496hz","3559hz","3623hz","3688hz","3754hz","3822hz","3891hz","3961hz","4032hz","4105hz","4179hz","4254hz","4331hz","4409hz","4488hz","4569hz","4651hz","4735hz","4820hz","4907hz","4995hz","5085hz","5177hz","5270hz","5365hz","5461hz","5559hz","5659hz","5761hz","5865hz","5970hz","6077hz","6186hz","6297hz","6410hz","6525hz","6642hz","6761hz","6882hz","7006hz","7132hz","7260hz","7390hz","7523hz","7658hz","7796hz","7936hz","8078hz","8223hz","8371hz","8521hz","8674hz","8830hz","8989hz","9150hz","9314hz","9481hz","9651hz","9824hz","10000hz"} -- for custom value component contents lpCompArray = "57hz=0\n59hz=1\n61hz=2\n63hz=3\n65hz=4\n67hz=5\n69hz=6\n71hz=7\n73hz=8\n75hz=9\n77hz=10\n79hz=11\n81hz=12\n83hz=13\n85hz=14\n87hz=15\n89hz=16\n91hz=17\n93hz=18\n96hz=19\n99hz=20\n102hz=21\n105hz=22\n108hz=23\n111hz=24\n114hz=25\n117hz=26\n120hz=27\n123hz=28\n126hz=29\n129hz=30\n132hz=31\n135hz=32\n138hz=33\n142hz=34\n146hz=35\n150hz=36\n154hz=37\n158hz=38\n162hz=39\n166hz=40\n170hz=41\n174hz=42\n178hz=43\n182hz=44\n186hz=45\n191hz=46\n196hz=47\n201hz=48\n206hz=49\n211hz=50\n216hz=51\n221hz=52\n226hz=53\n231hz=54\n237hz=55\n243hz=56\n249hz=57\n255hz=58\n261hz=59\n267hz=60\n273hz=61\n280hz=62\n287hz=63\n294hz=64\n301hz=65\n308hz=66\n315hz=67\n322hz=68\n330hz=69\n338hz=70\n346hz=71\n354hz=72\n362hz=73\n370hz=74\n379hz=75\n388hz=76\n397hz=77\n406hz=78\n415hz=79\n425hz=80\n435hz=81\n445hz=82\n455hz=83\n466hz=84\n477hz=85\n488hz=86\n499hz=87\n510hz=88\n522hz=89\n534hz=90\n546hz=91\n558hz=92\n571hz=93\n584hz=94\n597hz=95\n611hz=96\n625hz=97\n639hz=98\n654hz=99\n669hz=100\n684hz=101\n700hz=102\n716hz=103\n732hz=104\n749hz=105\n766hz=106\n783hz=107\n801hz=108\n819hz=109\n837hz=110\n856hz=111\n875hz=112\n895hz=113\n915hz=114\n936hz=115\n957hz=116\n979hz=117\n1001hz=118\n1023hz=119\n1046hz=120\n1069hz=121\n1093hz=122\n1117hz=123\n1142hz=124\n1168hz=125\n1194hz=126\n1221hz=127\n1248hz=128\n1276hz=129\n1305hz=130\n1334hz=131\n1364hz=132\n1394hz=133\n1425hz=134\n1457hz=135\n1489hz=136\n1522hz=137\n1556hz=138\n1591hz=139\n1626hz=140\n1662hz=141\n1699hz=142\n1737hz=143\n1776hz=144\n1815hz=145\n1855hz=146\n1896hz=147\n1938hz=148\n1981hz=149\n2025hz=150\n2070hz=151\n2116hz=152\n2163hz=153\n2211hz=154\n2260hz=155\n2310hz=156\n2361hz=157\n2413hz=158\n2467hz=159\n2522hz=160\n2578hz=161\n2635hz=162\n2693hz=163\n2753hz=164\n2814hz=165\n2876hz=166\n2940hz=167\n3005hz=168\n3071hz=169\n3139hz=170\n3208hz=171\n3279hz=172\n3352hz=173\n3426hz=174\n3502hz=175\n3579hz=176\n3658hz=177\n3739hz=178\n3822hz=179\n3906hz=180\n3992hz=181\n4080hz=182\n4170hz=183\n4262hz=184\n4356hz=185\n4452hz=186\n4550hz=187\n4650hz=188\n4753hz=189\n4858hz=190\n4965hz=191\n5075hz=192\n5187hz=193\n5301hz=194\n5418hz=195\n5537hz=196\n5659hz=197\n5784hz=198\n5912hz=199\n6042hz=200\n6175hz=201\n6311hz=202\n6450hz=203\n6592hz=204\n6737hz=205\n6885hz=206\n7037hz=207\n7192hz=208\n7350hz=209\n7512hz=210\n7677hz=211\n7846hz=212\n8019hz=213\n8196hz=214\n8376hz=215\n8560hz=216\n8748hz=217\n8941hz=218\n9138hz=219\n9339hz=220\n9545hz=221\n9755hz=222\n9970hz=223\n10189hz=224\n10413hz=225\n10642hz=226\n10876hz=227\n11115hz=228\n11360hz=229\n11610hz=230\n11865hz=231\n12126hz=232\n12393hz=233\n12666hz=234\n12945hz=235\n13230hz=236\n13521hz=237\n13818hz=238\n14122hz=239\n14433hz=240\n14750hz=241\n15074hz=242\n15405hz=243\n15744hz=244\n16090hz=245\n16444hz=246\n16806hz=247\n17176hz=248\n17554hz=249\n17940hz=250\n18334hz=251\n18737hz=252\n19149hz=253\n19570hz=254\n20000hz=255" resArray = "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\n100\n101\n102\n103\n104\n105\n106\n107\n108\n109\n110\n111\n112\n113\n114\n115\n116\n117\n118\n119\n120\n121\n122\n123\n124\n125\n126\n127" dbArray = "-24dB=0\n-23.7dB=1\n-23.3dB=2\n-22.9dB=3\n-22.5dB=4\n-22.2dB=5\n-21.8dB=6\n-21.4dB=7\n-21.0dB=8\n-20.7dB=9\n-20.3dB=10\n-19.9dB=11\n-19.5dB=12\n-19.2dB=13\n-18.8dB=14\n-18.4dB=15\n-18.0dB=16\n-17.7dB=17\n-17.3dB=18\n-16.9dB=19\n-16.5dB=20\n-16.2dB=21\n-15.8dB=22\n-15.4dB=23\n-15.0dB=24\n-14.7dB=25\n-14.3dB=26\n-13.9dB=27\n-13.5dB=28\n-13.2dB=29\n-12.8dB=30\n-12.4dB=31\n-12.0dB=32\n-11.7dB=33\n-11.3dB=34\n-10.9dB=35\n-10.5dB=36\n-10.2dB=37\n-9.8dB=38\n-9.4dB=39\n-9.0dB=40\n-8.7dB=41\n-8.3dB=42\n-7.9dB=43\n-7.5dB=44\n-7.2dB=45\n-6.8dB=46\n-6.4dB=47\n-6.0dB=48\n-5.7dB=49\n-5.3dB=50\n-4.9dB=51\n-4.5dB=52\n-4.2dB=53\n-3.8dB=54\n-3.4dB=55\n-3.0dB=56\n-2.7dB=57\n-2.3dB=58\n-1.9dB=59\n-1.5dB=60\n-1.2dB=61\n-0.8dB=62\n-0.4dB=63\n0.0dB=64\n+0.3dB=65\n+0.7dB=66\n+1.1dB=67\n+1.5dB=68\n+1.8dB=69\n+2.2dB=70\n+2.6dB=71\n+3.0dB=72\n+3.3dB=73\n+3.7dB=74\n+4.1dB=75\n+4.5dB=76\n+4.8dB=77\n+5.2dB=78\n+5.6dB=79\n+6.0dB=80\n+6.3dB=81\n+6.7dB=82\n+7.1dB=83\n+7.5dB=84\n+7.8dB=85\n+8.2dB=86\n+8.6dB=87\n+9.0dB=88\n+9.3dB=89\n+9.7dB=90\n+10.1dB=91\n+10.5dB=92\n+10.8dB=93\n+11.2dB=94\n+11.6dB=95\n+12.0dB=96\n+12.3dB=97\n+12.7dB=98\n+13.1dB=99\n+13.5dB=100\n+13.8dB=101\n+14.2dB=102\n+14.6dB=103\n+15.0dB=104\n+15.3dB=105\n+15.7dB=106\n+16.1dB=107\n+16.5dB=108\n+16.8dB=109\n+17.2dB=110\n+17.6dB=111\n+18.0dB=112\n+18.3dB=113\n+18.7dB=114\n+19.1dB=115\n+19.5dB=116\n+19.8dB=117\n+20.2dB=118\n+20.6dB=119\n+21.0dB=120\n+21.3dB=121\n+21.7dB=122\n+22.1dB=123\n+22.5dB=124\n+22.8dB=125\n+23.2dB=126\n+23.6dB=127" lfoArray	= "0.8=1\n0.11=2\n0.15=3\n0.18=4\n0.21=5\n0.25=6\n0.28=7\n0.32=8\n0.35=9\n0.39=10\n0.42=11\n0.46=12\n0.50=13\n0.54=14\n0.58=15\n0.63=16\n0.67=17\n0.71=18\n0.76=19\n0.80=20\n0.85=21\n0.90=22\n0.94=23\n0.99=24\n1.4=25\n1.10=26\n1.15=27\n1.20=28\n1.25=29\n1.31=30\n1.37=31\n1.42=32\n1.48=33\n1.54=34\n1.60=35\n1.67=36\n1.73=37\n1.79=38\n1.86=39\n1.93=40\n2.0=41\n2.7=42\n2.14=43\n2.21=44\n2.29=45\n2.36=46\n2.44=47\n2.52=48\n2.60=49\n2.68=50\n2.77=51\n2.85=52\n2.94=53\n3.3=54\n3.12=55\n3.21=56\n3.31=57\n3.40=58\n3.50=59\n3.60=60\n3.70=61\n3.81=62\n3.91=63\n4.2=64\n4.13=65\n4.25=66\n4.36=67\n4.48=68\n4.60=69\n4.72=70\n4.84=71\n4.97=72\n5.10=73\n5.23=74\n5.37=75\n5.51=76\n5.65=77\n5.79=78\n5.94=79\n6.8=80\n6.24=81\n6.39=82\n6.55=83\n6.71=84\n6.88=85\n7.4=86\n7.21=87\n7.39=88\n7.57=89\n7.75=90\n7.93=91\n8.12=92\n8.32=93\n8.51=94\n8.71=95\n8.92=96\n9.13=97\n9.34=98\n9.56=99\n9.78=100\n10.=101\n10.23=102\n10.47=103\n10.71=104\n10.95=105\n11.20=106\n11.46=107\n11.71=108\n11.98=109\n12.25=110\n12.52=111\n12.80=112\n13.9=113\n13.38=114\n13.68=115\n13.99=116\n14.30=117\n14.61=118\n14.93=119\n15.26=120\n15.60=121\n15.94=122\n16.29=123\n16.65=124\n17.1=125\n17.38=126\n17.76=127\n18.14=128\n\n" --modulator values -- to be moved to needed scripts --filter cutoff = Cutoff:getValue() res	 = resonance:getValue() --preset --populate slider contents functions lfoValues() FilterGainValues() MorphFreqArray() --init modulators --panel:getModulatorByName("listbox"):getComponent():setProperty("uiListBoxContent", "", true) panel:getModulatorByName("sampleNameLCD"):getComponent():setPropertyString("uiLabelText", "") panel:getModulatorByName("sampleZoneList"):getComponent():setProperty("uiListBoxContent", "", true) end"
luaMethodLinkedProperty="luaPanelLoaded" luaMethodSource="0"
uuid="9abd5f1d4672a1515f2ca7aafa0a8ff8" luaMethodValid="1"/>
</luaMethodGroup>
<luaMethod luaMethodName="CopyVoice" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- CopyVoice = function(mod, value) --Copy a Voice to a new Voice in the Current Preset. if loaded then --EXAMPLE:> {F0h,18h,21h,ddh,55h,22h,xxh,xxh,yyh,yyh,zzh,zzh,ggh,F7h} --xxh,xxh = Source Preset (000 -> 999) LSB first --yyh,yyh = Source Voice (0 -> 255) LSB first --zzh,zzh = Destination Preset (000 -> 999) LSB first --ggh = Group Number (0 -> 31) local voice = panel:getModulatorByName("listbox"):getValue() local presetNum = panel:getModulatorByName("presetNumber"):getValue() local sourceLSB = lsb(presetNum) local sourceMSB = msb(presetNum) local copy = string.format("f0 18 21 %.2x 55 22 %.2x %.2x %.2x %.2x %.2x %.2x %.2x f7", devID,sourceLSB,sourceMSB,lsb(voice),msb(voice),sourceLSB,sourceMSB,0 ) panel:sendMidiMessageNow(CtrlrMidiMessage(copy)) -- request preset again to update panel state --presetDumpRequest() end end"
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="08ef1ad9fd5eee372cd955e4bc967e02" luaMethodValid="1"/>
<luaMethod luaMethodName="changeSampleName" luaMethodCode="-- -- Called when a modulator value changes -- @mod http://ctrlr.org/api/class_ctrlr_modulator.html -- @value new numeric value of the modulator -- changeSampleName = function(mod, value) --make a dialogwindow to enter a samplename 	if loaded == true then 	c = panel:getComponent("sampleNameLCD") 		if c ~= nil then 		textwindow = utils.askForTextInputWindow("enter sample name", "Maximum 16 characters,\nextra ones will be discarded.", "please enter a name", "", false, "ok", "cancel") 		c:setPropertyString("uiLabelText", textwindow) console(string.format("This was typed in the set samplename inputwindow")) console(string.format(textwindow)) --grab characters from texwindow's output (as dec) 		ch1 = string.byte(textwindow, 1) 		ch2 = string.byte(textwindow, 2) 		ch3 = string.byte(textwindow, 3) 		ch4 = string.byte(textwindow, 4) 		ch5 = string.byte(textwindow, 5) 		ch6 = string.byte(textwindow, 6) 		ch7 = string.byte(textwindow, 7) 		ch8 = string.byte(textwindow, 8) 		ch9 = string.byte(textwindow, 9) 		ch10 = string.byte(textwindow, 10) 		ch11 = string.byte(textwindow, 11) 		ch12 = string.byte(textwindow, 12) 		ch13 = string.byte(textwindow, 13) 		ch14 = string.byte(textwindow, 14) 		ch15 = string.byte(textwindow, 15) 		ch16 = string.byte(textwindow, 16) --console(string.format(KeyPress())) --fill empty values with space value to avoid nil value errors = ascii 32 //working 			if ch1 == nil then ch1 = 32 end 			if ch2 == nil then ch2 = 32 end 			if ch3 == nil then ch3 = 32 end 			if ch4 == nil then ch4 = 32 end 			if ch5 == nil then ch5 = 32 end 			if ch6 == nil then ch6 = 32 end 			if ch7 == nil then ch7 = 32 end 			if ch8 == nil then ch8 = 32 end 			if ch9 == nil then ch9 = 32 end 			if ch10 == nil then ch10 = 32 end 			if ch11 == nil then ch11 = 32 end 			if ch12 == nil then ch12 = 32 end 			if ch13 == nil then ch13 = 32 end 			if ch14 == nil then ch14 = 32 end 			if ch15 == nil then ch15 = 32 end 			if ch16 == nil then ch16 = 32 end --send name command bit = 09 // TODO tie two bits following 09 to sample number selection 			namestr = string.format("f0 18 21 01 55 09 %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x F7",sampleNumberMemLSB, sampleNumberMemMSB, ch1,ch2, ch3, ch4, ch5, ch6, ch7, ch8, ch9, ch10, ch11, ch12, ch13, ch14, ch15, ch16) 			console(string.format(namestr)) 		--	 				panel:sendMidiMessageNow(CtrlrMidiMessage(namestr)) 		--		end 			end 		end --	end end "
luaMethodLinkedProperty="luaModulatorValueChange" luaMethodSource="0"
uuid="bae27592fd585aa279dc05ac115c3016" luaMethodValid="1"/>
<luaMethod luaMethodName="FilterEnvMouseMove" luaMethodCode="-- -- Called when the mouse moves over a component -- FilterEnvMouseMove = function(comp, event) --console(string.format("x=%d y=%d ",event:getScreenX(),event:getScreenY())) --what(event) end"
luaMethodLinkedProperty="uiCustomMouseMoveCallback" luaMethodSource="0"
uuid="8199f77f0bcff29e6ce5d77d87035ba1" luaMethodValid="1"/>
<luaMethod luaMethodName="sampleLcdEdit" luaMethodCode="-- -- Called when the contents of a Label are changed -- @label -- @newContent a string that the label now contains -- sampleLcdEdit = function(label, newContent) textwindow = panel:getModulatorByName("sampleNameLCD"):getComponent():getComponentProperty("uiLabelText") ch1 = string.byte(textwindow, 1) ch2 = string.byte(textwindow, 2) ch3 = string.byte(textwindow, 3) ch4 = string.byte(textwindow, 4) ch5 = string.byte(textwindow, 5) ch6 = string.byte(textwindow, 6) ch7 = string.byte(textwindow, 7) ch8 = string.byte(textwindow, 8) ch9 = string.byte(textwindow, 9) ch10 = string.byte(textwindow, 10) ch11 = string.byte(textwindow, 11) ch12 = string.byte(textwindow, 12) ch13 = string.byte(textwindow, 13) ch14 = string.byte(textwindow, 14) ch15 = string.byte(textwindow, 15) ch16 = string.byte(textwindow, 16) 	if ch1 == nil then ch1 = 32 end 	if ch2 == nil then ch2 = 32 end 	if ch3 == nil then ch3 = 32 end 	if ch4 == nil then ch4 = 32 end 	if ch5 == nil then ch5 = 32 end 	if ch6 == nil then ch6 = 32 end 	if ch7 == nil then ch7 = 32 end 	if ch8 == nil then ch8 = 32 end 	if ch9 == nil then ch9 = 32 end 	if ch10 == nil then ch10 = 32 end 	if ch11 == nil then ch11 = 32 end 	if ch12 == nil then ch12 = 32 end 	if ch13 == nil then ch13 = 32 end 	if ch14 == nil then ch14 = 32 end 	if ch15 == nil then ch15 = 32 end 	if ch16 == nil then ch16 = 32 end --send name command bit = 09 // TODO tie two bits following 09 to sample number selection 			namestr = string.format("f0 18 21 01 55 09 %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x F7",sampleNumberMemLSB, sampleNumberMemMSB, ch1,ch2, ch3, ch4, ch5, ch6, ch7, ch8, ch9, ch10, ch11, ch12, ch13, ch14, ch15, ch16) 			console(string.format(namestr)) --panel:sendMidiMessageNow(CtrlrMidiMessage(namestr)) 	 end "
luaMethodLinkedProperty="uiLabelChangedCbk" luaMethodSource="0"
uuid="fcf28f883650d961f5a8c4bf47443b9e" luaMethodValid="1"/>
</luaManagerMethods>
</luaManager>
<uiPanelEditor uiPanelCanvasRectangle="0 0 976 749" uiPanelSnapSize="4" uiPanelBackgroundColour="0xffffffff"
uiPanelBackgroundColour1="0xffffffff" uiPanelBackgroundColour2="0xffffffff"
uiPanelBackgroundGradientType="1" uiPanelImageResource="" uiPanelEditMode="0"
uiPanelViewPortSize="832" uiPanelPropertiesSize="207" uiPanelLock="0"
uiPanelDisabledOnEdit="0" uiPanelWidth="400" uiPanelHeight="400"
name="Ctrlr Panel" uiPanelImageAlpha="255" uiPanelImageLayout="64"
uiPanelSnapActive="1" uiPanelPropertiesOnRight="0" luaPanelPaintBackground=""
luaPanelResized="" luaPanelFileDragDropHandler="-- None" luaPanelFileDragEnterHandler="-- None"
luaPanelFileDragExitHandler="-- None" uiPanelInvisibleComponentAlpha="0.5"
uiPanelMidiToolbarVisible="0">
<uiPanelCanvasLayer uiPanelCanvasLayerName="background" uiPanelCanvasLayerUid="77b1a64e8a000000292406b83d010000"
uiPanelCanvasLayerColour="5b000000" uiPanelCanvasLayerVisibility="1"
uiPanelCanvasLayerIndex="0"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="filterLayer" uiPanelCanvasLayerUid="7cf529518a000000d05806b83d010000"
uiPanelCanvasLayerColour="10000" uiPanelCanvasLayerVisibility="0"
uiPanelCanvasLayerIndex="3"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="midiSelectionLayer" uiPanelCanvasLayerUid="84c9bdb9050000001f1c4ec53d010000"
uiPanelCanvasLayerColour="0" uiPanelCanvasLayerVisibility="1"
uiPanelCanvasLayerIndex="2"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="guiSelectionLayer" uiPanelCanvasLayerUid="f6d45c1d2100000041788cc73d010000"
uiPanelCanvasLayerColour="0x000000" uiPanelCanvasLayerVisibility="1"
uiPanelCanvasLayerIndex="1"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="infoLayer" uiPanelCanvasLayerUid="e99165130600000058c3fa503e010000"
uiPanelCanvasLayerColour="50000000" uiPanelCanvasLayerVisibility="0"
uiPanelCanvasLayerIndex="8"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="groupLinkLayer" uiPanelCanvasLayerUid="4cc086dd12000000d73967a33e010000"
uiPanelCanvasLayerColour="0x000000" uiPanelCanvasLayerVisibility="0"
uiPanelCanvasLayerIndex="4"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="TuningLayer" uiPanelCanvasLayerUid="df67ac3415000000794d98a33e010000"
uiPanelCanvasLayerColour="0x000000" uiPanelCanvasLayerVisibility="1"
uiPanelCanvasLayerIndex="6"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="cordsLayer" uiPanelCanvasLayerUid="eb6ee9bb26000000ced77ac13e010000"
uiPanelCanvasLayerColour="0x000000" uiPanelCanvasLayerVisibility="0"
uiPanelCanvasLayerIndex="5"/>
<uiPanelCanvasLayer uiPanelCanvasLayerName="lfoAuxLayer" uiPanelCanvasLayerUid="e4586fb80b00000096cb72423f010000"
uiPanelCanvasLayerColour="0x000000" uiPanelCanvasLayerVisibility="0"
uiPanelCanvasLayerIndex="7"/>
</uiPanelEditor>
<modulator modulatorVstExported="1" modulatorMax="255" vstIndex="0" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="cutoffChanged"
name="cutoff" modulatorMin="0" modulatorValue="255">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="horizontallyCentred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="1"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="ff000000"
componentLabelFont="Aharoni;14;0;0;0;0;1" componentVisibleName="Cutoff"
componentMouseCursor="2" componentGroupName="modulator-13" componentGroupped="1"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="No Effect" componentEffectRadius="143.3" componentEffectColour="ffff0000"
componentEffectOffsetX="9" componentEffectOffsetY="9" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiImageSliderResource="blackAngel127x4"
resourceImageWidth="64" resourceImageHeight="64" resourceImagePaintMode="36"
resourceImageOrientation="1" uiSliderStyle="RotaryVerticalDrag"
uiSliderMin="0" uiSliderMax="1" uiSliderInterval="1" uiSliderDoubleClickEnabled="1"
uiSliderDoubleClickValue="0" uiSliderValueHeight="12" uiSliderValuePosition="4"
uiSliderValueWidth="64" uiSliderValueTextColour="b000000" uiSliderValueBgColour="4ffffff"
uiSliderRotaryOutlineColour="ff0000ff" uiSliderRotaryFillColour="0xff0000ff"
uiSliderThumbColour="0xffff0000" uiSliderValueHighlightColour="0xff0000ff"
uiSliderValueOutlineColour="ffffff" uiSliderTrackColour="0xff0f0f0f"
uiFixedSliderContent="57hz=0 59hz=1 61hz=2 63hz=3 65hz=4 67hz=5 69hz=6 71hz=7 73hz=8 75hz=9 77hz=10 79hz=11 81hz=12 83hz=13 85hz=14 87hz=15 89hz=16 91hz=17 93hz=18 96hz=19 99hz=20 102hz=21 105hz=22 108hz=23 111hz=24 114hz=25 117hz=26 120hz=27 123hz=28 126hz=29 129hz=30 132hz=31 135hz=32 138hz=33 142hz=34 146hz=35 150hz=36 154hz=37 158hz=38 162hz=39 166hz=40 170hz=41 174hz=42 178hz=43 182hz=44 186hz=45 191hz=46 196hz=47 201hz=48 206hz=49 211hz=50 216hz=51 221hz=52 226hz=53 231hz=54 237hz=55 243hz=56 249hz=57 255hz=58 261hz=59 267hz=60 273hz=61 280hz=62 287hz=63 294hz=64 301hz=65 308hz=66 315hz=67 322hz=68 330hz=69 338hz=70 346hz=71 354hz=72 362hz=73 370hz=74 379hz=75 388hz=76 397hz=77 406hz=78 415hz=79 425hz=80 435hz=81 445hz=82 455hz=83 466hz=84 477hz=85 488hz=86 499hz=87 510hz=88 522hz=89 534hz=90 546hz=91 558hz=92 571hz=93 584hz=94 597hz=95 611hz=96 625hz=97 639hz=98 654hz=99 669hz=100 684hz=101 700hz=102 716hz=103 732hz=104 749hz=105 766hz=106 783hz=107 801hz=108 819hz=109 837hz=110 856hz=111 875hz=112 895hz=113 915hz=114 936hz=115 957hz=116 979hz=117 1001hz=118 1023hz=119 1046hz=120 1069hz=121 1093hz=122 1117hz=123 1142hz=124 1168hz=125 1194hz=126 1221hz=127 1248hz=128 1276hz=129 1305hz=130 1334hz=131 1364hz=132 1394hz=133 1425hz=134 1457hz=135 1489hz=136 1522hz=137 1556hz=138 1591hz=139 1626hz=140 1662hz=141 1699hz=142 1737hz=143 1776hz=144 1815hz=145 1855hz=146 1896hz=147 1938hz=148 1981hz=149 2025hz=150 2070hz=151 2116hz=152 2163hz=153 2211hz=154 2260hz=155 2310hz=156 2361hz=157 2413hz=158 2467hz=159 2522hz=160 2578hz=161 2635hz=162 2693hz=163 2753hz=164 2814hz=165 2876hz=166 2940hz=167 3005hz=168 3071hz=169 3139hz=170 3208hz=171 3279hz=172 3352hz=173 3426hz=174 3502hz=175 3579hz=176 3658hz=177 3739hz=178 3822hz=179 3906hz=180 3992hz=181 4080hz=182 4170hz=183 4262hz=184 4356hz=185 4452hz=186 4550hz=187 4650hz=188 4753hz=189 4858hz=190 4965hz=191 5075hz=192 5187hz=193 5301hz=194 5418hz=195 5537hz=196 5659hz=197 5784hz=198 5912hz=199 6042hz=200 6175hz=201 6311hz=202 6450hz=203 6592hz=204 6737hz=205 6885hz=206 7037hz=207 7192hz=208 7350hz=209 7512hz=210 7677hz=211 7846hz=212 8019hz=213 8196hz=214 8376hz=215 8560hz=216 8748hz=217 8941hz=218 9138hz=219 9339hz=220 9545hz=221 9755hz=222 9970hz=223 10189hz=224 10413hz=225 10642hz=226 10876hz=227 11115hz=228 11360hz=229 11610hz=230 11865hz=231 12126hz=232 12393hz=233 12666hz=234 12945hz=235 13230hz=236 13521hz=237 13818hz=238 14122hz=239 14433hz=240 14750hz=241 15074hz=242 15405hz=243 15744hz=244 16090hz=245 16444hz=246 16806hz=247 17176hz=248 17554hz=249 17940hz=250 18334hz=251 18737hz=252 19149hz=253 19570hz=254 20000hz=255"
uiSliderValueFont="<Sans-Serif>;12;0;0;0;0;1" uiSliderIncDecButtonColour="0xff0000ff"
uiSliderIncDecTextColour="0xffffffff" uiSliderValueTextJustification="centred"
uiSliderVelocitySensitivity="1" uiSliderVelocityThreshold="1"
uiSliderVelocityOffset="0" uiSliderVelocityMode="0" uiSliderVelocityModeKeyTrigger="1"
uiSliderSpringMode="0" uiSliderSpringValue="0" uiSliderMouseWheelInterval="1"
uiSliderPopupBubble="0" componentRectangle="36 176 100 100" uiType="uiFixedImageSlider"
componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorCustomIndex="0" modulatorCustomIndexGroup="0" modulatorIsStatic="1"
name="cutoffLCD" modulatorVstExported="0" modulatorValue="0">
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="0" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="modulator-1"
componentMouseCursor="2" componentGroupName="modulator-13" componentGroupped="1"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiLabelBgColour="0" uiLabelTextColour="ff000000"
uiLabelOutline="0" uiLabelOutlineColour="ff000000" uiLabelJustification="centred"
uiLabelFitFont="0" uiLCDLabelFont="5" uiLCDLabelFontHeight="20"
uiLabelText="20000hz" uiLabelDisplaysAllValues="0" uiLabelDisplayFormat=""
uiLabelInputHighlightTextColour="0xffffffff" uiLabelInputHighlightColour="0xff0000ff"
uiLabelEditOnSingleClick="0" uiLabelEditOnDoubleClick="0" uiLabelEditFocusDiscardsChanges="1"
uiLabelInputAllowedChars="" uiLabelInputMaxLength="1024" uiLabelChangedCbk="-- None"
componentRectangle="40 272 87 27" uiType="uiLCDLabel" componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorVstExported="0" modulatorMax="20" vstIndex="3" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="filterType"
name="filterType" modulatorMin="0" modulatorValue="1">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="modulator-1"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiListBoxContent="2 pole lp=0 4 pole lp=1 6 pole lp=2 2nd order hp=3 4th order hp=4 2nd order bp=5 4th order bp=6 contrary bp=7 swept eq 1 oct=8 swept eq 2->1oct=9 swept eq 3->1oct=10 phaser 1=11 phaser 2=12 bat-phaser=13 flanger lite=14 vocal AhAyEe=15 vocal OoAh=16 dual eq morph=17 2eq+lp morph=18 2eq morph+exprssn=19 peak/shelf morph=20"
uiListBoxRowHeight="16" uiListBoxBackgroundColour="ffffff" uiListBoxHighlightBgColour="75a6a6ff"
uiListBoxHighlightFgColour="0xff000000" uiListBoxTextColour="0xff000000"
uiListBoxFont="<Sans-Serif>;14;0;0;0;0;1" uiListBoxHighlightFont="<Sans-Serif>;14;0;0;0;0;1"
uiListBoxOutline="2" uiListBoxOutlineColour="5d362020" uiListBoxVScrollBgColour="0xffffffff"
uiListBoxVScrollThumbColour="0xffababab" uiListBoxVScrollTrackColour="0xffff0000"
uiListBoxHScrollBgColour="0xffffffff" uiListBoxHScrollThumbColour="0xffababab"
uiListBoxHScrollTrackColour="0xffff0000" uiListBoxJustification="left"
uiListBoxMultipleSelection="0" uiListBoxItemClicked="-- None"
uiListBoxItemDoubleClicked="-- None" uiListBoxItemDeleteKeyPressed="-- None"
uiListBoxItemReturnKeyPressed="-- None" componentRectangle="452 60 128 370"
uiType="uiListBox" componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorVstExported="1" modulatorMax="127" vstIndex="4" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="resAndGainChanged"
name="resAndGain" modulatorMin="0" uiFixedSliderContent="" modulatorValue="0">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="1"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="Aharoni;14;0;0;0;0;1" componentVisibleName="Resonance"
componentMouseCursor="2" componentGroupName="modulator-13" componentGroupped="1"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiImageSliderResource="blackAngel127x4"
resourceImageWidth="64" resourceImageHeight="64" resourceImagePaintMode="36"
resourceImageOrientation="1" uiSliderStyle="RotaryVerticalDrag"
uiSliderMin="0" uiSliderMax="1" uiSliderInterval="1" uiSliderDoubleClickEnabled="1"
uiSliderDoubleClickValue="0" uiSliderValueHeight="12" uiSliderValuePosition="4"
uiSliderValueWidth="64" uiSliderValueTextColour="8c3030" uiSliderValueBgColour="ffffff"
uiSliderRotaryOutlineColour="0xff0000ff" uiSliderRotaryFillColour="0xff0000ff"
uiSliderThumbColour="0xffff0000" uiSliderValueHighlightColour="0xff0000ff"
uiSliderValueOutlineColour="ffffff" uiSliderTrackColour="0xff0f0f0f"
uiFixedSliderContent="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127"
uiSliderValueFont="<Sans-Serif>;12;0;0;0;0;1" uiSliderIncDecButtonColour="0xff0000ff"
uiSliderIncDecTextColour="0xffffffff" uiSliderValueTextJustification="centred"
uiSliderVelocitySensitivity="1" uiSliderVelocityThreshold="1"
uiSliderVelocityOffset="0" uiSliderVelocityMode="0" uiSliderVelocityModeKeyTrigger="1"
uiSliderSpringMode="0" uiSliderSpringValue="0" uiSliderMouseWheelInterval="1"
uiSliderPopupBubble="0" componentRectangle="164 176 100 100"
uiType="uiFixedImageSlider" componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorCustomIndex="0" modulatorCustomIndexGroup="0" modulatorIsStatic="1"
name="resLCD" modulatorVstExported="0" modulatorValue="0">
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="0" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="modulator-1"
componentMouseCursor="2" componentGroupName="modulator-13" componentGroupped="1"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="left"
componentValueDecimalPlaces="0" uiLabelBgColour="0" uiLabelTextColour="ff000000"
uiLabelOutline="0" uiLabelOutlineColour="ff000000" uiLabelJustification="centred"
uiLabelFitFont="0" uiLCDLabelFont="5" uiLCDLabelFontHeight="20"
uiLabelText="0" uiLabelDisplaysAllValues="0" uiLabelDisplayFormat=""
uiLabelInputHighlightTextColour="0xffffffff" uiLabelInputHighlightColour="0xff0000ff"
uiLabelEditOnSingleClick="0" uiLabelEditOnDoubleClick="0" uiLabelEditFocusDiscardsChanges="1"
uiLabelInputAllowedChars="" uiLabelInputMaxLength="1024" uiLabelChangedCbk="-- None"
componentRectangle="168 272 87 27" uiType="uiLCDLabel" componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorVstExported="0" modulatorMax="0" vstIndex="5" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="selectedVoice"
name="listbox" modulatorMin="0" modulatorValue="0">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="Voices"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiListBoxContent="Voice 1=1 "
uiListBoxRowHeight="16" uiListBoxBackgroundColour="ffffff" uiListBoxHighlightBgColour="8cffffff"
uiListBoxHighlightFgColour="0xff000000" uiListBoxTextColour="0xff000000"
uiListBoxFont="<Sans-Serif>;14;0;0;0;0;1" uiListBoxHighlightFont="<Sans-Serif>;14;0;0;0;0;1"
uiListBoxOutline="2" uiListBoxOutlineColour="5b000000" uiListBoxVScrollBgColour="0xffffffff"
uiListBoxVScrollThumbColour="0xffababab" uiListBoxVScrollTrackColour="0xffff0000"
uiListBoxHScrollBgColour="49000000" uiListBoxHScrollThumbColour="0xffababab"
uiListBoxHScrollTrackColour="0xffff0000" uiListBoxJustification="left"
uiListBoxMultipleSelection="0" uiListBoxItemClicked="-- None"
uiListBoxItemDoubleClicked="-- None" uiListBoxItemDeleteKeyPressed="-- None"
uiListBoxItemReturnKeyPressed="-- None" componentRectangle="28 48 101 179"
uiType="uiListBox" componentLayerUid="84c9bdb9050000001f1c4ec53d010000"/>
</modulator>
<modulator modulatorVstExported="0" modulatorMax="0" vstIndex="6" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="presetDumpRequest"
name="dumpRequest" modulatorMin="0" modulatorValue="0">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="request dump"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiButtonTrueValue="1" uiButtonFalseValue="0"
uiButtonIsToggle="0" uiButtonColourOn="ff37ceff" uiButtonColourOff="ff37ceff"
uiButtonTextColourOn="ffffffff" uiButtonTextColourOff="ffffffff"
uiButtonContent="request dump" uiButtonConnectedLeft="0" uiButtonConnectedRight="0"
uiButtonConnectedTop="0" uiButtonConnectedBottom="0" uiButtonRepeat="0"
uiButtonRepeatRate="100" uiButtonTriggerOnMouseDown="0" componentRectangle="28 496 88 39"
uiType="uiButton" componentLayerUid="f6d45c1d2100000041788cc73d010000"/>
</modulator>
<modulator modulatorVstExported="1" modulatorMax="255" vstIndex="7" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="selectedPreset"
name="presetNumber" modulatorMin="0" modulatorValue="0">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="1"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="preset"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiSliderStyle="IncDecButtons"
uiSliderMin="0" uiSliderMax="255" uiSliderInterval="1" uiSliderDoubleClickEnabled="1"
uiSliderDoubleClickValue="0" uiSliderValuePosition="4" uiSliderValueHeight="12"
uiSliderValueWidth="64" uiSliderTrackCornerSize="5" uiSliderThumbCornerSize="3"
uiSliderThumbWidth="0" uiSliderThumbHeight="0" uiSliderThumbFlatOnLeft="0"
uiSliderThumbFlatOnRight="0" uiSliderThumbFlatOnTop="0" uiSliderThumbFlatOnBottom="0"
uiSliderValueTextColour="0xff000000" uiSliderValueBgColour="0xffffffff"
uiSliderRotaryOutlineColour="0xff0000ff" uiSliderRotaryFillColour="0xff0000ff"
uiSliderThumbColour="0xffff0000" uiSliderValueHighlightColour="0xff0000ff"
uiSliderValueOutlineColour="0xffffffff" uiSliderTrackColour="0xff0f0f0f"
uiSliderIncDecButtonColour="0xff0000ff" uiSliderIncDecTextColour="0xffffffff"
uiSliderValueFont="<Sans-Serif>;12;0;0;0;0;1" uiSliderValueTextJustification="centred"
uiSliderVelocitySensitivity="1" uiSliderVelocityThreshold="1"
uiSliderVelocityOffset="0" uiSliderVelocityMode="0" uiSliderVelocityModeKeyTrigger="1"
uiSliderSpringMode="0" uiSliderSpringValue="0" uiSliderMouseWheelInterval="1"
uiSliderPopupBubble="0" componentRectangle="32 404 82 46" uiType="uiSlider"
componentLayerUid="f6d45c1d2100000041788cc73d010000"/>
</modulator>
<modulator modulatorVstExported="1" modulatorMax="20" vstIndex="8" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="switchFilter"
name="filtertype" modulatorMin="0" modulatorValue="10">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="1"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="filtertype helper"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="0"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiSliderStyle="RotaryVerticalDrag"
uiSliderMin="0" uiSliderMax="1" uiSliderInterval="1" uiSliderDoubleClickEnabled="1"
uiSliderDoubleClickValue="0" uiSliderValueHeight="12" uiSliderValuePosition="4"
uiSliderValueWidth="64" uiSliderValueTextColour="0xff000000"
uiSliderValueBgColour="0xffffffff" uiSliderRotaryOutlineColour="0xff0000ff"
uiSliderRotaryFillColour="0xff0000ff" uiSliderThumbColour="0xffff0000"
uiSliderValueHighlightColour="0xff0000ff" uiSliderValueOutlineColour="0xffffffff"
uiSliderTrackColour="0xff0f0f0f" uiFixedSliderContent="2 pole lp=0 4 pole lp=1 6 pole lp=2 2nd order hp=3 4th order hp=4 2nd order bp=5 4th order bp=6 contrary bp=7 swept eq 1 oct=8 swept eq 2->1oct=9 swept eq 3->1oct=10 phaser 1=11 phaser 2=12 bat-phaser=13 flanger lite=14 vocal AhAyEe=15 vocal OoAh=16 dual eq morph=17 2eq+lp morph=18 2eq morph+exprssn=19 peak/shelf morph=20"
uiSliderValueFont="<Sans-Serif>;12;0;0;0;0;1" uiSliderIncDecButtonColour="0xff0000ff"
uiSliderIncDecTextColour="0xffffffff" uiSliderValueTextJustification="centred"
uiSliderVelocitySensitivity="1" uiSliderVelocityThreshold="1"
uiSliderVelocityOffset="0" uiSliderVelocityMode="0" uiSliderVelocityModeKeyTrigger="1"
uiSliderSpringMode="0" uiSliderSpringValue="0" uiSliderMouseWheelInterval="1"
uiSliderPopupBubble="0" componentRectangle="340 468 100 64" uiType="uiFixedSlider"
componentLayerUid="7cf529518a000000d05806b83d010000"/>
</modulator>
<modulator modulatorCustomIndex="0" modulatorCustomIndexGroup="0" modulatorIsStatic="1"
name="modulator-1" modulatorVstExported="0" modulatorValue="0">
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="ff730e0e"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="modulator-1"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="No Effect" componentEffectRadius="24.2" componentEffectColour="ffd32222"
componentEffectOffsetX="27" componentEffectOffsetY="36" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiLabelBgColour="63a20d0d" uiLabelTextColour="ffffffff"
uiLabelOutline="0" uiLabelOutlineColour="0x00000000" uiLabelJustification="centred"
uiLabelFitFont="0" uiLabelFont="<Sans-Serif>;14;0;0;0;0;1"
uiLabelText="Please wait while the preset is being updated" uiLabelDisplaysAllValues="0"
uiLabelDisplayFormat="" uiLabelInputHighlightTextColour="0xffffffff"
uiLabelInputHighlightColour="0xff0000ff" uiLabelEditOnSingleClick="0"
uiLabelEditOnDoubleClick="0" uiLabelEditFocusDiscardsChanges="1"
uiLabelInputAllowedChars="" uiLabelInputMaxLength="1024" uiLabelChangedCbk="-- None"
componentRectangle="224 188 323 124" uiType="uiLabel" componentLayerUid="e99165130600000058c3fa503e010000"/>
</modulator>
<modulator modulatorCustomIndex="0" modulatorCustomIndexGroup="0" modulatorIsStatic="1"
name="presetLCD" modulatorVstExported="0" modulatorValue="0">
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="modulator-2"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"
componentBubbleValueColour="0xff000000" componentBubbleValueFont="<Sans-Serif>;14;0;0;0;0;1"
componentBubbleValueJustification="centred" componentBubbleNameColour="0xff000000"
componentBubbleNameFont="<Sans-Serif>;14;0;0;0;0;1" componentBubbleNameJustification="centred"
componentValueDecimalPlaces="0" uiLabelBgColour="ff000000" uiLabelTextColour="ff00de1e"
uiLabelOutline="0" uiLabelOutlineColour="ff000000" uiLabelJustification="centred"
uiLabelFitFont="0" uiLCDLabelFont="5" uiLCDLabelFontHeight="18"
uiLabelText="Untitled Preset " uiLabelDisplaysAllValues="0" uiLabelDisplayFormat="%n(%N) = %v(%h)"
uiLabelInputHighlightTextColour="0xffffffff" uiLabelInputHighlightColour="0xff0000ff"
uiLabelEditOnSingleClick="0" uiLabelEditOnDoubleClick="0" uiLabelEditFocusDiscardsChanges="1"
uiLabelInputAllowedChars="" uiLabelInputMaxLength="1024" uiLabelChangedCbk="-- None"
componentRectangle="28 8 236 34" uiType="uiLCDLabel" componentLayerUid="77b1a64e8a000000292406b83d010000"/>
</modulator>
<modulator modulatorVstExported="1" modulatorMax="5" vstIndex="9" modulatorIsStatic="0"
modulatorGlobalVariable="-1" modulatorMuteOnStart="0" modulatorExcludeFromSnapshot="0"
modulatorValueExpression="modulatorValue" modulatorValueExpressionReverse="midiValue"
luaModulatorGetValueForMIDI="-- None" luaModulatorGetValueFromMIDI="-- None"
modulatorLinkedToPanelProperty="-- None" modulatorLinkedToModulatorProperty="-- None"
modulatorLinkedToModulator="-- None" modulatorLinkedToModulatorSource="1"
modulatorLinkedToComponent="0" modulatorBaseValue="0" modulatorCustomIndex="0"
modulatorCustomName="" modulatorCustomIndexGroup="0" modulatorCustomNameGroup=""
modulatorVstNameFormat="%n" luaModulatorValueChange="editorPageSelect"
name="modulator-2" modulatorMin="0" modulatorValue="1">
<midi midiMessageType="9" midiMessageChannelOverride="0" midiMessageChannel="1"
midiMessageCtrlrNumber="1" midiMessageCtrlrValue="0" midiMessageMultiList=""
midiMessageSysExFormula=""/>
<component componentLabelPosition="top" componentLabelJustification="centred"
componentLabelHeight="14" componentLabelWidth="0" componentLabelVisible="0"
componentLabelAlwaysOnTop="1" componentSentBack="0" componentLabelColour="0xff000000"
componentLabelFont="<Sans-Serif>;12;0;0;0;0;1" componentVisibleName="Editor page"
componentMouseCursor="2" componentGroupName="" componentGroupped="0"
componentSnapSize="0" componentIsLocked="0" componentDisabled="0"
componentRadioGroupId="0" componentRadioGroupNotifyMidi="1" componentVisibility="1"
componentEffect="0" componentEffectRadius="1" componentEffectColour="0xff000000"
componentEffectOffsetX="0" componentEffectOffsetY="0" componentExcludedFromLabelDisplay="0"
componentBubbleRoundAngle="10" componentBubbleBackgroundColour1="0x9cffffff"
componentBubbleBackgroundColour2="0xbab9b9b9" componentBubbleBackgroundGradientType="1"