Yes User error ^^
You cant simply use MIDI Items positions safe at project timeline
without snap to measures or quarter beats
and do MIDI edits after Item position offsets. ^^
The problem is, that there seams two different ways of sample position to Midi tick position
from float to integer conversion to be active or whatever at some math stage..
Within project timeline it seams to be that positions are always rounds-up up
and within MIDI editor timeline (project xx) rounds up >0 <= 0,5.down and >0.5 <1 up
It is like it is; if the Item Left Edge and or snap marker offset position within project timeline is within the first half of an tick length (sample position/MIDI Tick) you get an -1 Tick error.
If the offset position is within the second half of an Tick length, you get no error (-1 Tick error)
And see above this could be, (for example) if sample position to tick position float /int math work both different...
At some stage(math) time line position conversion from sample position to tick(ppq) result is integer -1
And within MIDI Editor timeline (timebase to project xxx) the result is int 0
And this is, if the offset position is within the first half tick lenght except 0
In english, it is complicated for me to explain, because it is complcated ^^
but I catch the error 100%.
This is the formula of the spl position offset Range , means when you get the -1 Tick error.
z = int (((60.000.000 : BPM) : ppq) : (1.000.000 : Hz)) : 2
Range = +-1 to +- z
As example at 60 BPM/960 ppq and 44.1 khz project sample rate
One Tick length in spl would be 45,9375 spl. Round-up 46 spl
Half tick length (0.5 tick) would be 22,96875 spl
If I take your above Project example with the MIDI item at 54.1.000 +8 spl time line offset 123 BPM/960 ppq/44100 Hz
1 MIDI Tick = 22,4085
0.5 tick = 11,204 ) int 11
Error range +-1 to 11 spl offset position from MIDI Tick
Means if you now move your Item from +8 to +12 ,13,14 up to +24 spl offset you get no error.
If your Item offset is +-1 to 11 spl from tick you get errors.
I share one licecap with
60 BPM/960 ppq/44.1khz as example (2,5 mb)
As I said it is :
"In English, it is complicated for me to explain, because it is complicated ^^."
Look at the lice, you can easy see what I mean...
Project Timeline smpl to MIDI Tick-Editor timeline. gif
https://i.imgur.com/IZaSRcE.gifv
And it has nothing to do with an special project or whatever.
With the help of the above little formula you can catch this with every project & sample rate/BPM & ppq you want.
For me It is an MIDI Item at project timeline position convention to Tick position
global bug and it is not 100% fixed!!
Please DEVS have one or two eyes on it..
This is not fixed!!!
and because this can also occur via marker snap(spl or whatever) with snap enable,
I find it problematic!!
The project timeline spl position to MIDI tick item Left/marker snap position to integer ppq convention is buggy .
If you want no errors you have to snap MIDI items at grid measures or quarter beats or simply stay with your spl MIDI Item offsets within the green range..
But the size of the green/red range of course refers to project sample-rate hz/bpm/item ppq ^^