#N canvas 512 27 612 477 12; #X text 183 30 MIDI OUT; #X obj 198 53 tgl 20 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 ; #X obj 323 83 pgmout; #X floatatom 304 55 5 1 128 0 - - -; #X floatatom 413 66 5 1 16 0 - - -; #X obj 116 196 metro; #X obj 135 285 f; #X obj 165 311 makenote; #X obj 223 171 loadbang; #X msg 219 205 500; #X msg 266 204 60; #X msg 313 204 64; #X msg 364 204 250; #X floatatom 222 249 5 0 0 0 - - -; #X floatatom 273 250 5 0 0 0 - - -; #X floatatom 322 248 5 0 0 0 - - -; #X floatatom 377 250 5 0 0 0 - - -; #X text 225 231 rate pitch vel length; #X obj 127 375 noteout; #X text 45 8 showing midiout and program change; #X msg 19 49 \; pd dsp 1; #X msg 17 117 \; pd dsp 0; #X text 13 112; #X text 20 357 pitch change input causes midi note on event; #X text 38 256 metro bangs f \, f sends pitch to makenote; #X text 199 372 inlet 3 of noteout is channel number (1-16); #X text 431 23; #X text 299 20 voice number 1-128. Changes voice (instrument) except on channel 10; #X text 399 92 channel number (1-16). chan 10 is percussion. On chan 10 use voice 41 and change the pitch to hear different instruments ; #X connect 1 0 5 0; #X connect 3 0 2 0; #X connect 4 0 2 1; #X connect 4 0 18 2; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 7 0 18 0; #X connect 7 1 18 1; #X connect 8 0 9 0; #X connect 8 0 10 0; #X connect 8 0 11 0; #X connect 8 0 12 0; #X connect 9 0 13 0; #X connect 10 0 14 0; #X connect 11 0 15 0; #X connect 12 0 16 0; #X connect 13 0 5 1; #X connect 14 0 6 1; #X connect 15 0 7 1; #X connect 16 0 7 2;