aboutsummaryrefslogtreecommitdiff
path: root/nusmuk-audio/additive~-help.pd
blob: a16853d47faf10342b40e9591b815ac66207f9ec (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
#N canvas 120 75 697 667 10;
#X obj 85 91 hradio 15 1 0 6 empty empty empty 0 -6 0 8 -262144 -1
-1 0;
#X obj 34 748 dac~;
#X msg 34 171 waveform \$1 \$2;
#X floatatom 34 57 5 0 0 0 - - -;
#X obj 34 147 pack f f;
#X text 81 58 voice_number;
#X text 172 91 waveform;
#X obj 57 229 pack f f f f;
#X floatatom 57 203 5 0 0 0 - - -;
#X floatatom 95 203 5 0 0 0 - - -;
#X floatatom 133 203 5 0 0 0 - - -;
#X floatatom 171 203 5 0 0 0 - - -;
#X text 222 202 (0 1);
#X msg 57 256 cosinesum \$1 \$2 \$3 \$4;
#X text 260 7 additive synthesys with pd;
#X text 286 24 ch 2005_04_28;
#X floatatom 181 466 5 0 0 0 - - -;
#X msg 120 647 reset;
#X floatatom 78 280 5 0 0 0 - - -;
#X msg 78 301 pwm \$1;
#X text 117 281 (0 1);
#X msg 46 78 2;
#X msg 57 111 1;
#X text 176 647 stop all voice;
#X msg 126 670 2 reset;
#X text 199 672 stop voice 2;
#X floatatom 148 497 5 0 0 0 - - -;
#X text 158 168 voice 0 = all voice;
#X msg 23 30 0;
#X msg 148 466 1;
#X floatatom 144 344 5 0 0 0 - - -;
#X text 194 343 f (midi);
#X floatatom 111 375 5 0 0 0 - - -;
#X msg 111 344 2;
#X obj 35 722 *~ 0.1;
#X text 118 431 voice_number(1-20) freq(midi : 0-127) amplitude(db
: 0-100) A(ms) D(ms) hold(ms) S(ms) R (ms);
#X text 368 404 voice_number freq amplitude A D H S R;
#X text 256 100 select a waveform for each voice;
#X text 495 100 0 = sin;
#X text 495 119 1 = tri;
#X text 495 138 2 = saw;
#X text 495 157 3 = square;
#X text 495 175 4 = user_define_cosinesum;
#X text 496 195 5 = user_define_pwm;
#X text 214 299 define the PW of waveforme 5;
#X text 217 257 define the spectre of waveform 4;
#X text 193 568 addresse each voice independently;
#X obj 111 405 pack f 54 90 300 500 1000 0.5 1800;
#X obj 148 527 pack f 69 90 100 500 1000 0.9 1800;
#X obj 34 699 additive~;
#X connect 0 0 4 1;
#X connect 2 0 49 0;
#X connect 3 0 4 0;
#X connect 4 0 2 0;
#X connect 7 0 13 0;
#X connect 8 0 7 0;
#X connect 9 0 7 1;
#X connect 10 0 7 2;
#X connect 11 0 7 3;
#X connect 13 0 49 0;
#X connect 16 0 48 1;
#X connect 17 0 49 0;
#X connect 18 0 19 0;
#X connect 19 0 49 0;
#X connect 21 0 4 0;
#X connect 22 0 4 0;
#X connect 24 0 49 0;
#X connect 26 0 48 0;
#X connect 28 0 4 0;
#X connect 29 0 26 0;
#X connect 30 0 47 1;
#X connect 32 0 47 0;
#X connect 33 0 32 0;
#X connect 34 0 1 0;
#X connect 34 0 1 1;
#X connect 47 0 49 0;
#X connect 48 0 49 0;
#X connect 49 0 34 0;