Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git] / interpretor / faust-0.9.47mr3 / examples / faust-stk / pd-patches / fancy / what-a-friend / what-a-friend.pd
1 #N canvas 265 97 1038 587 10;
2 #X obj 20 29 midi-in 8;
3 #X obj 20 80 piano;
4 #X obj 276 386 audio-out;
5 #X obj 276 28 midi-in 2;
6 #X obj 276 80 bass;
7 #X obj 551 78 modalBar;
8 #X obj 654 26 midi-in 8;
9 #X obj 390 346 *~ 0.5;
10 #X obj 504 345 *~ 0.5;
11 #X obj 134 347 *~ 0.2;
12 #X obj 248 346 *~ 0.2;
13 #X obj 639 481 seq;
14 #X msg 671 411 bang;
15 #X msg 671 438 stop;
16 #X msg 721 437 pause;
17 #X msg 781 437 continue;
18 #X text 709 410 play;
19 #X obj 639 508 midiout;
20 #X obj 522 415 loadbang;
21 #X msg 522 439 read what_a_friend.mid;
22 #X text 48 9 MIDI channel must be set to 1;
23 #X text 311 8 MIDI channel must be set to 2;
24 #X text 684 7 MIDI channel must be set to 3;
25 #X msg 91 427 \; pd dsp 1;
26 #X msg 91 465 \; pd dsp 0;
27 #X text 537 530 In order to have this example work \, input device
28 and output device in MIDI settings must be set to the same internal
29 driver.;
30 #X connect 0 0 1 0;
31 #X connect 0 1 1 1;
32 #X connect 1 1 9 0;
33 #X connect 1 2 10 0;
34 #X connect 3 0 4 0;
35 #X connect 3 1 4 1;
36 #X connect 4 1 7 0;
37 #X connect 4 2 8 0;
38 #X connect 5 1 2 1;
39 #X connect 5 2 2 2;
40 #X connect 6 0 5 0;
41 #X connect 6 1 5 1;
42 #X connect 7 0 2 1;
43 #X connect 8 0 2 2;
44 #X connect 9 0 2 1;
45 #X connect 10 0 2 2;
46 #X connect 11 0 17 0;
47 #X connect 12 0 11 0;
48 #X connect 13 0 11 0;
49 #X connect 14 0 11 0;
50 #X connect 15 0 11 0;
51 #X connect 18 0 19 0;
52 #X connect 19 0 11 0;