#1261 Mixup of sequence data on imported midi file

One Of These Days
open
nobody
midi (93)
2
2012-10-02
2010-02-27
No

When you import a midi file and play it back in rosegarden, the order of commands sent to the midi device is different to the order of vanilla midi players (e.g. pmidi) and thus sometimes causing problems with Yamaha XG devices not switching to XG mode or missing some settings for some tracks. The effect can be easily reproduced with the attached file 6USNF.mid. In rosegardens default settings the effect with this file is so bad that the piece appears to be played back in GM and not in XG mode. If you enable "Send all midi controllers at start of each playback" the result is better but some effects still get lost (reverb on drums). Also if you re-export the midi file and play it back with pmidi, the sequence is changed.

Attachments:
6USNF.mid : original XG song
6USNF_reexported.mid : previous file imported into rosegarden and re-exported immediately
playback_with_pmidi.txt : dump created with "amidi --port virtual --dump -a", played with pmidi (same result with java based midi player) -> perfect playback
playback_with_rosegarden.txt : played with rosegarden's default settings -> worst result
playback_with_rosegarden_send_all.txt : played with rosegar

Used versions: 1.7.3 (OpenSuse) and 10.02.1 (custom build)
Hardware: Lenovo T60, Romio II USB Midi Interface, Yamaha DB60XG

Discussion

  • original XG song

     
    Attachments
  • song imported into rosegarden and re-exported immediately

     
    Attachments
  • dump created with "amidi --port virtual --dump -a", played with pmidi (same result with java based midi player) -> perfect playback

     
  • played with rosegarden's default settings -> worst result

     
  • sorry, didn't know that attaching a file automatically submits the resport too - now I can't change the description anymore.

    The files playback* are all dumps created with "amidi --port virtual --dump -a" and directing the output of pmidi or rosegarden to the virtual device. There's a section with some blank lines. This seperates the initialisation of the midi device from the playback of the notes.
    Only the first few notes were dumped, then the playback was aborted manually - so the end of the dumps differ.

     
  • I'll never find time to try to pick something like this apart. Most likely this is a "Rosegarden is weird, we're sorry about that" kind of issue that we can't realistically do anything about. ("The sequencer for users who prefer to work with notation" and all that.) It's probably hopeless, but I'll defer to Julie to make the final call.

     
  • It probably would be worth sorting this out, but I'm not going to do it.

     
    • milestone: --> One Of These Days