Cockos Incorporated Forums

Cockos Incorporated Forums (
-   REAPER Bug Reports (
-   -   Small effect in Glue (FIXED) (

azslow3 03-29-2018 11:53 AM

Small effect in Glue (FIXED)
The discussion and example:

Starting from "scratch" I have managed to get this:

So items can be shifted during glue.

Justin 03-29-2018 01:09 PM

Thanks for posting this!

The reason for this is that when slip editing the first item, the item ends up at a position which is not an even sample position (at 165bpm and 48khz 2.1.00 is 69818.2 samples in), so the glue uses that as a start position, and since some of the other slices are also at fractional sample positions, some of them end up differing by a single sample from the unglued version.

You could fix this by moving things to even sample offsets. If you set the option in project settings "force tempo/time signature changes to occur on whole samples", that will make grid lines automatically aligned to sample boundaries, so when you edit an edge that snaps to grid, it will force it to be at an even sample boundary. If you're worried about everything being sample-accurate, and your tempo is not a multiple of samples, this is a good idea!

We should probably make glueing round the start time to the nearest sample so that it matches playback, too (I'll look at doing this now).

azslow3 03-29-2018 03:20 PM

Thank you for fast and detailed explanation!
I have edited the subject.

All times are GMT -7. The time now is 05:33 PM.

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