-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathslide2-help.pd
112 lines (112 loc) · 4.88 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
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
#N canvas 67 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 - - -;
#X floatatom 852 204 5 0 0 0 - - -;
#X floatatom 695 248 5 0 0 0 - - -;
#X obj 695 291 s us-;
#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 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 - - -;
#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 - - -;
#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 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)9:save
LFO state (1);
#X obj 26 109 slide2 slide2 l us;
#X text 751 257 The above [slide] has group-name 'us' and letter assignment
'l'., f 24;
#N canvas 545 156 450 159 would 0;
#X text 41 28 Besides all the useful features of [slide] \, [slide2]
is designed to control two separate but related parameters at once.
For instance \, you could control two notes at once \, with the number-box
being the interval between them \, or you could control an upper and
lower limit at once \, with the number being the gap \, etc.;
#X restore 491 379 why would I use [slide2]?;
#N canvas 188 237 663 437 LFO 0;
#X obj 30 161 helpfiles/docfiles/example-abstraction egss 0 57 47 33
42;
#X text 32 23 [slide] has a built-in LFO system. This means that you
can modulate the slider on a sine-wave without having to add to the
patch.;
#X text 160 82 To access the LFO system:;
#X text 34 307 Note that the LFO refreshes at control-level at a rate
of 20 hertz. If this creates audio distortion \, you can use [line]
or [line~] to smooth it out., f 79;
#X msg 30 137 LFO \$1;
#X obj 30 85 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X text 49 82 normal value;
#X text 49 99 LFO depth;
#X text 49 115 LFO frequency;
#X text 158 106 1: Hold down the ALT key* and then press 1 \; 2: With
the Alt key still held down \, move the slider. This alters the depth.
\; 3: Do the same thing with Alt + 2 This alters the frequency \; 4:
When you release the Alt key \, the LFO will start., f 81;
#X text 158 174 * On some systems \, the Alt key doesn't work \, so
you can also use the Caps Lock key. This isn't ideal \, because obviously
it leaves you with Caps Lock on. If you don't like it then use can
use an "LFO 1" message send to the right inlet of [slide2]. "LFO 1"
accesses the depth \, "LFO 2" the frequency and "LFO 0" the normal
value. (See the examample on the left)., f 62;
#X text 32 348 If you want the LFO setting to save with [psave] \,
you need to activate the 9th creation argument of [slide2]., f 79
;
#X connect 4 0 0 0;
#X connect 5 0 4 0;
#X restore 491 404 using LFO;
#X connect 6 0 22 0;
#X connect 20 0 5 0;
#X connect 21 0 19 0;
#X connect 22 0 7 0;
#X connect 24 0 23 0;
#X connect 25 0 23 0;
#X connect 33 0 4 0;
#X connect 33 1 17 0;