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

Reply
 
Thread Tools Display Modes
Old 04-25-2017, 10:52 AM   #1
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default Insert empty space moves tempo markers of the grid (missing feature)

Tempo markers should stay on the grid otherwise working with insert space and tempo map is not possible

4/4 beats whole measure.
square tempos
Timebase items => Beats (pos only)
Timebase tempo => Beats (happens with all time/ beats combinations)
Snap 1/2 (so no accidental snap error)

https://drive.google.com/file/d/0ByE...ew?usp=sharing

Snap settings https://drive.google.com/file/d/0ByE...ew?usp=sharing
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia

Last edited by Robert Johnson III; 07-01-2017 at 12:27 PM. Reason: Snap settings Tempo info
Robert Johnson III is offline   Reply With Quote
Old 05-18-2017, 04:22 PM   #2
lalo
Human being with feelings
 
Join Date: Jun 2006
Posts: 187
Default

confirmed. i have the same problem
lalo is offline   Reply With Quote
Old 05-18-2017, 04:31 PM   #3
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by lalo View Post
confirmed. i have the same problem
Thanks for confirming Alfonso!
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 05-18-2017, 04:41 PM   #4
lalo
Human being with feelings
 
Join Date: Jun 2006
Posts: 187
Default

yeah! hope we'll get it sorted soon! i'm right in the middle of a project! best
lalo is offline   Reply With Quote
Old 06-29-2017, 09:49 PM   #5
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

This is a super big problem for us film composers as we need to be able to cut or insert time when we get new picture that we need music to sync to.
srdmusic is offline   Reply With Quote
Old 06-30-2017, 03:49 AM   #6
lalo
Human being with feelings
 
Join Date: Jun 2006
Posts: 187
Default

Quote:
Originally Posted by srdmusic View Post
This is a super big problem for us film composers as we need to be able to cut or insert time when we get new picture that we need music to sync to.
Sure! Hope that will be fixed.
I didn't checked recently. I'll do it tomorrow or sunday.
a.
lalo is offline   Reply With Quote
Old 06-30-2017, 10:23 AM   #7
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

There shouldn't even be the possibility of tempo markers being moved off the grid unless you explicitly choose that. If snap is on, stuff needs to stay on the grid. Always. Anything else is a disaster.
Klangfarben is offline   Reply With Quote
Old 06-30-2017, 02:04 PM   #8
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

REAPER's tempo features are completely broken.

However, I am not sure that the example in this thread is in fact a bug. Instead, it demonstrates an unavoidable incompatibility between beats and time.

"Time selection: Insert empty space at time selection (moving later items)" inserts a certain length of *time*, not beats. Everything, including tempo changes, will be shifted to the right the same amount of time, not beats.

If your time selection happens to be snapped to beats (as in your screenshots) it may seem as if REAPER will insert a certain number of beats, but this is misleading. REAPER will insert empty space that is equal to *time* duration of the time selection.

If the time selection is not an exact multiple of beats (calculated in the tempo preceding the insert point), the tempo changes will necessarily shift away from the beat.

Perhaps there should be a feature request for a new *beat-based* Action that inserts empty space, calculated as a number of beats?

(EDIT: Alternatively, if you are using square tempo shapes, it should be straightforward to code a script that sets the time selection equal to a user-specified number of beats, in the tempo preceding the time selection.)

Last edited by juliansader; 06-30-2017 at 02:44 PM.
juliansader is offline   Reply With Quote
Old 06-30-2017, 02:38 PM   #9
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

I also agree with above. The actions are obviously inserting/removing TIME, not BEATS, and that's where the disconnect happens.


So yeah, new actions are in order for this, methinks. However, for scripting an action to REMOVE a certain amount of beats, I see that as a potentially really big can of worms. What if time selection spans many different tempo changes and timesig changes, and especially if beats change from quarters to eighths etc (like going from 4/4 to 5/8, for example)? Seems like an awful lot of stuff to handle...

