blob: 66cb6a5bf40c73ea0654d12c498a7d2bfd31ce7a (
plain)
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
|
#N canvas 118 93 803 559 10;
#X obj 36 30 linedrive;
#X text 109 31 scale numnbers exponentially for use with;
#X obj 402 27 line~;
#X obj 49 359 snapshot~;
#X obj 49 334 metro 10;
#X obj 49 136 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#X floatatom 49 386 10 0 0 0 - - -;
#X text 173 107 integer message as input;
#X msg 174 135 60;
#X obj 174 209 linedrive 127 1 1.06 30;
#X text 230 324 Linedrive converts integers for use with line~. Linedrive
takes integers ranging from -argument1 to +argument1 and scales them
to fall within the range -argument2 to +argument2. If the input equals
argument1 \, the output is equal to argument value2. Output varies
exponentially with the input depending on argument3. With the arguments
shown \, input values between 0 and 127 are converted from 2*dB to
linear amplitude with 127 becoming 1;
#X text 298 283 outputs two values which can be sent to line~ as a
destination and a time in milliseconds;
#X text 372 135 integer message to change last argument \, which is
time in milliseconds;
#X text 348 203 argument1 is the reference input (int) \; argument2
is the reference output (float) \; argument3 is the base value (float)
\; argument4 is the time value in milliseconds (int);
#X text 232 444 The output is a list of two values \, the second one
being equal to argument4 and can be sent directly to a line~ 0;
#X obj 113 290 line~ 0;
#X text 42 121;
#X floatatom 330 142 5 0 0 0 - - -;
#X msg 113 135 0;
#X text 12 512 cyclone is (c) Krzysztof Czaja and others;
#X text 13 525 docs based on the MAX/MSP reference (c) cycling'74;
#X text 12 539 ___________________________________________________
;
#X text 35 76 I guess that's largely millers linedrive help patch:
;
#X text 35 63 I found most of this in an older fts help .pat file \,
;
#X obj 174 291 print linedrive;
#X connect 3 0 6 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 8 0 9 0;
#X connect 9 0 15 0;
#X connect 9 0 24 0;
#X connect 15 0 3 0;
#X connect 17 0 9 1;
#X connect 18 0 15 0;
|