aboutsummaryrefslogtreecommitdiff
path: root/pd/doc/7.stuff/data-structures/voice.pd
blob: 20f2856d9e0967179d8957d207c2235b4b9ed298 (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
#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 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 434 411 line~;
#X obj 434 435 *~;
#X obj 434 459 *~;
#X obj 434 283 mtof;
#X obj 405 187 +;
#X obj 434 307 sqrt;
#X obj 434 331 sqrt;
#X obj 434 387 pack;
#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 485 259 +;
#X obj 485 282 mtof;
#X obj 485 306 sqrt;
#X obj 485 330 sqrt;
#X obj 485 411 line~;
#X obj 485 435 *~;
#X obj 485 459 *~;
#X obj 485 387 pack;
#X obj 384 411 line~;
#X obj 384 435 *~;
#X obj 384 459 *~;
#X obj 384 387 pack;
#X obj 384 284 mtof;
#X obj 384 308 sqrt;
#X obj 384 332 sqrt;
#X obj 384 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 521 459 calculate time-varying center frequencies;
#X text 470 512 ... for three VCFs acting on a noise source.;
#X text 85 394 Amplitude;
#X text 86 410 envelope;
#X text 94 549 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 169 235 / 2;
#X connect 0 0 20 0;
#X connect 1 0 2 0;
#X connect 2 0 5 0;
#X connect 2 0 5 1;
#X connect 3 0 1 0;
#X connect 4 0 9 1;
#X connect 5 0 6 0;
#X connect 5 0 6 1;
#X connect 6 0 4 0;
#X connect 7 0 9 0;
#X connect 9 0 8 0;
#X connect 10 0 11 0;
#X connect 10 0 11 1;
#X connect 11 0 12 0;
#X connect 11 0 12 1;
#X connect 12 0 41 1;
#X connect 13 0 15 0;
#X connect 14 0 39 0;
#X connect 14 0 13 0;
#X connect 14 0 24 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 10 0;
#X connect 18 0 19 0;
#X connect 19 0 2 0;
#X connect 20 0 21 0;
#X connect 20 0 22 0;
#X connect 20 1 14 1;
#X connect 21 1 50 0;
#X connect 21 2 1 1;
#X connect 22 0 14 0;
#X connect 22 1 39 1;
#X connect 22 1 24 1;
#X connect 22 2 17 1;
#X connect 22 2 35 1;
#X connect 22 2 31 1;
#X connect 23 0 40 0;
#X connect 23 0 41 0;
#X connect 23 0 42 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X connect 27 0 31 0;
#X connect 28 0 29 0;
#X connect 28 0 29 1;
#X connect 29 0 30 0;
#X connect 29 0 30 1;
#X connect 30 0 42 1;
#X connect 31 0 28 0;
#X connect 32 0 33 0;
#X connect 32 0 33 1;
#X connect 33 0 34 0;
#X connect 33 0 34 1;
#X connect 34 0 40 1;
#X connect 35 0 32 0;
#X connect 36 0 37 0;
#X connect 37 0 38 0;
#X connect 38 0 35 0;
#X connect 39 0 36 0;
#X connect 40 0 4 1;
#X connect 41 0 4 1;
#X connect 42 0 4 1;
#X connect 50 0 3 0;