In response to Nacho's troubles on the user list... He wanted to export a
tempo/time rich composition to MIDI in two parts. Clipping off the first
half and shifting everything to the left was a monumental PITA because of our
functional but user-tedious handling of tempo/time independently of segments.
So he tried to get around this annoying design by setting the composition
start marker to begin somewhere in the middle of the composition, and
He got the same result in both cases. Everything was exported. Timidity
somehow knew to start from the right point, in spite of the .mid file
containing all the MIDI data, but his Windows player was not so clever. He
needed the .mid files for Windows, so he was screwed at this point.
I presume there's some kind of weird start "marker" we're setting in the
export, but I haven't found that bit yet. Evidently Timidity recognizes it,
but the Windows stuff doesn't.
Either way, we're definitely exporting all the events. I've had a look at
MidiFile, and it's plain that we always export a composition from start to
finish. I'm not even sure about the "marker" I just mentioned. I exported a
test sample two ways, one with the start marker at 1, and one with the start
marker at 4, and both of the resulting .mid files diffed and played
It looks like changing that to export from start marker to finish would be
It looks doable, but it looks like something that would be a shame to do if
there's some overriding reason why the current practice of exporting
everything, regardless of composition start, exists. I don't want to wade
into this without consulting the rest of you.
Michael McIntyre ---- Silvan <dmmcintyr@...>
Linux fanatic, and certified Geek; registered Linux user #243621