-
Notifications
You must be signed in to change notification settings - Fork 0
/
tdh.ctrl.slider.ui.pd
2296 lines (2296 loc) · 97.9 KB
/
tdh.ctrl.slider.ui.pd
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
#N canvas 125 366 1227 300 10;
#X obj 26 117 cnv 1 48 2 empty \$0-inletBorder-r empty 1 7 0 10 #404040 #404040 0;
#X obj 26 104 cnv 10 48 14 empty \$0-inletBar-r Val 0 6 0 8 #dfdfdf #404040 0;
#X obj 26 216 cnv 1 48 2 empty \$0-moduleNameBorder-r empty 1 7 0 10 #404040 #404040 0;
#X obj 26 217 cnv 12 48 14 empty \$0-moduleName-r Slider 1 7 0 10 #dcdcdc #404040 0;
#X obj 26 231 cnv 1 48 2 empty \$0-outletBorder-r empty 1 7 0 10 #404040 #404040 0;
#X obj 26 232 cnv 10 48 14 empty \$0-outletBar-r Val 0 6 0 8 #dfdfdf #404040 0;
#X text 18 47 Travis Houldcroft || travishouldcroft.com;
#X obj 1 2 cnv 15 700 40 empty \$0-abstrPatchTitleBar tdh.util.slider.ui 9 20 0 18 #3c50fc #a0a0a0 0;
#X obj 1 75 cnv 2 700 9 empty \$0-abstrPatchSecDivider empty 9 20 0 18 #a0a0a0 #202020 0;
#N canvas 582 35 770 815 abstr-init 0;
#X obj 3 56 cnv 5 5 5 empty empty | 0 0 0 14 #fcfcfc #404040 0;
#X obj 176 122 loadbang;
#X obj 176 148 del 10;
#N canvas 1280 23 1414 755 abstr-cnv-set 0;
#X text 121 406 \$0-abstrPatchSecDivider;
#X text 120 1003 \$0-abstrPatchSecLabelNotes;
#X text 120 1139 \$0-abstrPatchSecLabelRevHist;
#N canvas 1440 23 349 258 canvas-ctrl 0;
#X obj 291 1 inlet;
#N canvas 1440 270 1089 459 graph 0;
#X floatatom 180 241 5 0 0 0 Lbl-Sz - - 0;
#X floatatom 273 241 5 0 29 0 Lbl-Clr - - 0;
#N canvas 32 23 1408 389 label-properties 0;
#X floatatom 314 72 3 18 100 0 - - - 0;
#X msg 314 99 size \$1;
#X obj 400 121 pack 100 60, f 18;
#X obj 491 93 t b f;
#X floatatom 491 68 4 18 100 0 - - - 0;
#X floatatom 400 68 4 18 100 0 - - - 0;
#X msg 400 148 vis_size \$1 \$2;
#X text 442 41 w/x;
#X text 532 41 h/y;
#X floatatom 589 116 4 0 3 0 - - - 0;
#X obj 721 135 t b f;
#X floatatom 721 116 5 5 50 0 - - - 0;
#X msg 589 185 label_font \$1 \$2;
#X text 632 41 type;
#X text 760 40 size;
#X obj 589 64 vradio 15 1 0 3 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0;
#X text 605 63 DejaVu Sans Mono;
#X text 605 78 Helvetica;
#X text 606 93 Times;
#X floatatom 817 71 4 -100 250 0 - - - 0;
#X obj 889 98 t b f;
#X floatatom 889 71 5 -150 150 0 - - - 0;
#X msg 817 148 label_pos \$1 \$2;
#X text 856 41 x;
#X text 929 41 y;
#X obj 817 126 pack 17 20, f 17;
#X obj 589 164 pack 0 25, f 24;
#X msg 973 129 label \$1;
#X floatatom 1191 70 3 0 29 1 bgColor - - 0;
#X floatatom 1295 70 3 0 29 1 lblColor - - 0;
#X obj 1295 92 t b f;
#X msg 1191 145 color \$1 \$2 \$3;
#X obj 1191 124 pack 1 22 22, f 14;
#X text 1170 18 Color Presets (0-29):;
#X obj 24 42 inlet;
#X obj 8 42 cnv 14 14 14 empty empty 0 4 8 0 12 #606060 #dcdcdc 0;
#X symbolatom 24 210 10 0 0 0 - - - 0;
#X obj 588 330 send, f 13;
#X obj 400 42 inlet;
#X obj 314 42 inlet;
#X obj 491 42 inlet;
#X obj 155 42 cnv 14 14 14 empty empty 1 4 8 0 12 #606060 #dcdcdc 0;
#X obj 297 42 cnv 14 14 14 empty empty 2 4 8 0 12 #606060 #dcdcdc 0;
#X obj 384 42 cnv 14 14 14 empty empty 3 4 8 0 12 #606060 #dcdcdc 0;
#X obj 721 42 inlet;
#X obj 589 42 inlet;
#X obj 817 42 inlet;
#X obj 476 42 cnv 14 14 14 empty empty 4 4 8 0 12 #606060 #dcdcdc 0;
#X obj 573 42 cnv 14 14 14 empty empty 5 4 8 0 12 #606060 #dcdcdc 0;
#X obj 703 42 cnv 14 14 14 empty empty 6 4 8 0 12 #606060 #dcdcdc 0;
#X text 315 18 Size;
#X text 421 18 Visible Size;
#X text 635 18 Label Font;
#X text 824 18 Label Offset;
#X obj 889 42 inlet;
#X obj 800 42 cnv 14 14 14 empty empty 7 4 8 0 12 #606060 #dcdcdc 0;
#X msg 1052 89 symbol my\ label;
#X symbolatom 973 92 10 0 0 0 - - - 0;
#X obj 973 42 inlet;
#X obj 872 42 cnv 14 14 14 empty empty 8 4 8 0 12 #606060 #dcdcdc 0;
#X msg 973 70 symbol \$1;
#X text 1007 18 Label Text;
#X obj 1191 42 inlet;
#X obj 958 42 cnv 14 14 14 empty empty 9 4 8 0 12 #606060 #dcdcdc 0;
#X obj 1295 42 inlet;
#X obj 1174 42 cnv 14 14 14 empty empty 10 0 8 0 12 #606060 #dcdcdc 0;
#X text 0 18 Canvas Name;
#X obj 284 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 738 322 cnv 2 700 40 empty \$0-test_canvas tdh.util.slider.ui 20 15 0 16 #a0a0a0 #202020 0;
#X obj 415 328 s \$0-test_canvas;
#X obj 210 187 spigot;
#X obj 170 88 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 249 134 == 1;
#X obj 101 135 == 0;
#X obj 144 134 list append \$0;
#X msg 144 157 symbol \$2-\$1;
#X msg 24 136 symbol \$1;
#X obj 24 167 spigot;
#X obj 170 42 inlet;
#X obj 1279 42 cnv 14 14 14 empty empty 11 0 8 0 12 #606060 #dcdcdc 0;
#X text 136 18 Add "\$0" option;
#X obj 374 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 561 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 791 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 944 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 1164 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X connect 0 0 1 0;
#X connect 1 0 37 0;
#X connect 1 0 69 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 2 1;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 37 0;
#X connect 6 0 69 0;
#X connect 9 0 26 0;
#X connect 10 0 26 0;
#X connect 10 1 26 1;
#X connect 11 0 10 0;
#X connect 12 0 37 0;
#X connect 12 0 69 0;
#X connect 15 0 9 0;
#X connect 19 0 25 0;
#X connect 20 0 25 0;
#X connect 20 1 25 1;
#X connect 21 0 20 0;
#X connect 22 0 37 0;
#X connect 22 0 69 0;
#X connect 25 0 22 0;
#X connect 26 0 12 0;
#X connect 27 0 37 0;
#X connect 27 0 69 0;
#X connect 28 0 32 0;
#X connect 29 0 30 0;
#X connect 30 0 32 0;
#X connect 30 1 32 2;
#X connect 31 0 37 0;
#X connect 31 0 69 0;
#X connect 32 0 31 0;
#X connect 34 0 74 0;
#X connect 34 0 76 0;
#X connect 36 0 37 1;
#X connect 38 0 5 0;
#X connect 39 0 0 0;
#X connect 40 0 4 0;
#X connect 44 0 11 0;
#X connect 45 0 15 0;
#X connect 46 0 19 0;
#X connect 54 0 21 0;
#X connect 56 0 27 0;
#X connect 57 0 27 0;
#X connect 58 0 60 0;
#X connect 60 0 57 0;
#X connect 62 0 28 0;
#X connect 64 0 29 0;
#X connect 70 0 36 0;
#X connect 71 0 72 0;
#X connect 71 0 73 0;
#X connect 72 0 70 1;
#X connect 73 0 77 1;
#X connect 74 0 75 0;
#X connect 75 0 70 0;
#X connect 76 0 77 0;
#X connect 77 0 36 0;
#X connect 78 0 71 0;
#X restore 6 354 pd label-properties;
#X f 45;
#X floatatom 273 219 5 0 29 0 BG-Clr - - 0;
#X floatatom 180 174 5 0 0 0 Vis-Sz-W - - 0;
#X floatatom 181 198 5 0 0 0 Vis-Sz-H - - 0;
#X floatatom 271 150 5 0 0 0 Lbl-X - - 0;
#X floatatom 272 174 5 0 0 0 Lbl-Y - - 0;
#X floatatom 180 150 5 0 0 0 Size - - 0;
#X symbolatom 214 127 10 0 0 0 CnvReceiveSymbol - - 0;
#X floatatom 181 219 5 0 2 0 Lbl-Fon - - 0;
#X symbolatom 274 195 10 0 0 0 Lbl-Txt - - 0;
#X obj 295 128 tgl 15 0 empty empty Append_0 20 7 0 10 #fcfcfc #fc8000 #000000 0 1;
#X text 194 103 Label Properties;
#X obj 28 18 inlet;
#X obj 414 223 cnv 15 500 30 empty \$0-myCanvas This\ is\ my\ label? 9 13 0 18 #e0e0e0 #606060 0;
#X obj 28 54 route doll rec size visw vish lblfon lblsz lblx lbly bgclr lblclr, f 66;
#X obj 56 93 symbol;
#X text 6 4 _;
#X text 479 173 dollarsign0-myCanvas;
#X msg 74 18 doll 1 \, rec myCanvas \, size 15 \, visw 50 \, vish 60 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#N canvas 240 66 752 410 \$0-how-to-set-values-externally 0;
#X text 112 49 doll [0/1] - toggle on appending "\$0-" at the start of the recieve symbol, f 85;
#X text 112 102 visw [float] - the visible width of the canvas in pixels, f 85;
#X text 112 85 size [float] - the size of the clickable/dragable portion of the canvas in pixels, f 85;
#X text 112 122 vish [float] - the visible height of the canvas in pixels, f 85;
#X text 111 141 lblfon [0/1/2] - font designation for the canvas' label \, with [0] for Menlo \, [1] for, f 89;
#X text 131 155 Helvetica \, [2] for Times. Note that these fonts may be different on Windows or Linux, f 84;
#X text 111 173 lblsz [float] - font size designation for the canvas' label, f 85;
#X text 111 213 lbly [float] - y offset in pixels from the top left corner of the canvas, f 85;
#X text 111 193 lblx [float] - x offset (horizontal) in pixels from the top left corner of the canvas, f 85;
#X text 4 29 To set the values for your canvas object externally \, send messages with the following signifiers to the 0 (leftmost) inlet:, f 124;
#X msg 31 336 doll 1 \, rec myCanvas \, size 15 \, visw 500 \, vish 30 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#X text 111 67 rec [symbol] - receive symbol for the canvas, f 85;
#X obj 90 241 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement1 Please\ note\ that\ the\ $-0\ designation\ (1\ or\ 0)\ MUST\ be\ sent\ first\,\ followed\ by\ the\ canvas\ 1 9 0 12 #fcfcfc #fc0400 0;
#N canvas 2423 143 808 250 init 0;
#X msg 30 102 label \$1;
#X msg 419 120 label \$1;
#X obj 29 147 s \$0-canvas-format-helper-boldstatement1;
#X obj 418 164 s \$0-canvas-format-helper-boldstatement2;
#X obj 233 15 loadbang;
#X msg 420 51 symbol receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching!;
#X msg 26 43 symbol Please\\\ note\\\ that\\\ the\\\ $-0\\\ designation\\\ (1\\\ or\\\ 0)\\\ MUST\\\ be\\\ sent\\\ first\\\,\\\ followed\\\ by\\\ the\\\ canvas\\\ ;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 4 0 5 0;
#X connect 4 0 6 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X restore 659 9 pd init;
#X obj 90 257 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement2 receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching! 1 9 0 12 #fcfcfc #fc0400 0;
#X msg 112 362 symbol this\ is\ my\ label!;
#X text 296 357 The label parameter must be sent separately to Inlet 1 (rightmost inlet). The message must be prepended with the "symbol" identifier \, and the escape character () needs to be set in the message:, f 68;
#X text 102 286 All parameters EXCEPT label can be sent in a single message to Inlet 0 (leftmost inlet) like below (and this can be copied and pasted for easy initializing formatting)., f 89;
#X restore 326 378 pd \$0-how-to-set-values-externally;
#X msg 326 336 vis 1;
#X obj 326 357 s pd-\$0-how-to-set-values-externally;
#X obj 120 263 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 141 263 How to set canvas values externally;
#X text 891 18 All left-inlet messages;
#X text 984 47 Label text;
#X msg 636 48 symbol This\ is\ my\ label?;
#X obj 587 47 inlet;
#X obj 632 184 cnv 5 5 5 empty empty ↴ -3 3 0 24 #fcfcfc #606060 0;
#X connect 0 0 2 6;
#X connect 1 0 2 11;
#X connect 3 0 2 10;
#X connect 4 0 2 3;
#X connect 5 0 2 4;
#X connect 6 0 2 7;
#X connect 7 0 2 8;
#X connect 8 0 2 2;
#X connect 9 0 2 0;
#X connect 10 0 2 5;
#X connect 11 0 2 9;
#X connect 12 0 2 1;
#X connect 14 0 16 0;
#X connect 16 0 12 0;
#X connect 16 1 17 0;
#X connect 16 2 8 0;
#X connect 16 3 4 0;
#X connect 16 4 5 0;
#X connect 16 5 10 0;
#X connect 16 6 0 0;
#X connect 16 7 6 0;
#X connect 16 8 7 0;
#X connect 16 9 3 0;
#X connect 16 10 1 0;
#X connect 17 0 9 0;
#X connect 20 0 16 0;
#X connect 22 0 23 0;
#X connect 24 0 22 0;
#X connect 28 0 11 0;
#X connect 29 0 11 0;
#X coords 0 -1 1 1 300 190 2 100 100;
#X restore 25 27 pd graph;
#X obj 25 1 inlet;
#X connect 0 0 1 1;
#X connect 2 0 1 0;
#X restore 343 345 pd canvas-ctrl;
#N canvas 673 23 349 258 canvas-ctrl 0;
#X obj 291 1 inlet;
#N canvas 248 270 1089 459 graph 0;
#X floatatom 180 241 5 0 0 0 Lbl-Sz - - 0;
#X floatatom 273 241 5 0 29 0 Lbl-Clr - - 0;
#N canvas 32 23 1408 389 label-properties 0;
#X floatatom 314 72 3 18 100 0 - - - 0;
#X msg 314 99 size \$1;
#X obj 400 121 pack 100 60, f 18;
#X obj 491 93 t b f;
#X floatatom 491 68 4 18 100 0 - - - 0;
#X floatatom 400 68 4 18 100 0 - - - 0;
#X msg 400 148 vis_size \$1 \$2;
#X text 442 41 w/x;
#X text 532 41 h/y;
#X floatatom 589 116 4 0 3 0 - - - 0;
#X obj 721 135 t b f;
#X floatatom 721 116 5 5 50 0 - - - 0;
#X msg 589 185 label_font \$1 \$2;
#X text 632 41 type;
#X text 760 40 size;
#X obj 589 64 vradio 15 1 0 3 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0;
#X text 605 63 DejaVu Sans Mono;
#X text 605 78 Helvetica;
#X text 606 93 Times;
#X floatatom 817 71 4 -100 250 0 - - - 0;
#X obj 889 98 t b f;
#X floatatom 889 71 5 -150 150 0 - - - 0;
#X msg 817 148 label_pos \$1 \$2;
#X text 856 41 x;
#X text 929 41 y;
#X obj 817 126 pack 17 20, f 17;
#X obj 589 164 pack 0 25, f 24;
#X msg 973 129 label \$1;
#X floatatom 1191 70 3 0 29 1 bgColor - - 0;
#X floatatom 1295 70 3 0 29 1 lblColor - - 0;
#X obj 1295 92 t b f;
#X msg 1191 145 color \$1 \$2 \$3;
#X obj 1191 124 pack 1 22 22, f 14;
#X text 1170 18 Color Presets (0-29):;
#X obj 24 42 inlet;
#X obj 8 42 cnv 14 14 14 empty empty 0 4 8 0 12 #606060 #dcdcdc 0;
#X symbolatom 24 210 10 0 0 0 - - - 0;
#X obj 588 330 send, f 13;
#X obj 400 42 inlet;
#X obj 314 42 inlet;
#X obj 491 42 inlet;
#X obj 155 42 cnv 14 14 14 empty empty 1 4 8 0 12 #606060 #dcdcdc 0;
#X obj 297 42 cnv 14 14 14 empty empty 2 4 8 0 12 #606060 #dcdcdc 0;
#X obj 384 42 cnv 14 14 14 empty empty 3 4 8 0 12 #606060 #dcdcdc 0;
#X obj 721 42 inlet;
#X obj 589 42 inlet;
#X obj 817 42 inlet;
#X obj 476 42 cnv 14 14 14 empty empty 4 4 8 0 12 #606060 #dcdcdc 0;
#X obj 573 42 cnv 14 14 14 empty empty 5 4 8 0 12 #606060 #dcdcdc 0;
#X obj 703 42 cnv 14 14 14 empty empty 6 4 8 0 12 #606060 #dcdcdc 0;
#X text 315 18 Size;
#X text 421 18 Visible Size;
#X text 635 18 Label Font;
#X text 824 18 Label Offset;
#X obj 889 42 inlet;
#X obj 800 42 cnv 14 14 14 empty empty 7 4 8 0 12 #606060 #dcdcdc 0;
#X msg 1052 89 symbol my\ label;
#X symbolatom 973 92 10 0 0 0 - - - 0;
#X obj 973 42 inlet;
#X obj 872 42 cnv 14 14 14 empty empty 8 4 8 0 12 #606060 #dcdcdc 0;
#X msg 973 70 symbol \$1;
#X text 1007 18 Label Text;
#X obj 1191 42 inlet;
#X obj 958 42 cnv 14 14 14 empty empty 9 4 8 0 12 #606060 #dcdcdc 0;
#X obj 1295 42 inlet;
#X obj 1174 42 cnv 14 14 14 empty empty 10 0 8 0 12 #606060 #dcdcdc 0;
#X text 0 18 Canvas Name;
#X obj 284 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 738 322 cnv 2 700 40 empty \$0-test_canvas tdh.util.slider.ui 20 15 0 16 #a0a0a0 #202020 0;
#X obj 415 328 s \$0-test_canvas;
#X obj 210 187 spigot;
#X obj 170 88 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 249 134 == 1;
#X obj 101 135 == 0;
#X obj 144 134 list append \$0;
#X msg 144 157 symbol \$2-\$1;
#X msg 24 136 symbol \$1;
#X obj 24 167 spigot;
#X obj 170 42 inlet;
#X obj 1279 42 cnv 14 14 14 empty empty 11 0 8 0 12 #606060 #dcdcdc 0;
#X text 136 18 Add "\$0" option;
#X obj 374 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 561 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 791 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 944 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 1164 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X connect 0 0 1 0;
#X connect 1 0 37 0;
#X connect 1 0 69 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 2 1;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 37 0;
#X connect 6 0 69 0;
#X connect 9 0 26 0;
#X connect 10 0 26 0;
#X connect 10 1 26 1;
#X connect 11 0 10 0;
#X connect 12 0 37 0;
#X connect 12 0 69 0;
#X connect 15 0 9 0;
#X connect 19 0 25 0;
#X connect 20 0 25 0;
#X connect 20 1 25 1;
#X connect 21 0 20 0;
#X connect 22 0 37 0;
#X connect 22 0 69 0;
#X connect 25 0 22 0;
#X connect 26 0 12 0;
#X connect 27 0 37 0;
#X connect 27 0 69 0;
#X connect 28 0 32 0;
#X connect 29 0 30 0;
#X connect 30 0 32 0;
#X connect 30 1 32 2;
#X connect 31 0 37 0;
#X connect 31 0 69 0;
#X connect 32 0 31 0;
#X connect 34 0 74 0;
#X connect 34 0 76 0;
#X connect 36 0 37 1;
#X connect 38 0 5 0;
#X connect 39 0 0 0;
#X connect 40 0 4 0;
#X connect 44 0 11 0;
#X connect 45 0 15 0;
#X connect 46 0 19 0;
#X connect 54 0 21 0;
#X connect 56 0 27 0;
#X connect 57 0 27 0;
#X connect 58 0 60 0;
#X connect 60 0 57 0;
#X connect 62 0 28 0;
#X connect 64 0 29 0;
#X connect 70 0 36 0;
#X connect 71 0 72 0;
#X connect 71 0 73 0;
#X connect 72 0 70 1;
#X connect 73 0 77 1;
#X connect 74 0 75 0;
#X connect 75 0 70 0;
#X connect 76 0 77 0;
#X connect 77 0 36 0;
#X connect 78 0 71 0;
#X restore 6 354 pd label-properties;
#X f 45;
#X floatatom 273 219 5 0 29 0 BG-Clr - - 0;
#X floatatom 180 174 5 0 0 0 Vis-Sz-W - - 0;
#X floatatom 181 198 5 0 0 0 Vis-Sz-H - - 0;
#X floatatom 271 150 5 0 0 0 Lbl-X - - 0;
#X floatatom 272 174 5 0 0 0 Lbl-Y - - 0;
#X floatatom 180 150 5 0 0 0 Size - - 0;
#X symbolatom 214 127 10 0 0 0 CnvReceiveSymbol - - 0;
#X floatatom 181 219 5 0 2 0 Lbl-Fon - - 0;
#X symbolatom 274 195 10 0 0 0 Lbl-Txt - - 0;
#X obj 295 128 tgl 15 0 empty empty Append_0 20 7 0 10 #fcfcfc #fc8000 #000000 0 1;
#X text 194 103 Label Properties;
#X obj 28 18 inlet;
#X obj 414 223 cnv 15 500 30 empty \$0-myCanvas This\ is\ my\ label? 9 13 0 18 #e0e0e0 #606060 0;
#X obj 28 54 route doll rec size visw vish lblfon lblsz lblx lbly bgclr lblclr, f 66;
#X obj 56 93 symbol;
#X text 6 4 _;
#X text 479 173 dollarsign0-myCanvas;
#X msg 74 18 doll 1 \, rec myCanvas \, size 15 \, visw 50 \, vish 60 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#N canvas 240 66 752 410 \$0-how-to-set-values-externally 0;
#X text 112 49 doll [0/1] - toggle on appending "\$0-" at the start of the recieve symbol, f 85;
#X text 112 102 visw [float] - the visible width of the canvas in pixels, f 85;
#X text 112 85 size [float] - the size of the clickable/dragable portion of the canvas in pixels, f 85;
#X text 112 122 vish [float] - the visible height of the canvas in pixels, f 85;
#X text 111 141 lblfon [0/1/2] - font designation for the canvas' label \, with [0] for Menlo \, [1] for, f 89;
#X text 131 155 Helvetica \, [2] for Times. Note that these fonts may be different on Windows or Linux, f 84;
#X text 111 173 lblsz [float] - font size designation for the canvas' label, f 85;
#X text 111 213 lbly [float] - y offset in pixels from the top left corner of the canvas, f 85;
#X text 111 193 lblx [float] - x offset (horizontal) in pixels from the top left corner of the canvas, f 85;
#X text 4 29 To set the values for your canvas object externally \, send messages with the following signifiers to the 0 (leftmost) inlet:, f 124;
#X msg 31 336 doll 1 \, rec myCanvas \, size 15 \, visw 500 \, vish 30 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#X text 111 67 rec [symbol] - receive symbol for the canvas, f 85;
#X obj 90 241 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement1 Please\ note\ that\ the\ $-0\ designation\ (1\ or\ 0)\ MUST\ be\ sent\ first\,\ followed\ by\ the\ canvas\ 1 9 0 12 #fcfcfc #fc0400 0;
#N canvas 2423 143 808 250 init 0;
#X msg 30 102 label \$1;
#X msg 419 120 label \$1;
#X obj 29 147 s \$0-canvas-format-helper-boldstatement1;
#X obj 418 164 s \$0-canvas-format-helper-boldstatement2;
#X obj 233 15 loadbang;
#X msg 420 51 symbol receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching!;
#X msg 26 43 symbol Please\\\ note\\\ that\\\ the\\\ $-0\\\ designation\\\ (1\\\ or\\\ 0)\\\ MUST\\\ be\\\ sent\\\ first\\\,\\\ followed\\\ by\\\ the\\\ canvas\\\ ;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 4 0 5 0;
#X connect 4 0 6 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X restore 659 9 pd init;
#X obj 90 257 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement2 receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching! 1 9 0 12 #fcfcfc #fc0400 0;
#X msg 112 362 symbol this\ is\ my\ label!;
#X text 296 357 The label parameter must be sent separately to Inlet 1 (rightmost inlet). The message must be prepended with the "symbol" identifier \, and the escape character () needs to be set in the message:, f 68;
#X text 102 286 All parameters EXCEPT label can be sent in a single message to Inlet 0 (leftmost inlet) like below (and this can be copied and pasted for easy initializing formatting)., f 89;
#X restore 326 378 pd \$0-how-to-set-values-externally;
#X msg 326 336 vis 1;
#X obj 326 357 s pd-\$0-how-to-set-values-externally;
#X obj 120 263 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 141 263 How to set canvas values externally;
#X text 891 18 All left-inlet messages;
#X text 984 47 Label text;
#X msg 636 48 symbol This\ is\ my\ label?;
#X obj 587 47 inlet;
#X obj 632 184 cnv 5 5 5 empty empty ↴ -3 3 0 24 #fcfcfc #606060 0;
#X connect 0 0 2 6;
#X connect 1 0 2 11;
#X connect 3 0 2 10;
#X connect 4 0 2 3;
#X connect 5 0 2 4;
#X connect 6 0 2 7;
#X connect 7 0 2 8;
#X connect 8 0 2 2;
#X connect 9 0 2 0;
#X connect 10 0 2 5;
#X connect 11 0 2 9;
#X connect 12 0 2 1;
#X connect 14 0 16 0;
#X connect 16 0 12 0;
#X connect 16 1 17 0;
#X connect 16 2 8 0;
#X connect 16 3 4 0;
#X connect 16 4 5 0;
#X connect 16 5 10 0;
#X connect 16 6 0 0;
#X connect 16 7 6 0;
#X connect 16 8 7 0;
#X connect 16 9 3 0;
#X connect 16 10 1 0;
#X connect 17 0 9 0;
#X connect 20 0 16 0;
#X connect 22 0 23 0;
#X connect 24 0 22 0;
#X connect 28 0 11 0;
#X connect 29 0 11 0;
#X coords 0 -1 1 1 300 190 2 100 100;
#X restore 25 27 pd graph;
#X obj 25 1 inlet;
#X connect 0 0 1 1;
#X connect 2 0 1 0;
#X restore 343 465 pd canvas-ctrl;
#N canvas 2452 418 349 258 canvas-ctrl 0;
#X obj 291 1 inlet;
#N canvas 1417 303 1089 459 graph 0;
#X floatatom 180 241 5 0 0 0 Lbl-Sz - - 0;
#X floatatom 273 241 5 0 29 0 Lbl-Clr - - 0;
#N canvas 32 23 1408 389 label-properties 0;
#X floatatom 314 72 3 18 100 0 - - - 0;
#X msg 314 99 size \$1;
#X obj 400 121 pack 100 60, f 18;
#X obj 491 93 t b f;
#X floatatom 491 68 4 18 100 0 - - - 0;
#X floatatom 400 68 4 18 100 0 - - - 0;
#X msg 400 148 vis_size \$1 \$2;
#X text 442 41 w/x;
#X text 532 41 h/y;
#X floatatom 589 116 4 0 3 0 - - - 0;
#X obj 721 135 t b f;
#X floatatom 721 116 5 5 50 0 - - - 0;
#X msg 589 185 label_font \$1 \$2;
#X text 632 41 type;
#X text 760 40 size;
#X obj 589 64 vradio 15 1 0 3 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0;
#X text 605 63 DejaVu Sans Mono;
#X text 605 78 Helvetica;
#X text 606 93 Times;
#X floatatom 817 71 4 -100 250 0 - - - 0;
#X obj 889 98 t b f;
#X floatatom 889 71 5 -150 150 0 - - - 0;
#X msg 817 148 label_pos \$1 \$2;
#X text 856 41 x;
#X text 929 41 y;
#X obj 817 126 pack 17 20, f 17;
#X obj 589 164 pack 0 25, f 24;
#X msg 973 129 label \$1;
#X floatatom 1191 70 3 0 29 1 bgColor - - 0;
#X floatatom 1295 70 3 0 29 1 lblColor - - 0;
#X obj 1295 92 t b f;
#X msg 1191 145 color \$1 \$2 \$3;
#X obj 1191 124 pack 1 22 22, f 14;
#X text 1170 18 Color Presets (0-29):;
#X obj 24 42 inlet;
#X obj 8 42 cnv 14 14 14 empty empty 0 4 8 0 12 #606060 #dcdcdc 0;
#X symbolatom 24 210 10 0 0 0 - - - 0;
#X obj 588 330 send, f 13;
#X obj 400 42 inlet;
#X obj 314 42 inlet;
#X obj 491 42 inlet;
#X obj 155 42 cnv 14 14 14 empty empty 1 4 8 0 12 #606060 #dcdcdc 0;
#X obj 297 42 cnv 14 14 14 empty empty 2 4 8 0 12 #606060 #dcdcdc 0;
#X obj 384 42 cnv 14 14 14 empty empty 3 4 8 0 12 #606060 #dcdcdc 0;
#X obj 721 42 inlet;
#X obj 589 42 inlet;
#X obj 817 42 inlet;
#X obj 476 42 cnv 14 14 14 empty empty 4 4 8 0 12 #606060 #dcdcdc 0;
#X obj 573 42 cnv 14 14 14 empty empty 5 4 8 0 12 #606060 #dcdcdc 0;
#X obj 703 42 cnv 14 14 14 empty empty 6 4 8 0 12 #606060 #dcdcdc 0;
#X text 315 18 Size;
#X text 421 18 Visible Size;
#X text 635 18 Label Font;
#X text 824 18 Label Offset;
#X obj 889 42 inlet;
#X obj 800 42 cnv 14 14 14 empty empty 7 4 8 0 12 #606060 #dcdcdc 0;
#X msg 1052 89 symbol my\ label;
#X symbolatom 973 92 10 0 0 0 - - - 0;
#X obj 973 42 inlet;
#X obj 872 42 cnv 14 14 14 empty empty 8 4 8 0 12 #606060 #dcdcdc 0;
#X msg 973 70 symbol \$1;
#X text 1007 18 Label Text;
#X obj 1191 42 inlet;
#X obj 958 42 cnv 14 14 14 empty empty 9 4 8 0 12 #606060 #dcdcdc 0;
#X obj 1295 42 inlet;
#X obj 1174 42 cnv 14 14 14 empty empty 10 0 8 0 12 #606060 #dcdcdc 0;
#X text 0 18 Canvas Name;
#X obj 284 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 738 322 cnv 2 700 40 empty \$0-test_canvas tdh.util.slider.ui 20 15 0 16 #a0a0a0 #202020 0;
#X obj 415 328 s \$0-test_canvas;
#X obj 210 187 spigot;
#X obj 170 88 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 249 134 == 1;
#X obj 101 135 == 0;
#X obj 144 134 list append \$0;
#X msg 144 157 symbol \$2-\$1;
#X msg 24 136 symbol \$1;
#X obj 24 167 spigot;
#X obj 170 42 inlet;
#X obj 1279 42 cnv 14 14 14 empty empty 11 0 8 0 12 #606060 #dcdcdc 0;
#X text 136 18 Add "\$0" option;
#X obj 374 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 561 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 791 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 944 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 1164 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X connect 0 0 1 0;
#X connect 1 0 37 0;
#X connect 1 0 69 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 2 1;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 37 0;
#X connect 6 0 69 0;
#X connect 9 0 26 0;
#X connect 10 0 26 0;
#X connect 10 1 26 1;
#X connect 11 0 10 0;
#X connect 12 0 37 0;
#X connect 12 0 69 0;
#X connect 15 0 9 0;
#X connect 19 0 25 0;
#X connect 20 0 25 0;
#X connect 20 1 25 1;
#X connect 21 0 20 0;
#X connect 22 0 37 0;
#X connect 22 0 69 0;
#X connect 25 0 22 0;
#X connect 26 0 12 0;
#X connect 27 0 37 0;
#X connect 27 0 69 0;
#X connect 28 0 32 0;
#X connect 29 0 30 0;
#X connect 30 0 32 0;
#X connect 30 1 32 2;
#X connect 31 0 37 0;
#X connect 31 0 69 0;
#X connect 32 0 31 0;
#X connect 34 0 74 0;
#X connect 34 0 76 0;
#X connect 36 0 37 1;
#X connect 38 0 5 0;
#X connect 39 0 0 0;
#X connect 40 0 4 0;
#X connect 44 0 11 0;
#X connect 45 0 15 0;
#X connect 46 0 19 0;
#X connect 54 0 21 0;
#X connect 56 0 27 0;
#X connect 57 0 27 0;
#X connect 58 0 60 0;
#X connect 60 0 57 0;
#X connect 62 0 28 0;
#X connect 64 0 29 0;
#X connect 70 0 36 0;
#X connect 71 0 72 0;
#X connect 71 0 73 0;
#X connect 72 0 70 1;
#X connect 73 0 77 1;
#X connect 74 0 75 0;
#X connect 75 0 70 0;
#X connect 76 0 77 0;
#X connect 77 0 36 0;
#X connect 78 0 71 0;
#X restore 6 354 pd label-properties;
#X f 45;
#X floatatom 273 219 5 0 29 0 BG-Clr - - 0;
#X floatatom 180 174 5 0 0 0 Vis-Sz-W - - 0;
#X floatatom 181 198 5 0 0 0 Vis-Sz-H - - 0;
#X floatatom 271 150 5 0 0 0 Lbl-X - - 0;
#X floatatom 272 174 5 0 0 0 Lbl-Y - - 0;
#X floatatom 180 150 5 0 0 0 Size - - 0;
#X symbolatom 214 127 10 0 0 0 CnvReceiveSymbol - - 0;
#X floatatom 181 219 5 0 2 0 Lbl-Fon - - 0;
#X symbolatom 274 195 10 0 0 0 Lbl-Txt - - 0;
#X obj 295 128 tgl 15 0 empty empty Append_0 20 7 0 10 #fcfcfc #fc8000 #000000 0 1;
#X text 194 103 Label Properties;
#X obj 28 18 inlet;
#X obj 414 223 cnv 15 500 30 empty \$0-myCanvas This\ is\ my\ label? 9 13 0 18 #e0e0e0 #606060 0;
#X obj 28 54 route doll rec size visw vish lblfon lblsz lblx lbly bgclr lblclr, f 66;
#X obj 56 93 symbol;
#X text 6 4 _;
#X text 479 173 dollarsign0-myCanvas;
#X msg 74 18 doll 1 \, rec myCanvas \, size 15 \, visw 50 \, vish 60 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#N canvas 240 66 752 410 \$0-how-to-set-values-externally 0;
#X text 112 49 doll [0/1] - toggle on appending "\$0-" at the start of the recieve symbol, f 85;
#X text 112 102 visw [float] - the visible width of the canvas in pixels, f 85;
#X text 112 85 size [float] - the size of the clickable/dragable portion of the canvas in pixels, f 85;
#X text 112 122 vish [float] - the visible height of the canvas in pixels, f 85;
#X text 111 141 lblfon [0/1/2] - font designation for the canvas' label \, with [0] for Menlo \, [1] for, f 89;
#X text 131 155 Helvetica \, [2] for Times. Note that these fonts may be different on Windows or Linux, f 84;
#X text 111 173 lblsz [float] - font size designation for the canvas' label, f 85;
#X text 111 213 lbly [float] - y offset in pixels from the top left corner of the canvas, f 85;
#X text 111 193 lblx [float] - x offset (horizontal) in pixels from the top left corner of the canvas, f 85;
#X text 4 29 To set the values for your canvas object externally \, send messages with the following signifiers to the 0 (leftmost) inlet:, f 124;
#X msg 31 336 doll 1 \, rec myCanvas \, size 15 \, visw 500 \, vish 30 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#X text 111 67 rec [symbol] - receive symbol for the canvas, f 85;
#X obj 90 241 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement1 Please\ note\ that\ the\ $-0\ designation\ (1\ or\ 0)\ MUST\ be\ sent\ first\,\ followed\ by\ the\ canvas\ 1 9 0 12 #fcfcfc #fc0400 0;
#N canvas 2423 143 808 250 init 0;
#X msg 30 102 label \$1;
#X msg 419 120 label \$1;
#X obj 29 147 s \$0-canvas-format-helper-boldstatement1;
#X obj 418 164 s \$0-canvas-format-helper-boldstatement2;
#X obj 233 15 loadbang;
#X msg 420 51 symbol receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching!;
#X msg 26 43 symbol Please\\\ note\\\ that\\\ the\\\ $-0\\\ designation\\\ (1\\\ or\\\ 0)\\\ MUST\\\ be\\\ sent\\\ first\\\,\\\ followed\\\ by\\\ the\\\ canvas\\\ ;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 4 0 5 0;
#X connect 4 0 6 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X restore 659 9 pd init;
#X obj 90 257 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement2 receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching! 1 9 0 12 #fcfcfc #fc0400 0;
#X msg 112 362 symbol this\ is\ my\ label!;
#X text 296 357 The label parameter must be sent separately to Inlet 1 (rightmost inlet). The message must be prepended with the "symbol" identifier \, and the escape character () needs to be set in the message:, f 68;
#X text 102 286 All parameters EXCEPT label can be sent in a single message to Inlet 0 (leftmost inlet) like below (and this can be copied and pasted for easy initializing formatting)., f 89;
#X restore 326 378 pd \$0-how-to-set-values-externally;
#X msg 326 336 vis 1;
#X obj 326 357 s pd-\$0-how-to-set-values-externally;
#X obj 120 263 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 141 263 How to set canvas values externally;
#X text 891 18 All left-inlet messages;
#X text 984 47 Label text;
#X msg 636 48 symbol This\ is\ my\ label?;
#X obj 587 47 inlet;
#X obj 632 184 cnv 5 5 5 empty empty ↴ -3 3 0 24 #fcfcfc #606060 0;
#X connect 0 0 2 6;
#X connect 1 0 2 11;
#X connect 3 0 2 10;
#X connect 4 0 2 3;
#X connect 5 0 2 4;
#X connect 6 0 2 7;
#X connect 7 0 2 8;
#X connect 8 0 2 2;
#X connect 9 0 2 0;
#X connect 10 0 2 5;
#X connect 11 0 2 9;
#X connect 12 0 2 1;
#X connect 14 0 16 0;
#X connect 16 0 12 0;
#X connect 16 1 17 0;
#X connect 16 2 8 0;
#X connect 16 3 4 0;
#X connect 16 4 5 0;
#X connect 16 5 10 0;
#X connect 16 6 0 0;
#X connect 16 7 6 0;
#X connect 16 8 7 0;
#X connect 16 9 3 0;
#X connect 16 10 1 0;
#X connect 17 0 9 0;
#X connect 20 0 16 0;
#X connect 22 0 23 0;
#X connect 24 0 22 0;
#X connect 28 0 11 0;
#X connect 29 0 11 0;
#X coords 0 -1 1 1 300 190 2 100 100;
#X restore 25 27 pd graph;
#X obj 25 1 inlet;
#X connect 0 0 1 1;
#X connect 2 0 1 0;
#X restore 343 595 pd canvas-ctrl;
#N canvas 673 23 349 258 canvas-ctrl 0;
#X obj 291 1 inlet;
#N canvas 248 270 1089 459 graph 0;
#X floatatom 180 241 5 0 0 0 Lbl-Sz - - 0;
#X floatatom 273 241 5 0 29 0 Lbl-Clr - - 0;
#N canvas 32 23 1408 389 label-properties 0;
#X floatatom 314 72 3 18 100 0 - - - 0;
#X msg 314 99 size \$1;
#X obj 400 121 pack 100 60, f 18;
#X obj 491 93 t b f;
#X floatatom 491 68 4 18 100 0 - - - 0;
#X floatatom 400 68 4 18 100 0 - - - 0;
#X msg 400 148 vis_size \$1 \$2;
#X text 442 41 w/x;
#X text 532 41 h/y;
#X floatatom 589 116 4 0 3 0 - - - 0;
#X obj 721 135 t b f;
#X floatatom 721 116 5 5 50 0 - - - 0;
#X msg 589 185 label_font \$1 \$2;
#X text 632 41 type;
#X text 760 40 size;
#X obj 589 64 vradio 15 1 0 3 empty empty empty 0 -8 0 10 #fcfcfc #000000 #000000 0;
#X text 605 63 DejaVu Sans Mono;
#X text 605 78 Helvetica;
#X text 606 93 Times;
#X floatatom 817 71 4 -100 250 0 - - - 0;
#X obj 889 98 t b f;
#X floatatom 889 71 5 -150 150 0 - - - 0;
#X msg 817 148 label_pos \$1 \$2;
#X text 856 41 x;
#X text 929 41 y;
#X obj 817 126 pack 17 20, f 17;
#X obj 589 164 pack 0 25, f 24;
#X msg 973 129 label \$1;
#X floatatom 1191 70 3 0 29 1 bgColor - - 0;
#X floatatom 1295 70 3 0 29 1 lblColor - - 0;
#X obj 1295 92 t b f;
#X msg 1191 145 color \$1 \$2 \$3;
#X obj 1191 124 pack 1 22 22, f 14;
#X text 1170 18 Color Presets (0-29):;
#X obj 24 42 inlet;
#X obj 8 42 cnv 14 14 14 empty empty 0 4 8 0 12 #606060 #dcdcdc 0;
#X symbolatom 24 210 10 0 0 0 - - - 0;
#X obj 588 330 send, f 13;
#X obj 400 42 inlet;
#X obj 314 42 inlet;
#X obj 491 42 inlet;
#X obj 155 42 cnv 14 14 14 empty empty 1 4 8 0 12 #606060 #dcdcdc 0;
#X obj 297 42 cnv 14 14 14 empty empty 2 4 8 0 12 #606060 #dcdcdc 0;
#X obj 384 42 cnv 14 14 14 empty empty 3 4 8 0 12 #606060 #dcdcdc 0;
#X obj 721 42 inlet;
#X obj 589 42 inlet;
#X obj 817 42 inlet;
#X obj 476 42 cnv 14 14 14 empty empty 4 4 8 0 12 #606060 #dcdcdc 0;
#X obj 573 42 cnv 14 14 14 empty empty 5 4 8 0 12 #606060 #dcdcdc 0;
#X obj 703 42 cnv 14 14 14 empty empty 6 4 8 0 12 #606060 #dcdcdc 0;
#X text 315 18 Size;
#X text 421 18 Visible Size;
#X text 635 18 Label Font;
#X text 824 18 Label Offset;
#X obj 889 42 inlet;
#X obj 800 42 cnv 14 14 14 empty empty 7 4 8 0 12 #606060 #dcdcdc 0;
#X msg 1052 89 symbol my\ label;
#X symbolatom 973 92 10 0 0 0 - - - 0;
#X obj 973 42 inlet;
#X obj 872 42 cnv 14 14 14 empty empty 8 4 8 0 12 #606060 #dcdcdc 0;
#X msg 973 70 symbol \$1;
#X text 1007 18 Label Text;
#X obj 1191 42 inlet;
#X obj 958 42 cnv 14 14 14 empty empty 9 4 8 0 12 #606060 #dcdcdc 0;
#X obj 1295 42 inlet;
#X obj 1174 42 cnv 14 14 14 empty empty 10 0 8 0 12 #606060 #dcdcdc 0;
#X text 0 18 Canvas Name;
#X obj 284 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 738 322 cnv 2 700 40 empty \$0-test_canvas tdh.util.slider.ui 20 15 0 16 #a0a0a0 #202020 0;
#X obj 415 328 s \$0-test_canvas;
#X obj 210 187 spigot;
#X obj 170 88 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X obj 249 134 == 1;
#X obj 101 135 == 0;
#X obj 144 134 list append \$0;
#X msg 144 157 symbol \$2-\$1;
#X msg 24 136 symbol \$1;
#X obj 24 167 spigot;
#X obj 170 42 inlet;
#X obj 1279 42 cnv 14 14 14 empty empty 11 0 8 0 12 #606060 #dcdcdc 0;
#X text 136 18 Add "\$0" option;
#X obj 374 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 561 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 791 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 944 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X obj 1164 2 cnv 5 1 260 empty empty empty 20 12 0 14 #7c7c7c #404040 0;
#X connect 0 0 1 0;
#X connect 1 0 37 0;
#X connect 1 0 69 0;
#X connect 2 0 6 0;
#X connect 3 0 2 0;
#X connect 3 1 2 1;
#X connect 4 0 3 0;
#X connect 5 0 2 0;
#X connect 6 0 37 0;
#X connect 6 0 69 0;
#X connect 9 0 26 0;
#X connect 10 0 26 0;
#X connect 10 1 26 1;
#X connect 11 0 10 0;
#X connect 12 0 37 0;
#X connect 12 0 69 0;
#X connect 15 0 9 0;
#X connect 19 0 25 0;
#X connect 20 0 25 0;
#X connect 20 1 25 1;
#X connect 21 0 20 0;
#X connect 22 0 37 0;
#X connect 22 0 69 0;
#X connect 25 0 22 0;
#X connect 26 0 12 0;
#X connect 27 0 37 0;
#X connect 27 0 69 0;
#X connect 28 0 32 0;
#X connect 29 0 30 0;
#X connect 30 0 32 0;
#X connect 30 1 32 2;
#X connect 31 0 37 0;
#X connect 31 0 69 0;
#X connect 32 0 31 0;
#X connect 34 0 74 0;
#X connect 34 0 76 0;
#X connect 36 0 37 1;
#X connect 38 0 5 0;
#X connect 39 0 0 0;
#X connect 40 0 4 0;
#X connect 44 0 11 0;
#X connect 45 0 15 0;
#X connect 46 0 19 0;
#X connect 54 0 21 0;
#X connect 56 0 27 0;
#X connect 57 0 27 0;
#X connect 58 0 60 0;
#X connect 60 0 57 0;
#X connect 62 0 28 0;
#X connect 64 0 29 0;
#X connect 70 0 36 0;
#X connect 71 0 72 0;
#X connect 71 0 73 0;
#X connect 72 0 70 1;
#X connect 73 0 77 1;
#X connect 74 0 75 0;
#X connect 75 0 70 0;
#X connect 76 0 77 0;
#X connect 77 0 36 0;
#X connect 78 0 71 0;
#X restore 6 354 pd label-properties;
#X f 45;
#X floatatom 273 219 5 0 29 0 BG-Clr - - 0;
#X floatatom 180 174 5 0 0 0 Vis-Sz-W - - 0;
#X floatatom 181 198 5 0 0 0 Vis-Sz-H - - 0;
#X floatatom 271 150 5 0 0 0 Lbl-X - - 0;
#X floatatom 272 174 5 0 0 0 Lbl-Y - - 0;
#X floatatom 180 150 5 0 0 0 Size - - 0;
#X symbolatom 214 127 10 0 0 0 CnvReceiveSymbol - - 0;
#X floatatom 181 219 5 0 2 0 Lbl-Fon - - 0;
#X symbolatom 274 195 10 0 0 0 Lbl-Txt - - 0;
#X obj 295 128 tgl 15 0 empty empty Append_0 20 7 0 10 #fcfcfc #fc8000 #000000 0 1;
#X text 194 103 Label Properties;
#X obj 28 18 inlet;
#X obj 414 223 cnv 15 500 30 empty \$0-myCanvas This\ is\ my\ label? 9 13 0 18 #e0e0e0 #606060 0;
#X obj 28 54 route doll rec size visw vish lblfon lblsz lblx lbly bgclr lblclr, f 66;
#X obj 56 93 symbol;
#X text 6 4 _;
#X text 479 173 dollarsign0-myCanvas;
#X msg 74 18 doll 1 \, rec myCanvas \, size 15 \, visw 50 \, vish 60 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#N canvas 240 66 752 410 \$0-how-to-set-values-externally 0;
#X text 112 49 doll [0/1] - toggle on appending "\$0-" at the start of the recieve symbol, f 85;
#X text 112 102 visw [float] - the visible width of the canvas in pixels, f 85;
#X text 112 85 size [float] - the size of the clickable/dragable portion of the canvas in pixels, f 85;
#X text 112 122 vish [float] - the visible height of the canvas in pixels, f 85;
#X text 111 141 lblfon [0/1/2] - font designation for the canvas' label \, with [0] for Menlo \, [1] for, f 89;
#X text 131 155 Helvetica \, [2] for Times. Note that these fonts may be different on Windows or Linux, f 84;
#X text 111 173 lblsz [float] - font size designation for the canvas' label, f 85;
#X text 111 213 lbly [float] - y offset in pixels from the top left corner of the canvas, f 85;
#X text 111 193 lblx [float] - x offset (horizontal) in pixels from the top left corner of the canvas, f 85;
#X text 4 29 To set the values for your canvas object externally \, send messages with the following signifiers to the 0 (leftmost) inlet:, f 124;
#X msg 31 336 doll 1 \, rec myCanvas \, size 15 \, visw 500 \, vish 30 \, lblfon 0 \, lblsz 18 \, lblx 9 \, lbly 13 \, bgclr 10 \, lblclr 21, f 106;
#X text 111 67 rec [symbol] - receive symbol for the canvas, f 85;
#X obj 90 241 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement1 Please\ note\ that\ the\ $-0\ designation\ (1\ or\ 0)\ MUST\ be\ sent\ first\,\ followed\ by\ the\ canvas\ 1 9 0 12 #fcfcfc #fc0400 0;
#N canvas 2423 143 808 250 init 0;
#X msg 30 102 label \$1;
#X msg 419 120 label \$1;
#X obj 29 147 s \$0-canvas-format-helper-boldstatement1;
#X obj 418 164 s \$0-canvas-format-helper-boldstatement2;
#X obj 233 15 loadbang;
#X msg 420 51 symbol receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching!;
#X msg 26 43 symbol Please\\\ note\\\ that\\\ the\\\ $-0\\\ designation\\\ (1\\\ or\\\ 0)\\\ MUST\\\ be\\\ sent\\\ first\\\,\\\ followed\\\ by\\\ the\\\ canvas\\\ ;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 4 0 5 0;
#X connect 4 0 6 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X restore 659 9 pd init;
#X obj 90 257 cnv 5 5 5 empty \$0-canvas-format-helper-boldstatement2 receive\ symbol!\ Failure\ to\ do\ so\ will\ cause\ incorrect\ parameter\ dispatching! 1 9 0 12 #fcfcfc #fc0400 0;
#X msg 112 362 symbol this\ is\ my\ label!;
#X text 296 357 The label parameter must be sent separately to Inlet 1 (rightmost inlet). The message must be prepended with the "symbol" identifier \, and the escape character () needs to be set in the message:, f 68;
#X text 102 286 All parameters EXCEPT label can be sent in a single message to Inlet 0 (leftmost inlet) like below (and this can be copied and pasted for easy initializing formatting)., f 89;
#X restore 326 378 pd \$0-how-to-set-values-externally;
#X msg 326 336 vis 1;
#X obj 326 357 s pd-\$0-how-to-set-values-externally;
#X obj 120 263 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X text 141 263 How to set canvas values externally;
#X text 891 18 All left-inlet messages;
#X text 984 47 Label text;
#X msg 636 48 symbol This\ is\ my\ label?;
#X obj 587 47 inlet;
#X obj 632 184 cnv 5 5 5 empty empty ↴ -3 3 0 24 #fcfcfc #606060 0;
#X connect 0 0 2 6;
#X connect 1 0 2 11;
#X connect 3 0 2 10;
#X connect 4 0 2 3;
#X connect 5 0 2 4;
#X connect 6 0 2 7;
#X connect 7 0 2 8;
#X connect 8 0 2 2;
#X connect 9 0 2 0;
#X connect 10 0 2 5;
#X connect 11 0 2 9;
#X connect 12 0 2 1;
#X connect 14 0 16 0;
#X connect 16 0 12 0;