Last edited by EvilDragon; 06-30-2017 at 02:46 PM.
EvilDragon is offline   Reply With Quote
Old 06-30-2017, 03:11 PM   #10
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Quote:
Originally Posted by juliansader View Post
REAPER's tempo features are completely broken.

However, I am not sure that the example in this thread is in fact a bug. Instead, it demonstrates an unavoidable incompatibility between beats and time.
I'm confused here because literally every other DAW I've used I can work in timecode and beats simultaneously and these type of issues never come up. The correct calculations are made automatically. Why should time be so incompatible with beats? They are both obviously intertwined. Go down the line - Cubase, Pro Tools, Logic, Digital Performer, etc. all of them do this correctly whether it's time or beats we are talking about. From what you are saying, and please correct me if I'm making a bad assumption here, that Reaper's timebase has been fundamentally flawed since day one and would need a major rework in order to function correctly.
Klangfarben is offline   Reply With Quote
Old 06-30-2017, 03:16 PM   #11
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

I think timebases as such are fine, but some actions are not taking all cases into account, and stuff happens.
EvilDragon is offline   Reply With Quote
Old 06-30-2017, 03:21 PM   #12
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Thanks for your insight juliansader!

But even then… I understand the incompatibility, but if REAPER does not insert bars but time, should the markers not always stay on the grid? It is impossible to use this function with a tempo map (native) It will trip up a lot of users, and indeed no other DAW functions this way…
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 06-30-2017, 03:23 PM   #13
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by Klangfarben View Post
Go down the line - Cubase, Pro Tools, Logic, Digital Performer, etc. all of them do this correctly whether it's time or beats we are talking about.
REAPER is actually doing it correctly, and I am pretty sure all other DAWs will do the same: If you tell the DAW "Insert a certain duration of TIME here", they will do exactly that. And if that time duration is not equal to an exact multiple of beats, then all later events will lose their beat positions.
juliansader is offline   Reply With Quote
Old 06-30-2017, 03:25 PM   #14
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Quote:
Originally Posted by juliansader View Post
REAPER is actually doing it correctly, and I am pretty sure all other DAWs will do the same: If you tell the DAW "Insert a certain duration of TIME here", they will do exactly that. And if that time duration is not equal to an exact multiple of beats, then all later events will lose their beat positions.
So how do you tell REAPER to insert beats?
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 06-30-2017, 03:44 PM   #15
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

Currently, no way, until Julian (or someone) writes a script, I suppose.
EvilDragon is offline   Reply With Quote
Old 06-30-2017, 03:53 PM   #16
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Dear lord have mercy…
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 06-30-2017, 05:25 PM   #17
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

I whipped up a quick script and uploaded it to ReaPack: "js_Time selection - Insert empty beats at time selection (moving later items).lua".

