Midi Export Bug in Cubase 13 because tempo changes

I created a midi song with Genos in Cubase 13 with tempo changes, because of fermate, and a time signature change between ‘3/4’ and ‘1/4’. When exporting midi for further editing in PSRUTI, I got the error message ‘error reading source’ and by


trying to open it in XGWorks the message has been ‘Unsupported format’. After checking the problem in Cubase I finally removed the tempo changes, so that only at the beginning the tempo of 90 bmp has been left. Now the midi export file no more caused any problems in the other programs. I hope this bug with tempo changes can be solved in future updates.

Hi,

Are you on Mac or Windows? If you are on Mac, does the other software read *.midi file, or just the *.mid file?

Hi Martin, I’m working on Windows. To use PSRUTI on your Mac, you need a Windows environment. PSRUTI is a free PC program designed specifically for editing MIDI files in XG/XF format for Yamaha keyboards. It allows editing midifiles and is particularly suitable for playing on Yamaha keyboards. The operation of PSRUTI is intuitive and easy to learn compared to commercial sequencers. However, some more complex tasks require basic knowledge of MIDI.
Yamaha XGworks is no longer actively developed, but it remains a popular choice for musicians working with Yamaha keyboards and XF data. It allows you to edit MIDI files in XG/XF format and is particularly suitable for playing on Yamaha keyboards.

Hi,

Does it read SMF1, or just SMF0? Can you export SMF0 for the test?

Even if I export it with Type 0 format I get the same error message as mentioned above.

Hi,

Can you import it back to Cubase, please?

The reimport into Cubase works for both midi formats 0 and 1. However the time signature of 3/4 and the changes of 1/4 in some bars have been lost and I have manually to set time signature of 3/4 at the start (bar 1). As well as the tempo which has been exported with 90 bmp at bar 1, I had to change from the default setting of 120 to 90 bmp. However the midi plays well back at the connected external keyboard, of course there are not any time changes included now. By the way all the Lyrics included on channel 7, created in Dorico and exported as xml, have not been imported with the midi reimport.

Hi,

Did you create a new project while importing? Or did you import to an already existing project?

If the 2nd one is the case, did you disable the Ignore Master Tracks Events on Merge option in the Import Options dialog, please??

I opened an empty project and imported it in this project. Now I have disabled in Preferences > Midi > Midi file the Ignore Master Tracks Events on Merge and also Import Karaoke Lyrics as Text. Now the midi import has the Tempo changes as well as the time signature of 3/4 and 1/4. Only the Lyrics have not been imported anymore. I tried the import with Import Karaoke enabeled and disabled and create as well as new project.

Conclusion, the bug with midi exports handling different tempo changes still exists. The midi export should only be done with one tempo at the beginning of the piece, then no problems will occur with other program as e.g. Yamaha XGWorks or PSRUTI. Whereas e.g. Cakewalk by Bandlab would import the exported Cubase midi file, if exported with tempo changes, however the tempo changes will not exist anymore. Hence when working with tempo changes and a midi export is needed for further editing as e.g. add Lyrics, Yamaha XG Chords and add again the tempo changes to the midi file for a Yamaha keyboard, then one have to consider the above-mentioned bug. Or work from the beginning e.g. in Cakewalk by Bandlab, as this bug with tempo changes does not exist there.

Finally, I found the problem maker causing the bug. In Tempo Inspector the tempo changes in my project have under Type the entry Step but also Ramp, see the Screenshot image on the left. When you have your tempo changes without Ramp, see image on the right, then it doesn’t cause any problem when opening it in PSRUTI or Yamaha XGWorks.
20240308 Type of tempo changes