rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
495 stars 86 forks source link

Time signature change breaks MIDI snapping #394

Open davidhealey opened 1 year ago

davidhealey commented 1 year ago

I have a session with 2 time signatures, it starts 4/4 and then later on it's 6/8. I also tried it the other way around.

In both cases for MIDI clips after the second time signature the snapping no longer works.

Here's the 4/4 4-4

And the 6/8 6-8

A little test project blah.zip

I'm using 0.9.33 App Image on Debian testing with PipeWire. I set Transport > Mode to none (otherwise the time signature resets to 4/4 when I reload the project).

rncbc commented 1 year ago

confirmed; seems to be giving wrong snap beat sizes and only on the MIDI clip editor (piano-roll); the main tracks view seems to be working fine.

also, it seems to be wrong only on the initial onset edits; changing notes from the left-edge seems to snap correctly.

will try a fix soon. thanks

[...] testing with PipeWire. I set Transport > Mode to none (otherwise the time signature resets to 4/4 when I reload the project).

yes, you're done right; PipeWire's JACK-transport/timebase implementation is to blame here: it has been and still is utterly unreliable and unpredictable sometimes.

rncbc commented 1 year ago

maybe fixed in qtractor >= 0.9.33.34git.9bc3ff