(Warning: The script is not fully compatible with linear tempo changes. The tempo change that precedes the time selection should be square, as should the tempo map's default point shape.)

For users that don't use MIDI, an "insert time" action is usually more suitable than "insert beats", but it is good to have both options.
juliansader is offline   Reply With Quote
Old 06-30-2017, 05:28 PM   #18
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Thanks so much, Julian. Is there an equivalent delete beats option as well?
Klangfarben is offline   Reply With Quote
Old 06-30-2017, 05:43 PM   #19
Bri1
Banned
 
Join Date: Dec 2016
Location: England
Posts: 2,432
Default

Quote:
So how do you tell REAPER to insert beats?
Looky here?>
https://youtu.be/gmG_N920D1w
Bri1 is offline   Reply With Quote
Old 06-30-2017, 05:43 PM   #20
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by Klangfarben View Post
Thanks so much, Julian. Is there an equivalent delete beats option as well?
In my experience, the existing action "Time selection: Remove contents of time selection (moving later items)", works fine even with MIDI beats and timesig/tempo markers.

Last edited by juliansader; 06-30-2017 at 06:09 PM.
juliansader is offline   Reply With Quote
Old 07-01-2017, 03:02 AM   #21
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Working!! Thanks so much, Julian. Delete beats works with the native function

But... "This is a super big problem for us film composers as we need to be able to cut or insert time when we get new picture that we need music to sync to"

Sometimes you need to insert time, not beats and the markers should stay on the grid?
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia

Last edited by Robert Johnson III; 07-01-2017 at 03:13 AM. Reason: Question
Robert Johnson III is offline   Reply With Quote
Old 07-01-2017, 03:58 AM   #22
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by Robert Johnson III View Post
Sometimes you need to insert time, not beats and the markers should stay on the grid?
Could you elaborate a bit, or give an example of exactly what you need to do?
juliansader is offline   Reply With Quote
Old 07-01-2017, 04:16 AM   #23
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

“This is a super big problem for…” Was a quote from srdmusic…

Beats are working for me.

Movie works with time not beats, if a scene has changes and gets longer you need to insert time to keep stuff in sync, but the markers always should stay on the grid.
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 07-01-2017, 04:52 AM   #24
Nip
Human being with feelings
 
Join Date: Jun 2010
Location: Sweden
Posts: 1,541
Default

Quote:
Originally Posted by juliansader View Post
REAPER is actually doing it correctly, and I am pretty sure all other DAWs will do the same: If you tell the DAW "Insert a certain duration of TIME here", they will do exactly that. And if that time duration is not equal to an exact multiple of beats, then all later events will lose their beat positions.
I agree that Reaper do it right.
I felt I could insert space and move a region - which made me a same size hole if I wanted.

Just select region, insert space as selection and then move region. And tempo map move with it.

But an option to maybe exclude tempo map or something could help those wanting other functionality.

Or I don't fully grasp what the issue is....
__________________
-- Windows 11 Pro, i7-12700F 2.1GHz 32G, RME Digiface USB Audient ASP800 Lexicon MX200, Reaper 4.78 --
Nip is offline   Reply With Quote
Old 07-01-2017, 04:56 AM   #25
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Beware moving Regions is buggy...

http://forum.cockos.com/showthread.php?t=191209
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia
Robert Johnson III is offline   Reply With Quote
Old 07-01-2017, 08:31 AM   #26
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,790
Default

You need to make sure that all tempo/timesig changes allow partial measures, perhaps that'll help.
EvilDragon is offline   Reply With Quote
Old 07-01-2017, 08:59 AM   #27
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Partial measures are even more buggy and cause problems if you're trying to record live players. We found this out the hard way last week where we exported midi from the session which looked like it was on the grid but was in fact not. When importing the midi into Sibelius for the live players it was all over the place.

When trying to record the player directly into Reaper the Clicks cut cut off half way through the bar before the start of a new meter change. That's really hard for a player to follow clicks when they are out of sync with the grid.
srdmusic is offline   Reply With Quote
Old 07-01-2017, 09:12 AM   #28
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Quote:
Originally Posted by juliansader View Post
In my experience, the existing action "Time selection: Remove contents of time selection (moving later items)", works fine even with MIDI beats and timesig/tempo markers.
Not in my experience. If you delete bars with odd time signatures like 7/8 it moves later bars to incorrect positions.

Here's a picture example of the problem:
https://www.dropbox.com/s/0d5c90grmx...E%20E.PNG?dl=0

Once the user deletes the time selection the later tempo markers move off the grid.
https://www.dropbox.com/s/y16llr8rfs...E%20D.PNG?dl=0

In my example it would be nice if reaper corrected the tempo markers like how most other DAWs do.

In my example Reaper correctly change the 4/4 bar to 2/4 but then moved the 150 tempo change to beat 4 of bar 5. What it should have done is converted the 7/8 bar to 4/8 and left the 150 at bar 5.

I hope that makes sense.

Julian, if you wrote a script that cut bars instead of time would this fix the problem?

Thank you very very much for working out the insert bars script.
srdmusic is offline   Reply With Quote
Old 07-01-2017, 10:25 AM   #29
Bri1
Banned
 
Join Date: Dec 2016
Location: England
Posts: 2,432
Default

Quote:
Thank you very very much for working out the insert bars script.
Does the nudge/set features not work for you then?
Reason {for eg} has close to 0 automatic tempo/insert functions-(but then that is not `most daws) -ireckon people create a lot of problems for themselves tbh.
Bri1 is offline   Reply With Quote
Old 07-01-2017, 12:25 PM   #30
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

appropriate actions (or scripts) would be - "remove measures within time selection"

It's not really a bug, it's a missing feature.

A script could do it, might not be too hard to do. If I'm up at 1 am, I might give it a shot tonight
James HE is offline   Reply With Quote
Old 07-01-2017, 12:43 PM   #31
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Quote:
Originally Posted by Bri1 View Post
Does the nudge/set features not work for you then?
Reason {for eg} has close to 0 automatic tempo/insert functions-(but then that is not `most daws) -ireckon people create a lot of problems for themselves tbh.
Not sure what you mean by the nudge/ set features. If there is a way of inserting or deleting bars with the nudge tools I'm all ear.
srdmusic is offline   Reply With Quote
Old 07-01-2017, 12:44 PM   #32
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Quote:
Originally Posted by James HE View Post
appropriate actions (or scripts) would be - "remove measures within time selection"

It's not really a bug, it's a missing feature.

A script could do it, might not be too hard to do. If I'm up at 1 am, I might give it a shot tonight
JAMES! YOU DA MAN!!!!

That would be amazing. It looks like julian did a similar script for inserting bars. Perhaps it's easy enough to modify his script. Don't want you to have to reinvent the wheel if you don't have to.
srdmusic is offline   Reply With Quote
Old 07-01-2017, 12:46 PM   #33
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Really love the support of the community here on the Reaper forum. I really haven't found this level of pure genius on any other DAW's forum.
srdmusic is offline   Reply With Quote
Old 07-01-2017, 01:07 PM   #34
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Quote:
Originally Posted by srdmusic View Post
Not in my experience. If you delete bars with odd time signatures like 7/8 it moves later bars to incorrect positions.
I'm seeing the same behavior. Julian, any chance you would be able to do a delete beats script as well? You would be an absolute hero.

Also have to add what an invaluable help everyone is here on the forum. There's multiple times I've posted an issue and someone literally posts a script or code fixing the issue. I haven't seen anything like it anywhere else.
Klangfarben is offline   Reply With Quote
Old 07-01-2017, 01:32 PM   #35
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by srdmusic View Post
Not in my experience. If you delete bars with odd time signatures like 7/8 it moves later bars to incorrect positions.

In my example it would be nice if reaper corrected the tempo markers like how most other DAWs do.

In my example Reaper correctly change the 4/4 bar to 2/4 but then moved the 150 tempo change to beat 4 of bar 5. What it should have done is converted the 7/8 bar to 4/8 and left the 150 at bar 5.
Removing fragments of measures can indeed cause hassles. (At least there should not be any of the beats vs time issues.)

A potential problem for a script is that one solution may not fit all situations. In your own example, for instance, it may sometimes be preferable to combine the two remaining short measures (2/4 and 4/8) into a single 4/4 measure. (Ideally, a DAW should perhaps recognize such situations and offer the user a choice.)

To prevent shifting of the measures, you can try to add a "protective" time signature marker at the measure immediately after the time selection (with "Allow partial measure" checked), before running the "Remove contents" action. This should result in one 2/4 measure, one partial 7/8 measure, and then full 7/8 measures at their original positions.

In case of a script, what should the ideal behavior be? Should the script do anything beyond what the protective time signature marker does?

Last edited by juliansader; 07-01-2017 at 02:54 PM.
juliansader is offline   Reply With Quote
Old 07-01-2017, 04:13 PM   #36
srdmusic
Human being with feelings
 
Join Date: Dec 2016
Posts: 876
Default

Quote:
Originally Posted by juliansader View Post
I whipped up a quick script and uploaded it to ReaPack: "js_Time selection - Insert empty beats at time selection (moving later items).lua"..
Thank you for working on this. Your script works brilliantly when the user is dealing with stander quarter note meters like 4/4 or 3/4.

It produces something unexpected when working with meters eight note meters like 5/8 or 7/8.

Here's an example:

1) Time selections is set to 2 bars of 7/8.
2) process the 'js_time selection - insert empty beats at times selection' action
3) Reaper inserts 1 bar of 4/4 and 1 bar of 3/4 instead of 2 bars of 7/8

