#1100 Incorrect "song position pointer" when tempo is unusual.

One Of These Days
closed
midi (93)
2
2015-11-06
2007-11-18
No

When using an unusual tempo (like 119.999), when "Send MIDI Clock, Start and Stop" is enabled, and when starting from somewhere other than the first measure, Rosegarden will send incorrect values when it sends the MIDI "song position pointer." It seems to always send one less than the correct value under these conditions.

The aseqdump output looks like this when starting from the second measure at 120 bpm:

Source_ Event___ Ch _Data
129:1 Stop
129:1 Song position pointer 16
129:1 Continue
129:1 Clock
129:1 Clock
129:1 Clock

If I then change the default tempo to 119.999, and again start from the second measure, it looks like this:

Source_ Event___ Ch _Data
129:1 Stop
129:1 Song position pointer 15
129:1 Continue
129:1 Clock
129:1 Clock
129:1 Clock

This occurs when using the ">>" and "<<" buttons to move the playback position in Rosegarden, which I assume will always perfectly align it to the beginning of a measure.

Discussion

  • D. Michael McIntyre

    Logged In: YES
    user_id=663564
    Originator: NO

    This report (also) seems thoughtful enough that I've gone ahead and accepted it and bumped the priority without trying to verify any of the claims. (Mainly because I'd have to do a lot of homework to even understand what this is all about. It's out of my area of experience, I'm afraid.)

     
  • D. Michael McIntyre

    • milestone: --> One Of These Days
     
  • Ted Felix

    Ted Felix - 2015-11-03

    I've got a fix for this that I'll push shortly.

    It's pretty hard to find something that supports SPP. It appears that the limited sequencers in modern (Yamaha) keyboards don't support it. Hydrogen has a "midi-sync" branch that is supposed to support it, but it is very old. qtractor supports SPP, so I'm using it for testing.

     
  • Ted Felix

    Ted Felix - 2015-11-03
    • assigned_to: Ted Felix
     
  • Ted Felix

    Ted Felix - 2015-11-06

    Fixed in [r14269].

     

    Related

    Commit: [r14269]

  • Ted Felix

    Ted Felix - 2015-11-06
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks