Hello list!
I have some problems with the xeq-external: I managed now to play midi files through this external, but I can't figure out (after looking through documentations), how to record midi files.
Everytime I try to write the file I get this error message: "request to write empty midifile ignored" but m midi file isn't empty !!!
Thanks for any help!! (My system: xeq and pd from the latest win-installer and WinXP)
LG Georg
PS: I attached a demo-patch which should describe my problem !
oops, sorry for my "bad" attachement!
This should work:
#N canvas 171 198 872 572 12; #X msg 239 133 record; #X msg 407 388 edit; #X obj 246 427 noteout; #X msg 239 219 restop; #X msg 371 354 readd 144 $1 $2 1; #X obj 370 428 xeq_record $0-x; #X msg 235 258 mfwrite asd.mid; #X msg 452 389 rewind; #X msg 240 179 60 100; #X msg 303 179 60 0; #X text 33 23 XEQ-Problem:; #X text 59 177 2) play a little bit:; #X text 101 132 1) start record:; #X text 107 218 3) stop record:; #X text 59 257 4) try to write file:; #X text 29 68 I think it should work this way...; #X text 328 511 ... but it doesn't !!!; #X text 369 257 -> I get error: "request to write empty midifile ignored" ; #X text 394 286 but the midi file isn't empty !!?; #X connect 0 0 5 0; #X connect 1 0 5 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 6 0 5 0; #X connect 7 0 5 0; #X connect 8 0 4 0; #X connect 8 0 2 0; #X connect 9 0 4 0; #X connect 9 0 2 0;
hi Georg,
before an event stream starts, send a message 'retrack' to xeq_record -- a recording track has to get a valid name first. Valid name is <tracknumber>-<basename>, so it might be 'record, retrack 1-track', or 'retrack 777-test, record', etc. For some odd reason the default name is not valid.
Track naming rules are inflexible, undocumented, and unwise...
Krzysztof
Georg Holzmann wrote: ...
Everytime I try to write the file I get this error message: "request to write empty midifile ignored"