On 11/06/2016 07:03 PM, D. Michael McIntyre wrote:
> The way it was supposed to work, when you imported MIDI it would try to
> fuzzy match you with "General MIDI Device" and try to assign that to a
> playable port.

   That sounds simple.  I'll keep it in mind when I get there.

> I remember the last time I fooled around importing old
> MIDI files, I had a lot of problems, to the point where I had to look at
> the file in something else to figure out what programs I should set up,
> and then I had to set all of that up manually in Rosegarden.

   Sure.  This sounds like the program changes in the MIDI file weren't 
at time zero.  The code now assumes that if the PC doesn't happen at 
time zero that it has to leave it alone and preserve the timing of the 
original file.

   The manual "fix" would be to dig through the events in the event 
editor, delete the BS/PC there and enter it into the MIPP.  It's not 
easy.  (Perhaps we could handle the case of a BS/PC before any other 
events on a track?  Can't remember if I considered that and decided 
against it.  It does change what the MIDI file is asking for.)

   And if there are multiple BS/PCs on a track, all bets are off.  A 
track will be set for piano in the MIPP and start playing violin at some 
point.  This is what drove the new behavior.  Will was having trouble 
importing MIDI files filled with BS/PC's on each track with the old 
code.  Now it preserves the BS/PCs throughout a track (it used to mangle 
them) and sets the MIPP for what it finds at time zero.

> You probably plugged a hole
> that used to make things work by accident or something.

   Heh.  All the time.

Ted.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to