Picture reference:

https://www.dropbox.com/sh/wpi49rwp7...VkBzmpyFa?dl=0

Can the script be modified to insert beats when the meter count is 8th notes, 16th, 32nd ect ect?
srdmusic is offline   Reply With Quote
Old 07-01-2017, 04:35 PM   #37
James HE
Human being with feelings
 
James HE's Avatar
 
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,467
Default

Quote:
Originally Posted by juliansader View Post

In case of a script, what should the ideal behavior be?
ideal behavior is the hard part. If I'm writing this i think...

first check if the time selection starts and ends at a measure start / end. alert the user if it doesn't, ask to proceed and extend time selection to nearest measures, proceed with no changes, or just cancel the script.

if the user proceeds with no changes, the script could possibly just create a new measure with the left over bit(s)

I personally have not dealt with the API regarding time / tempo markers - I'm assuming enough is there to do this. But yeah I think the thing to do is to break it up into individual time selections - from one marker to the other, and remove those bits one at a time.
James HE is offline   Reply With Quote
Old 07-01-2017, 06:53 PM   #38
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by srdmusic View Post
1) Time selections is set to 2 bars of 7/8.
2) process the 'js_time selection - insert empty beats at times selection' action
3) Reaper inserts 1 bar of 4/4 and 1 bar of 3/4 instead of 2 bars of 7/8
This is indeed the intended behavior. The script inserts the selected number of beats in the tempo/timesig that *precedes* the time selection. (2 bars of 7/8 are 7 beats, so the script inserts 4/4 + 3/4.) If there are no bpm tempo changes in the time selection, there should be no difference between the "Insert beats" and "Insert space" actions.

