#N canvas 53 202 692 555 12; #X obj 37 449 catch~ sum; #X obj 349 274 s frequency; #X obj 463 274 s duration; #X floatatom 463 224 0 0 0 0 - - -; #X obj 463 249 * 100; #X obj 349 249 mtof; #X floatatom 349 224 0 0 0 0 - - -; #X text 82 7 ADDITIVE SYNTHESIS; #X text 501 214 duration in tenths; #X text 503 230 of a second; #X text 387 223 pitch; #X text 433 518 updated for Pd version 0.37; #X obj 37 488 output~; #X text 26 83 Partial takes as arguments an amplitude \, a relative frequency \, a detuning frequency \, and a relative duration. You set absolute duration and pitch using the controls below. Hit the trigger to make sound.; #X text 27 31 This patch demonstrates using an abstraction \, "partial" \, to make a simple additive synthesis instrument originally from Jean-Claude Risset.; #X obj 349 169 loadbang; #X obj 352 322 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 385 324 <-- click to play a note; #X obj 352 358 s trigger; #X obj 36 149 partial 1 1 1 0; #X obj 36 174 partial 1 2 2 0; #X obj 36 199 partial 1 3 3 0; #X obj 36 224 partial 1 4 4 0; #X obj 36 249 partial 1 5 5 0; #X obj 36 275 partial 1 6 6 0; #X obj 36 299 partial 1 7 7 0; #X obj 36 324 partial 1 8 8 0; #X obj 36 350 partial 1 9 9 0; #X obj 36 374 partial 1 10 10 0; #X obj 36 399 partial 1 11 11 0; #X obj 36 423 partial 1 12 12 0; #X msg 463 194 10; #X msg 350 192 68; #X connect 0 0 12 0; #X connect 0 0 12 1; #X connect 3 0 4 0; #X connect 4 0 2 0; #X connect 5 0 1 0; #X connect 6 0 5 0; #X connect 15 0 32 0; #X connect 15 0 31 0; #X connect 16 0 18 0; #X connect 31 0 3 0; #X connect 32 0 6 0;