Make adjusting MIDI Editor horizontal zoom report pixels per second instead of pixels per tick
ScottChesworth opened this issue · 1 comments
The difference between reporting in MIDI Editor and TCP caused some confusion on RWP, @RDMurray said he'd have a go at getting the MIDI Editor reports to be pixels per second.
I've figured out what's going on. If vue menu -> piano role time base is project beats (default) or source beats, the zoom ratio is stored as pixels/midi tick, Presumably because they are displayed with a constant number of pixels per beat regardless of project tempo changes. In the case where there are tempo changes reporting in pixels per second would not be accurate. See timebase help... in the same menu for details.
I propose reporting in pixels per beat in this case; it's always accurate and as a bonus easier to code.
I know it's mostly visual, but these options do affect the pixel movement commands.
On a related note, I wonder if we should respect timebase: source beats for position reports. It displays time on the ruler based on the start of the midi source.