The time selection is simply a facile way to specify the number of beats, so that the script has a similar look and feel as the native action.

Although, come to think of it, it may be better to use a dialog box in which the user can specify the number of beats as well as the time signature and the bpm.


EDIT: I should warn anyone using this script that it is in no way intended as a workaround to any of REAPER's tempo/timesig bugs. You are virtually guaranteed to run into some of the weird monsters that make tempo editing in REAPER such an exciting adventure.

Last edited by juliansader; 07-02-2017 at 04:28 AM.
juliansader is offline   Reply With Quote
Old 07-02-2017, 02:34 AM   #39
Bri1
Banned
 
Join Date: Dec 2016
Location: England
Posts: 2,432
Default

Quote:
Not sure what you mean by the nudge/ set features. If there is a way of inserting or deleting bars with the nudge tools I'm all ear.
I don't think you can add or subtract any beats or bars in any programme.
In reaper you can warp the grid-otherwise your breaking the timeline,which seems daft to me.

"This is a super big problem for us film composers" -< if your a film composer then you should be able to manage these issues you created with a 'workflow'?
Bri1 is offline   Reply With Quote
Old 07-02-2017, 03:41 AM   #40
Robert Johnson III
Human being with feelings
 
Robert Johnson III's Avatar
 
Join Date: Dec 2014
Location: The Dutch Mountains
Posts: 389
Default

Maybe there is a misunderstanding with semantics, but in just about every DAW you can insert and subtract bars…. Via Julian’s script you can in REAPER, it was just a missing function. A function that by and large should have been native a long time ago.
__________________
Hackintosh - OSX 10.13.5 - Apollo Twin

https://soundcloud.com/mytopia

Last edited by Robert Johnson III; 07-02-2017 at 03:49 AM.
Robert Johnson III 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:13 AM.


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