MIDI Quick Recording Gets Tempo Wrong

Started by Michael Trigoboff, October 15, 2022, 08:26:24 PM

Previous topic - Next topic

Michael Trigoboff

I have a song whose tempo is set to 108. I hit the RECORDING button on the Genos, and then the Quick Recording button on the touchscreen. I make sure the tempo in the recording display is 108. Then I record a song.

Then I import the song MIDI file into a Cubase project whose tempo is set to 108. But when I play back the MIDI from Cubase, the Genos' tempo gets set to 178 by something in the imported MIDI's Sy*** Data track.

When i play the MIDI song back on the Genos, it plays correctly in the correct tempo.

i have verified this behavior a number of times. Is Cubase messing with the MIDI data?
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

Michael Trigoboff

i just checked the Sy*** Data track in the Genos Step Editor vs the Cubase List Editor. There are definitely some differences at the beginning. Either Cubase is changing the Sy*** data when it imports, or the Genos is changing the Sy*** data when it exports.

>:(
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

overover

Hi Michael,

Could you post one of those MIDI files here (created and saved on Genos with MIDI Quick Recording) where the problem occurs with two different tempo settings? I would then take a closer look at it in several programs...

By the way, with MIDI Quick Recording it is important that you start with an initialized song, i.e. that "New Song" is displayed. Did you notice this?


Best regards,
Chris
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

Michael Trigoboff

Thanks, Chris.

Here is a zip file containing 2 MIDI files:

  • genos.mid: a Quick Recording from the Genos
  • cubase.mid: the result of importing genos.mid into Cubase Pro 12 and then exporting to a new MIDI file
"New Song" was displayed in Quick Recording when I recorded genos.mid. I am pretty sure it was displayed when I recorded the other files I tried yesterday.

I copied cubase.mid back onto the Genos and played it, and the tempo remained at 108. It turns out that the only time the tempo gets set to 178 is when I play the MIDI imported from genos.mid directly from its track in Cubase.

So it turns out that Cubase is doing something weird that I will have to figure out how to work around. Given that both the Genos and Cubase are made by Yamaha, it's surprising that they don't play very well together.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

overover

Thanks, Michael!

I downloaded your zip file and will look at the MIDI files. But my response to this may take a little while ...


Best regards,
Chris
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

JohnS (Ugawoga)

Hi Mike

This always happens in Cubase.
I just bring up to correct bpm and save
You can save tempo settings in Cubase and draw tempo to your hearts content.
Your Cubase tempo setting maybe on 178 start. I will have a check on that myself later.
Check that tempo setting that maybe already saved
But i do not worry what it says as i adjust and save in Cubase 12.
My hate with Cubase is , if i start cubase without the focusrite on, the next time i have to redo all the settings again even if i save a project.
You do not need the Focusrite on when editing midi in Cubase as the Yamaha driver keeps you going.
My Spdf is going well and my Cubase 121 controller is still in business. At the moment!! :P


All the best
John


All the Best
John
Genos 2     AMD RYZEN  9 7900  12 Core Processor 32 ram,   Focusrite Scarlet 4i4 4th Gen.

overover

Hi Michael,

What I've found out so far:

Both MIDI files (genos.mid and cubase.mid) contain a Sy*** (at time 001:2:000) that selects the Genos Preset Style "60s8Beat". (Style control Sy*** are always automatically written to the MIDI file when recording via MIDI Quick Recording.) The style mentioned has a default tempo of 178. I suspect that when playing such MIDI files in Cubase the Genos for some reason uses the standard tempo of the "embedded" Style instead of the actual MIDI file tempo (at time 001:1:0000).

If you don't need the Style control Sy*** in the MIDI file anyway, I recommend removing them with PSRUTI (before importing into Cubase). To do this, load the MIDI file in PSRUTI (V8.21) and then click on "Extras > Delete Keyboard Events". In the "Delete Keyboard Events" window, I recommend leaving the default setting with all checkboxes ticked except for the bottom one. Then you click Ok and Exit to return to the main window of PSRUTI and save the file with "Save as" with a changed name. (With "Save" the source file would be overwritten without asking!)

Download PSRUTI program (only available for Windows):
>>> https://heikoplate.de/psruti.html


Best regards,
Chris
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

Michael Trigoboff

Thanks, Chris. It sounds like too much mindless software is trying to be helpful, when I would be better off without all that "help."
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

overover

Quote from: Michael Trigoboff on November 06, 2022, 07:18:50 PM
Thanks, Chris. It sounds like too much mindless software is trying to be helpful, when I would be better off without all that "help."

Hi Michael,

I'm not exactly sure what you mean by "mindless software". PSRUTI (and now also MixMaster) is a MUST for anyone who wants to work seriously/professionally with XG MIDI files in connection with Yamaha Arranger Keyboards. Unfortunately, the developer of PSRUTI, Heiko Plate, passed away some time ago, so the program is no longer being developed/supported.

Please have a look on the manual ("Help" button in PSRUTI or separate download). Many important functions, such as the described removal of the Style Control Sy*** or removal of (e.g. accidentally saved in the MIDI file) "Keyboard Voice Events", etc., you will not find in any other program.


Best regards,
Chris
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

MarkF_48

Hey there, a heads up....

I clicked Michael's zip file link and downloaded the file from OneDrive. I extracted the folder that was in the zip file to a temporary folder and proceeded to play one of the midi files. A short while later I was looking for some mp3 music to play and ran across a file called 'redir.htm' in a folder that was nowhere near the temp folder I extracted the zip file to or where I downloaded the zip file. This 'redir.htm' file was created at the same time (7:24pm) I accessed or downloaded the zip file. Not sure if extracting the contents might have done something either. I opened the 'redir.htm'  in Notepad and it's more than I can decipher, but looks rather suspicious with the javascripting within it.  I would suggest to anyone who may have downloaded the zip file to do a search on your drive(s) for 'redir'. I have no idea if it could be malicious. Opening the 'redir.htm' file would likely open your browser and I have no idea what it would do from there. Do not double click.
I attached a screenshot of where it resides in one of the mp3 folders and I'm going to do a virus/malware check on my PC after I post this. Also a screenshot of the browser history.

[attachment deleted by admin]

Michael Trigoboff

Quote from: MarkI clicked Michael's zip file link and downloaded the file from OneDrive. I extracted the folder that was in the zip file to a temporary folder and proceeded to play one of the midi files. A short while later I was looking for some mp3 music to play and ran across a file called 'redir.htm' in a folder that was nowhere near the temp folder I extracted the zip file to or where I downloaded the zip file. This 'redir.htm' file was created at the same time (7:24pm) I accessed or downloaded the zip file. Not sure if extracting the contents might have done something either. I opened the 'redir.htm'  in Notepad and it's more than I can decipher, but looks rather suspicious with the javascripting within it.

I just checked, and the zip file only contains the two MIDI files. I have no idea where redir.htm might have come from. If you want to post it here, I can look at the JavaScript code and try to figure out what it does.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

MarkF_48

Hi Michael,
I don't think the zip file itself contained the 'redir'htm'. I kinda think it was somehow part of the OneDrive download. I tried to attach the 'redir.htm' file (renamed 'redir.txt') to a post and the board is restrictive as to the types of attachments and the whole post got vaporized. I'll try and send a PM with the context of the file in full. I am attaching to this post a screenshot of the properties/details of the 'redir.htm' which the date and time coincide with the download from OneDrive shown in the browser. I ran two scans on my PC and they came up clean. Perhaps the file that showed up is harmless, but the manner in which it put itself in a folder not associated with the folder the zip file went into is a bit concerning.

[attachment deleted by admin]

Michael Trigoboff

I got your file to open in Safari on an iPad, and this is what I saw:

screenshot

I wasn't brave enough to try it on my PC...
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22

MarkF_48

Thanks for looking at that  Michael. Looks harmless. Wish I could figure out how it got into my MP3 folders   ???

Michael Trigoboff

Did you ever have a Yamaha Motif XF? I did, years ago, so maybe that's something of mine. But I have no idea how that file could have tagged along on a OneDrive share link. It definitely wasn't in the zip file.
retired software developer and Computer Science instructor
Grateful Deadhead emeritus

"He had decided to live forever or die in the attempt."
-- Joseph Heller, Catch-22