Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 10-09-2017, 11:05 AM   #1
swampsong
Human being with feelings
 
Join Date: Dec 2011
Posts: 123
Default MIDI notes not starting at grid (SOLVED)

Can someone please help me sort out this ANNOYING SH@*

Midi notes not starting at grid. When I draw a note, 0.001 seconds of a gap is left between the note and the grid.

Completely unable to drag note to grid. No matter what I do, its stuck offset from the grid.

Is this a bug

Ultimate frustration

https://youtu.be/Qr9d_cyDW8E

Last edited by swampsong; 03-10-2021 at 07:01 PM.
swampsong is offline   Reply With Quote
Old 10-09-2017, 01:38 PM   #2
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

I think that you have run into the quantize-to-tick phenomenon, which some users find quite surprising:

REAPER uses the standard specifications for MIDI files (with only a few exceptions) to represent the data in each individual MIDI item. According to these specifications, MIDI events can only fall on discrete tick positions, counted from the start of the item. By default, REAPER uses a PPQ of 960 ticks per quarter note.

So if your item does not start on a grid position, the ticks *inside* the item may not correspond to the project's grid. It is safest to always ensure that all MIDI items start on a grid position.

More info in Comprehensive ELP MIDI rounding problem thread (FIXED) and Error MIDI editor in Reaper (FIXED).

Also, beware of stretched MIDI items, as the stretching may de-sync the MIDI item's internal ticks/grid vs the project grid: Cut/Paste in ME, can someone explain this?

Last edited by juliansader; 10-09-2017 at 01:44 PM.
juliansader is offline   Reply With Quote
Old 10-10-2017, 07:10 PM   #3
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,482
Default

Preferences/Media/MIDI: Ticks per quarter note


Try with higher value ("15360" for example).
Dstruct is offline   Reply With Quote
Old 10-15-2017, 03:24 PM   #4
swampsong
Human being with feelings
 
Join Date: Dec 2011
Posts: 123
Default Thanks

Thanks guys...zzz..
swampsong is offline   Reply With Quote
Old 10-15-2017, 03:50 PM   #5
Dstruct
Human being with feelings
 
Join Date: Jul 2006
Posts: 12,482
Default

Snap settings ...
Dstruct is offline   Reply With Quote
Old 05-14-2018, 03:43 AM   #6
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

The best way to avoid these issues is to make sure that every MIDI item's *source* starts on the grid (even a very fine grid like 1/128).

Even if you increase the PPQ, the notes will remain ever so slightly off-grid unless you happen to select a PPQ that aligns precisely with the item's own off-grid start position.

NB: To complicate matters, there may a difference between
1) the start position of the MIDI source, and
2) the start position of the MIDI item in the arrange view, which is the visible part of the MIDI source.

When you drag a MIDI item's border, you change the visible part, but not necessarily the source position.

To correct an existing MIDI item and its source simultaneously, you can split the item at the nearest grid, after unlooping/unpooling the item and enabling Preferences -> "Allow trim of MIDI items when splitting").

Last edited by juliansader; 05-14-2018 at 04:22 AM.
juliansader is offline   Reply With Quote
Old 03-10-2021, 07:02 PM   #7
swampsong
Human being with feelings
 
Join Date: Dec 2011
Posts: 123
Default Solution

Solution is to never stretch midi items
swampsong is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.