Hi ! i've been trying to build my first seq patch. I've only been able to write an empty midi file. Why ?
thanks
#N canvas 168 238 450 300 10; #X msg 319 70 record; #X msg 261 50 stop; #X obj 88 65 notein; #X obj 198 179 noteout; #X msg 283 107 write tata.mid; #X obj 190 125 seq; #X msg 195 46 start; #X connect 0 0 5 0; #X connect 1 0 5 0; #X connect 2 0 3 0; #X connect 2 0 5 0; #X connect 2 1 3 1; #X connect 2 1 5 0; #X connect 4 0 5 0; #X connect 5 0 3 0; #X connect 5 0 3 1; #X connect 6 0 5 0;
Probably because you've created a PD patch that writes empty midi files. Share your patch with us and we might be able to tell you how you can make your patch more productive :-)
best r. Pall
algodon wrote:
Hi ! i've been trying to build my first seq patch. I've only been able to write an empty midi file. Why ?
thanks
hi,
algodon wrote:
Hi ! i've been trying to build my first seq patch. I've only been able to write an empty midi file. Why ?
because you store an empty seq (check properties from seq's popup).
Seq expects a raw midi stream. In particular, it needs a status byte, which is missing in notein's output. A working setup might be midiin -> seq or notein (etc.) -> midiformat -> seq, and seq -> midiout, or seq -> midiparse -> noteout (etc.)
You might wonder, why all this is not documented, but taking a different perspective, cyclone is the best documented part of Pd.
Krzysztof