aboutsummaryrefslogtreecommitdiff
path: root/hid_square-help.pd
blob: d158a2a9cdea548cddbb192ee427d759a39fdcfe (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#N canvas 0 31 476 357 10;
#X obj 5 2 cnv 15 450 20 empty empty hid_square 2 11 1 18 -233017 -66577
0;
#X obj 422 3 pddp/pddplink http://puredata.info/dev/pddp -text pddp
;
#X text 27 300 (C) Copyright 2004 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 244 314 released under the GNU GPL;
#X text 98 271 For more info:;
#X floatatom 25 123 8 0 0 0 - - -;
#X floatatom 25 184 8 0 0 0 - - -;
#X obj 28 211 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144
-1 -1 0 1;
#X obj 28 103 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -261681
-1 -1 0 1;
#X obj 25 153 hid/hid_square;
#N canvas 0 22 450 300 (subpatch) 0;
#X array hid_square 100 float 0;
#X coords 0 1 99 0 100 100 1;
#X restore 321 111 graph;
#N canvas 266 69 327 317 draw_array 0;
#X msg 57 52 bang;
#X obj 57 73 until;
#X text 88 52 start;
#X obj 57 95 f;
#X obj 86 95 + 1;
#X obj 132 97 sel 0;
#X obj 86 117 mod 100;
#X obj 57 150 t f f;
#X obj 94 177 s array_index;
#X obj 170 262 r array_index;
#X obj 57 13 loadbang;
#X obj 57 207 / 100;
#X text 99 207 [hid] output range: 0 to 1;
#X obj 56 233 hid/hid_square;
#X obj 56 283 tabwrite hid_square;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 4 0 6 0;
#X connect 5 0 1 1;
#X connect 6 0 3 1;
#X connect 6 0 5 0;
#X connect 7 0 11 0;
#X connect 7 1 8 0;
#X connect 9 0 14 1;
#X connect 10 0 0 0;
#X connect 11 0 13 0;
#X connect 13 0 14 0;
#X restore 321 78 pd draw_array;
#X text 15 34 This object maps the input range to a square curve \,
i.e. [pow 2] \, "X squared" \, or X^2.;
#N canvas 485 31 494 344 META 0;
#X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL;
#X text 12 115 AUTHOR Hans-Christoph Steiner;
#X text 12 95 OUTLET_0 float;
#X text 12 45 DESCRIPTION map the input range to a square curve \,
i.e. [pow 2] \, "X squared" \, or X^2.;
#X text 12 75 INLET_0 float;
#X text 12 5 KEYWORDS control abstraction;
#X restore 421 319 pd META;
#X connect 5 0 9 0;
#X connect 6 0 7 0;
#X connect 8 0 5 0;
#X connect 9 0 6 0;