aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/7.stuff/data-structures/voice.pd
blob: 2d124db733d3b28fd231ee625100aab5d0cec331 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#N canvas 0 34 918 591 12;
#X obj 180 96 inlet;
#X obj 169 288 pack;
#X obj 169 395 line~;
#X obj 169 238 sqrt;
#X obj 169 262 sqrt;
#X obj 169 480 *~;
#X obj 169 419 *~;
#X obj 169 443 *~;
#X obj 92 478 inlet~;
#X obj 92 526 outlet~;
#X obj 92 502 +~;
#X obj 436 411 line~;
#X obj 436 435 *~;
#X obj 436 459 *~;
#X obj 436 283 mtof;
#X obj 394 187 +;
#X obj 436 307 sqrt;
#X obj 436 331 sqrt;
#X obj 436 387 pack;
#X obj 169 214 / 6;
#X obj 189 343 r reset;
#X msg 189 367 0 20;
#X obj 180 120 data-start template-toplevel;
#X obj 6 150 data-array template-toplevel amp template-amp;
#X obj 433 148 data-array template-toplevel pitch template-pitch;
#X obj 308 437 noise~;
#X obj 477 259 +;
#X obj 477 282 mtof;
#X obj 477 306 sqrt;
#X obj 477 330 sqrt;
#X obj 477 411 line~;
#X obj 477 435 *~;
#X obj 477 459 *~;
#X obj 477 387 pack;
#X obj 394 411 line~;
#X obj 394 435 *~;
#X obj 394 459 *~;
#X obj 394 387 pack;
#X obj 394 284 mtof;
#X obj 394 308 sqrt;
#X obj 394 332 sqrt;
#X obj 394 262 -;
#X obj 240 520 vcf~ 10;
#X obj 315 520 vcf~ 10;
#X obj 390 516 vcf~ 10;
#X text 13 7 This is an abstraction used in the sequencer example.
Here we take care of the audio synthesis \, according to timed controls
from the the "data-start" and "data-array" subpatches.;
#X text 505 458 calculate time-varying center frequencies;
#X text 470 512 ... for three VCFs acting on a noise source.;
#X text 92 394 Amplitude;
#X text 93 410 envelope;
#X text 117 508 summing bus;
#X text 346 62 Pitch is in eighth-tones (because 4 pixels per half
tone looks reasonable on the screen.) Hence the * 0.25 objects below.
;
#X obj 394 209 * 0.25;
#X obj 493 233 * 0.25;
#X obj 394 230 + 24;
#X connect 0 0 22 0;
#X connect 1 0 2 0;
#X connect 2 0 6 0;
#X connect 2 0 6 1;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 5 0 10 1;
#X connect 6 0 7 0;
#X connect 6 0 7 1;
#X connect 7 0 5 0;
#X connect 8 0 10 0;
#X connect 10 0 9 0;
#X connect 11 0 12 0;
#X connect 11 0 12 1;
#X connect 12 0 13 0;
#X connect 12 0 13 1;
#X connect 13 0 43 1;
#X connect 14 0 16 0;
#X connect 15 0 52 0;
#X connect 16 0 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 3 0;
#X connect 20 0 21 0;
#X connect 21 0 2 0;
#X connect 22 0 23 0;
#X connect 22 0 24 0;
#X connect 22 1 15 1;
#X connect 23 1 19 0;
#X connect 23 2 1 1;
#X connect 24 0 15 0;
#X connect 24 1 53 0;
#X connect 24 2 18 1;
#X connect 24 2 37 1;
#X connect 24 2 33 1;
#X connect 25 0 42 0;
#X connect 25 0 43 0;
#X connect 25 0 44 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 29 0;
#X connect 29 0 33 0;
#X connect 30 0 31 0;
#X connect 30 0 31 1;
#X connect 31 0 32 0;
#X connect 31 0 32 1;
#X connect 32 0 44 1;
#X connect 33 0 30 0;
#X connect 34 0 35 0;
#X connect 34 0 35 1;
#X connect 35 0 36 0;
#X connect 35 0 36 1;
#X connect 36 0 42 1;
#X connect 37 0 34 0;
#X connect 38 0 39 0;
#X connect 39 0 40 0;
#X connect 40 0 37 0;
#X connect 41 0 38 0;
#X connect 42 0 5 1;
#X connect 43 0 5 1;
#X connect 44 0 5 1;
#X connect 52 0 54 0;
#X connect 53 0 26 1;
#X connect 53 0 41 1;
#X connect 54 0 41 0;
#X connect 54 0 26 0;
#X connect 54 0 14 0;