-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathyv_presets-help.pd
64 lines (64 loc) · 2.37 KB
/
yv_presets-help.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
#N canvas 275 97 677 514 10;
#X obj 62 214 hsl 115 15 0 127 0 0 \$1_sendname \$1_recvname empty
-2 -8 0 10 -262144 -1 -1 0 1;
#X obj 75 183 tgl 15 0 s_tgl r_tgl empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 35 174 vsl 15 115 0 127 0 0 s_vsl r_vsl empty 0 -9 0 10 -262144
-1 -1 0 1;
#X floatatom 95 183 5 0 0 0 - r_num s_num;
#X msg 325 214 store \$1;
#X msg 451 213 recall \$1;
#X obj 451 190 hradio 15 1 0 8 empty empty recall 0 -8 0 10 -262144
-1 -1 0;
#X obj 325 190 hradio 15 1 0 8 empty empty store 0 -8 0 10 -262144
-1 -1 0;
#X obj 59 231 hradio 15 1 0 8 s_radio r_hradio empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 168 185 nbx 5 14 -1e+37 1e+37 0 0 s_nbx r_nbx NOT_SUPPORTED
0 -8 0 10 -262144 -1 -1 0 256;
#X obj 17 172 vradio 15 1 0 8 s_vradio r_vradio empty 0 -8 0 10 -262144
-1 -1 0;
#X text 329 150 #3 - store/recall presets;
#X msg 16 79 path ~/pd/yv_presets-help.pd;
#X msg 28 372 write ~/blah.txt;
#X msg 54 393 read ~/blah.txt;
#X obj 379 57 pyext yv_presets Preset;
#X text 18 152 #2 - tweak those;
#X obj 514 35 r p;
#X obj 28 415 s p;
#X obj 451 242 s p;
#X obj 437 354 s p;
#X msg 437 301 print;
#X msg 463 322 reset;
#X text 496 300 other messages;
#X text 17 8 #1 - send the path of the patches/abstractions to use:
[path PATH/TO/PATCH.pd arg( 'arg' is optional and replaces '\$1' arguments
in send/receive symbols several patches can be managed at the same
time;
#X text 201 80 <- change this path to test this help patch;
#X text 232 483 report bugs to [email protected];
#X text 202 396 the script parses the text versions of the given patches.
it looks for UI objects with valid send/receive symbols. NOTE that
only alphabetic characters and _ are supported (until somebody better
than me with regexp fixes it =);
#X msg 379 31 reload;
#X text 59 266 NOTE: only characters [a-zA-Z_] are currently supported
;
#X text 57 249 all these objects have send/receive symbols;
#X text 17 329 #4 - write/read presets from/to file;
#X text 12 341 NOTE: you don't need [path ..( messages anymore if you
read presets from a file;
#X obj 16 103 s p;
#X text 231 467 only tested on pd-v0.43.0-test3 with python 2.7;
#X text 60 281 \$0 in send/receive names are NOT SUPPORTED;
#X connect 4 0 19 0;
#X connect 5 0 19 0;
#X connect 6 0 5 0;
#X connect 7 0 4 0;
#X connect 12 0 33 0;
#X connect 13 0 18 0;
#X connect 14 0 18 0;
#X connect 17 0 15 1;
#X connect 21 0 20 0;
#X connect 22 0 20 0;
#X connect 28 0 15 0;