forked from LGoodacre/context-sequencer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslide2-help.pd
73 lines (73 loc) · 3 KB
/
slide2-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
65
66
67
68
69
70
71
72
73
#N canvas 158 243 1028 432 10;
#X obj 142 18 ctxfiles/license;
#X obj 17 21 cnv 15 102 52 empty empty empty 20 12 0 14 -99865 -66577
0;
#X obj 12 16 cnv 15 102 52 empty empty empty 20 12 0 14 -1 -66577 0
;
#X obj 13 17 cnv 15 100 50 empty empty slide2 10 24 2 34 -46930 -262144
0;
#X floatatom 26 243 5 0 0 0 - - -, f 5;
#X floatatom 852 204 5 0 0 0 - - -, f 5;
#X floatatom 695 248 5 0 0 0 - - -, f 5;
#X obj 695 291 s us-;
#X text 751 257 The above [slide] as group-name 'us' and letter assignment
's'., f 24;
#X obj 483 24 cnv 15 72 32 empty empty empty 20 12 0 14 -99865 -66577
0;
#X obj 478 19 cnv 15 72 32 empty empty empty 20 12 0 14 -1 -66577 0
;
#X obj 479 20 cnv 15 70 30 empty empty notes 5 12 2 26 -63991 -262144
0;
#X text 484 109 B: The unique letter assignment is used to distinguish
each state-saving object in the abstraction.;
#X text 483 155 C: Input is always 0 to 100 \, regardless of the scale.
;
#X text 486 242 E: The unique letter assignment is used to set a new
value relative to the current position. This is useful for modulation.
, f 27;
#X text 115 188 1: label (maximum of 7 characters) \; 2: unique letter
assignment (see B) \; 3: group name (\$1 if using with [psave]) (see
B) \; 4: minimum value \; 5: maximum value \; 6: linear (0) or exponential
(1) scale \; 7: override boundaries (1) \; 8: line-grain (default 100)
;
#X text 72 88 [slide2] is the same as [slide] \, but it has two outlets
instead of one. The second one is offset by the value of the number
box., f 44;
#X text 99 148 [slide2] takes 8 arguments \, the first five of which
are the most important:, f 42;
#X text 566 17 A: The group name is shared by all psave objects in
the abstraction. It is used to receive messages \, using the same naming
convention as Context \, ie. [send groupname-] with a dash on the end.
The group name should be \$1 if you are using [slide2] in conjunction
with [psave]., f 51;
#X floatatom 67 243 5 0 0 0 - - -, f 5;
#X obj 26 109 slide2 slide2 l us;
#X text 484 184 D: [slide2] has two outlets \, but also sends its output
to [send \$0-label-1] and [send \$0-label-2]:, f 50;
#X floatatom 892 224 5 0 0 0 - - -, f 5;
#X obj 852 182 receive \$0-slide2-1;
#X obj 892 202 receive \$0-slide2-2;
#X msg 695 268 l \$1;
#X obj 801 374 s us-;
#X msg 801 335 l 50 1000;
#X msg 885 335 l 100 200;
#X text 484 330 F: Sending two values "x y" to [slide2] sets it to
"x" in "y" milliseconds \, in the given line-grain (creation argument
8)., f 43;
#X text 195 324 <-- create a slider called 'volume' (v) that goes from
0 to 1, f 34;
#X text 241 368 <-- create a slider called 'filter' (f) that goes from
10 to 10000 exponentially (since 6th creation argument is set to 1)
, f 34;
#X text 10 325 [slide2 volume v \$1 0 1];
#X text 9 368 [slide2 filter f \$1 10 10000 1];
#X obj 789 399 else/openfile helpfiles/state_saving_abstractions.pd
-h see state-saving_abstractions.pd;
#X connect 6 0 25 0;
#X connect 20 0 4 0;
#X connect 20 1 19 0;
#X connect 23 0 5 0;
#X connect 24 0 22 0;
#X connect 25 0 7 0;
#X connect 27 0 26 0;
#X connect 28 0 26 0;