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.
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