#N canvas 614 464 709 426 12; #X declare -lib sfizz; #X obj 4 3 cnv 15 700 80 empty empty sfizz 20 30 0 40 -261682 -66577 0; #X text 45 54 A synthesizer for instruments in SFZ format; #X text 33 167 create a SFZ instrument; #X obj 26 323 midiin; #X text 23 300 connect MIDI-in; #X obj 162 223 dac~; #X msg 177 345 voices \$1; #X text 175 301 modify the polyphony; #X obj 376 326 hsl 127 15 0 1 0 1 empty empty empty -2 -8 0 10 -262144 -1 -1 6300 1; #X floatatom 466 346 5 0 0 0 - - -; #X text 372 302 modulate a parameter; #X msg 373 346 hdcc 300 \$1; #X obj 27 115 declare -lib sfizz; #X obj 163 192 sfizz~ example.sfz; #X text 18 93 load the sfizz library; #X msg 221 115 \; pd dsp 1; #X text 218 94 click to turn on DSP; #X text 153 247 output stereo audio; #X msg 398 223 reload; #X msg 498 223 load example.sfz; #X text 396 200 reload the instrument or load another; #X obj 241 165 r \$0-input; #X obj 26 348 s \$0-input; #X obj 177 370 s \$0-input; #X obj 373 371 s \$0-input; #X obj 398 248 s \$0-input; #X obj 498 248 s \$0-input; #X obj 177 326 nbx 5 14 1 256 0 1 empty empty empty 0 -8 0 10 -262144 -1 -1 64 256; #X text 567 302 send a note; #X obj 568 348 makenote 100 500; #X obj 568 373 list; #X obj 568 398 s \$0-input; #X msg 568 323 60; #X obj 386 92 cnv 15 300 100 empty empty Inlets 20 12 0 14 -233017 -66577 0; #X text 395 140 3: pitch bend; #X text 395 154 4: channel aftertouch; #X text 395 168 5: polyphonic aftertouch and key; #X text 395 126 2: controller and value; #X text 395 112 1: note and velocity; #X connect 3 0 22 0; #X connect 6 0 23 0; #X connect 8 0 11 0; #X connect 8 0 9 0; #X connect 11 0 24 0; #X connect 13 0 5 0; #X connect 13 1 5 1; #X connect 18 0 25 0; #X connect 19 0 26 0; #X connect 21 0 13 0; #X connect 27 0 6 0; #X connect 29 0 30 0; #X connect 29 1 30 1; #X connect 30 0 31 0; #X connect 32 0 29 0;