jcsteh / osara

OSARA: Open Source Accessibility for the REAPER Application
GNU General Public License v2.0
127 stars 46 forks source link

Add support for move cc events actions #401

Open LeonarddeR opened 3 years ago

LeonarddeR commented 3 years ago

I'd like to add support for the several move cc event actions: one pixel/grid unit left/right. I'm intending to create OSARA actions for them that move cc events or notes based on focus. In fact I already did so, however there is a show stopper.

When I move CC events like this, it looks like while they are moved correctly, the event information isn't updated:

Steps to reproduce

  1. Select a cc event with the osara actions
  2. press ctrl+f2, take note of the position
  3. Move the event left or right with one of the corresponding actions
  4. press ctrl+f2 again, note that the position is still the same.

This is not the behavior I would expect, since with notes, it behaves as expected.

May be this is something you @ScottChesworth could shout out for to Cockos?

LeonarddeR commented 3 years ago

@ScottChesworth friendly ping in case you missed it. If you could point this out to Cockos, that'd be super awesome!

LeonarddeR commented 3 years ago

This is still reproducible with REAPER 6.40

LeonarddeR commented 3 years ago

@jcsteh pointed me at the MIDI_Sort function. Interesting enough, when I execute MIDI_Sort after moving a cc with the cc movement actions, the cc's don't move at all.