#N canvas 120 75 697 786 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 obj 34 699 additive; #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 connect 0 0 5 1; #X connect 2 0 35 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 8 0 14 0; #X connect 9 0 8 0; #X connect 10 0 8 1; #X connect 11 0 8 2; #X connect 12 0 8 3; #X connect 14 0 2 0; #X connect 17 0 49 1; #X connect 18 0 2 0; #X connect 19 0 20 0; #X connect 20 0 2 0; #X connect 22 0 5 0; #X connect 23 0 5 0; #X connect 25 0 2 0; #X connect 27 0 49 0; #X connect 29 0 5 0; #X connect 30 0 27 0; #X connect 31 0 48 1; #X connect 33 0 48 0; #X connect 34 0 33 0; #X connect 35 0 1 0; #X connect 35 0 1 1; #X connect 48 0 2 0; #X connect 49 0 2 0;