blob: c881746ca60bfee08887fca2c8033cce925029cb (
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
|
#N canvas 567 104 472 353 10;
#X declare -lib hid;
#X obj 5 2 cnv 15 450 20 empty empty hid_log 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 obj 202 269 pddp/pddplink ../all_about_hid_mapping.pd -text all_about_hid_mapping;
#X floatatom 25 123 8 0 0 0 - - -;
#X floatatom 25 184 8 0 0 0 - - -;
#X obj 28 201 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_log;
#N canvas 0 22 450 300 graph1 0;
#X array hid_log 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_log;
#X obj 56 283 tabwrite hid_log;
#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 17 40 This object maps the input range to a logarithmic curve.
Humans perceive pitch and amplitude on a logarithmic scale.;
#X connect 6 0 10 0;
#X connect 7 0 8 0;
#X connect 9 0 6 0;
#X connect 10 0 7 0;
|