> On Wed, 27 Jul 2011 15:01:20 -0400 "D. Michael McIntyre" <michael.mcintyre@...> wrote:9-15"
> On Wednesday, July 27, 2011, Wayne wrote:
> > thank you Bas, that tip has
> indeed seemed to have done the trick.
> I'm glad it worked.
> > now for a follow-up: is it
> possible to export a MIDI segment/file in
> > RG without the timing (i.e. tempo/meter)
> information? or does that even
> > make sense for a MIDI file?
> I suppose you could go into the tempo and time signature
> editor and delete all
> the tempo and time changes before exporting. (You
> should be able to undo
> this, but I'd work on a copy just in case.) That
> wouldn't remove ALL of the
> information, and you'd wind up exporting in 4/4 time at 120
> bpm. I'm not sure
> if MIDI files absolutely have to have a time signature, but
> they do absolutely
> have to have at least one tempo.
> For that matter, I don't think we export all tempo
> information correctly
> anyway. Our MIDI export functionality isn't the
> greatest, and there are
> several things we don't support properly, or at all.
> D. Michael McIntyre
I don't know if there's a command (command-line tool) to convert/export .RG to .mid file . Although, within Rosegarden GUI, you can export midi tracks into a .mid file.
One way to export a single (or a few) midi track is to copy your .RG file (it's always good to have a backup copy), then edit the new temporary file, delete all the tracks you don't want, then export to a .mid file.
Another way is to export all the midi tracks/channels (I prefer those terms over "segments" which may be just a few musical bars/measures of a track/song) into a .mid file, then use some tools like midisplit.pl (a midi tool to split up each midi channel into its own file).
I believe all midi files must have a tempo, if none is found, it is assumed to be 4/4 120 BPM tempo .
There are other utilities like midi2text, miditext, midi2csv ... but they have their own quirks. Some midi file(s) may have problem with one of these, but no problems with the other utilities .