blob: 4d1ccf1ecba9fb1bedeee9f0948cbb0b62e4b2ef (
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
|
#N canvas 127 78 480 361 10;
#X obj 5 2 cnv 15 450 20 empty empty [curve_log] 2 11 1 18 -233017
-66577 0;
#X msg 422 3 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 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;
#N canvas 0 22 450 300 graph1 0;
#X array curve_log 100 float 0;
#X coords 0 1 99 0 100 100 1;
#X restore 321 111 graph;
#N canvas 266 69 343 333 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 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 56 283 tabwrite curve_log;
#X obj 56 243 curve_log;
#X text 99 217 mapping output range: -1 to 1;
#X obj 57 193 - 50;
#X obj 57 217 / 50;
#X obj 132 97 select 0;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 5 0 3 1;
#X connect 5 0 15 0;
#X connect 6 0 13 0;
#X connect 6 1 7 0;
#X connect 8 0 10 1;
#X connect 9 0 0 0;
#X connect 11 0 10 0;
#X connect 13 0 14 0;
#X connect 14 0 11 0;
#X connect 15 0 1 1;
#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 obj 25 153 curve_log;
#X obj 202 269 pddp_open mapping-about;
#X connect 5 0 12 0;
#X connect 6 0 7 0;
#X connect 8 0 5 0;
#X connect 12 0 6 0;
|