File: data-array.pd

package info (click to toggle)
puredata 0.55.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,508 kB
  • sloc: ansic: 118,824; tcl: 10,221; cpp: 9,327; makefile: 1,632; sh: 1,476; python: 152; xml: 98; awk: 13
file content (68 lines) | stat: -rw-r--r-- 2,195 bytes parent folder | download | duplicates (4)
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 475 23 646 689 12;
#X floatatom 123 283 0 0 0 0 - - - 0;
#X obj 36 323 f;
#X obj 69 319 + 1;
#X msg 54 227 1;
#X msg 295 287 0;
#X obj 434 508 *;
#X obj 402 415 t f f;
#X obj 434 478 -;
#X msg 452 444 0;
#X obj 473 478 r delay-multiplier;
#X obj 161 132 inlet;
#X obj 211 607 outlet;
#X obj 364 607 outlet;
#X obj 287 607 outlet;
#X obj 332 444 t f b;
#X obj 36 366 select;
#X obj 161 167 trigger bang bang pointer bang, f 42;
#X obj 434 578 delay;
#X msg 364 486 0;
#X obj 131 309 element template-event \$1, f 17;
#X obj 131 357 get template-\$1 y w x;
#X obj 295 316 element template-event \$1, f 17;
#X obj 295 357 get template-\$1 y w;
#X obj 123 244 getsize template-event \$1, f 17;
#X text 208 131 pointer input;
#X text 213 631 new y value, f 5;
#X text 289 631 new w value, f 5;
#X text 357 631 time to ramp to new values, f 13;
#X text 41 17 This is an abstraction used in the sequencer example and loaded inside the [voice] abstraction. Here we take a pointer to a scalar and sequence an array belonging to it \, either the amplitude or the frequency (depending on the value of argument). Both arrays have x \, y and w parameters. The array for amplitude does not use the y value \, which represents pitch in the pitch array. The 'x' parameter is a time stamp and 'w' (width) is the amplitude value for the mplitude array and bandwidth for the pitch araay., f 78;
#X msg 471 539 stop;
#X obj 471 512 r reset;
#X connect 0 0 15 1;
#X connect 1 0 2 0;
#X connect 1 0 15 0;
#X connect 2 0 1 1;
#X connect 3 0 1 1;
#X connect 4 0 21 0;
#X connect 5 0 12 0;
#X connect 5 0 17 0;
#X connect 6 0 7 1;
#X connect 6 1 7 0;
#X connect 7 0 5 0;
#X connect 8 0 7 1;
#X connect 9 0 5 1;
#X connect 10 0 16 0;
#X connect 14 0 13 0;
#X connect 14 1 18 0;
#X connect 15 1 19 0;
#X connect 16 0 1 0;
#X connect 16 1 4 0;
#X connect 16 2 19 1;
#X connect 16 2 21 1;
#X connect 16 2 23 0;
#X connect 16 3 3 0;
#X connect 16 3 8 0;
#X connect 17 0 1 0;
#X connect 18 0 12 0;
#X connect 19 0 20 0;
#X connect 20 0 11 0;
#X connect 20 1 13 0;
#X connect 20 2 6 0;
#X connect 21 0 22 0;
#X connect 22 0 11 0;
#X connect 22 1 14 0;
#X connect 23 0 0 0;
#X connect 29 0 17 0;
#X connect 30 0 29 0;