#N canvas 265 97 1038 587 10;
#X obj 20 29 midi-in 8;
#X obj 20 80 piano;
#X obj 276 386 audio-out;
#X obj 276 28 midi-in 2;
#X obj 276 80 bass;
#X obj 551 78 modalBar;
#X obj 654 26 midi-in 8;
#X obj 390 346 *~ 0.5;
#X obj 504 345 *~ 0.5;
#X obj 134 347 *~ 0.2;
#X obj 248 346 *~ 0.2;
#X obj 639 481 seq;
#X msg 671 411 bang;
#X msg 671 438 stop;
#X msg 721 437 pause;
#X msg 781 437 continue;
#X text 709 410 play;
#X obj 639 508 midiout;
#X obj 522 415 loadbang;
#X msg 522 439 read what_a_friend.mid;
#X text 48 9 MIDI channel must be set to 1;
#X text 311 8 MIDI channel must be set to 2;
#X text 684 7 MIDI channel must be set to 3;
#X msg 91 427 \; pd dsp 1;
#X msg 91 465 \; pd dsp 0;
#X text 537 530 In order to have this example work \, input device
and output device in MIDI settings must be set to the same internal
driver.;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 1 1 9 0;
#X connect 1 2 10 0;
#X connect 3 0 4 0;
#X connect 3 1 4 1;
#X connect 4 1 7 0;
#X connect 4 2 8 0;
#X connect 5 1 2 1;
#X connect 5 2 2 2;
#X connect 6 0 5 0;
#X connect 6 1 5 1;
#X connect 7 0 2 1;
#X connect 8 0 2 2;
#X connect 9 0 2 1;
#X connect 10 0 2 2;
#X connect 11 0 17 0;
#X connect 12 0 11 0;
#X connect 13 0 11 0;
#X connect 14 0 11 0;
#X connect 15 0 11 0;
#X connect 18 0 19 0;
#X connect 19 0 11 0;
