Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 02-18-2017, 05:10 AM   #1
Masi
Human being with feelings
 
Join Date: Sep 2015
Posts: 690
Default project start measure: set 1.1.00 to edit cursor

I always leave a few bars empty or let them have some sounds for an intro that I don't want to be counted as proper measures. But unlike the project start time I have to guess (or count - boring!) which would be the proper number for the project start measure.

So I ask for a new button in the project settings next to the field "project start measure" labelled "set 1.1.00 to edit cursor".

Masi
Masi is offline   Reply With Quote
Old 03-17-2017, 09:59 AM   #2
paat
Human being with feelings
 
Join Date: Oct 2016
Posts: 225
Default

I would really like this too! (or some way to do it via scripting would be just fine)
paat is offline   Reply With Quote
Old 03-17-2017, 10:09 AM   #3
Coachz
Human being with feelings
 
Coachz's Avatar
 
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
Default

In my project settings, I set the project start measure to -1 to get 2 measures before 1.1.00
Coachz is offline   Reply With Quote
Old 03-17-2017, 10:59 AM   #4
paat
Human being with feelings
 
Join Date: Oct 2016
Posts: 225
Default

Yeah, but I'd like to be able to set it quickly, on the fly. And I don't want to have to do the math to figure it all out
paat is offline   Reply With Quote
Old 03-17-2017, 11:05 AM   #5
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

I just had a look at the script API... we can GET the project start offset but it doesn't look like we can set it. At least, not directly.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 03-17-2017, 11:32 AM   #6
paat
Human being with feelings
 
Join Date: Oct 2016
Posts: 225
Default

Quote:
Originally Posted by Lokasenna View Post
I just had a look at the script API... we can GET the project start offset but it doesn't look like we can set it. At least, not directly.
Can you show me where you found that? I'm reading through the API documentation for the first time right now... I'm not familiar with it though.

Maybe an intermediate step is to show a popup dialog displaying what the project start measure should be, if I want to make the edit cursor 1.1.1. I still have to set it manually, but at least the script will do the calculation and I just have to type in the result.
paat is offline   Reply With Quote
Old 03-19-2017, 11:21 AM   #7
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

Huge +1. Would love to see this as well. Right now, it's one of the biggest hang-ups scoring for film.

Normal setup for a film cue is set the project start time to the hour, import video reel (which usually starts on the hour), then adjust measure one start in the preferences, which gets very tedious, especially since there is no current way to work in timecode and bars/beats at the same time (a pretty giant flaw in Reaper). So, just to do that, one has to switch from bars/beats to timecode, otherwise the measure 1 start in the preferences will be in elapsed time instead of the actual timecode position.

As OP stated, being able to set the edit cursor and make it measure 1 would go a long way towards solving a process that should be easy but at the moment is awkward and much more time consuming than it should be.
Klangfarben is offline   Reply With Quote
Old 03-19-2017, 12:04 PM   #8
paat
Human being with feelings
 
Join Date: Oct 2016
Posts: 225
Default

Well I figured out enough scripting to display what the offset should be... it seems to work fine when there's already a start time or start measure offset. I haven't tried it with tempo changes.

Code:
position = reaper.GetCursorPosition()
project, filename = reaper.EnumProjects(-1, '')
beat, bars = reaper.TimeMap2_timeToBeats(project, position)
reaper.ShowMessageBox(1 - bars, "Set project start measure to...", 0)
paat is offline   Reply With Quote
Old 03-19-2017, 12:28 PM   #9
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Quote:
Originally Posted by paat View Post
Can you show me where you found that? I'm reading through the API documentation for the first time right now... I'm not familiar with it though.
Code:
 reaper.GetProjectTimeOffset( proj, rndframe )

Gets project time offset in seconds (project settings - project start time). 
If rndframe is true, the offset is rounded to a multiple of the project frame 
size.
If you aren't already, I highly recommend using X-Raym's version of the API documentation - it has a search box, among other things: https://www.extremraym.com/cloud/reascript-doc/
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 04-11-2017, 10:42 PM   #10
mucknog
Human being with feelings
 
mucknog's Avatar
 
Join Date: Jun 2011
Posts: 195
Default

This would be great. I was just wondering why you can set time but not measure.
__________________
www.recordmixplay.de
mucknog is offline   Reply With Quote
Old 04-12-2017, 02:39 AM   #11
bFooz
Human being with feelings
 
Join Date: Jul 2010
Location: Slovakia
Posts: 2,588
Default

+1 for this, in API or native.
bFooz is offline   Reply With Quote
Old 05-03-2017, 04:31 PM   #12
tusitala
Human being with feelings
 
tusitala's Avatar
 
Join Date: Apr 2010
Location: London (UK)
Posts: 412
Default

this would be awesome !
tusitala is offline   Reply With Quote
Old 11-08-2017, 01:12 PM   #13
zappazapper
Human being with feelings
 
zappazapper's Avatar
 
Join Date: Feb 2015
Posts: 256
Default

is there any movement on this?
zappazapper is offline   Reply With Quote
Old 04-20-2018, 01:24 PM   #14
jmgweb01
Human being with feelings
 
Join Date: Apr 2013
Location: Kitsap County, Washington
Posts: 51
Default Add bars before project start, and reset the clock

This is pretty easy. I've setup my project and mix templates this way, so I only had to do it once.

To add an empty bar before the start of a Reaper Project:
1. Select the first bar (1.1 – 2.1)
a. Right-click in the timeline, and choose “Insert Empty Space in Selection”
b. Press Escape to clear the selection
2. Move the edit cursor to 2.1
a. Go to <File> <Project Settings>
b. Change “Project Start Measure” to 0
c. Click “Set 0.00 to edit cursor”
d. Click OK
3. You should now have a blank bar before the project starts at 1.1/0.00 clock time
jmgweb01 is offline   Reply With Quote
Old 05-18-2019, 07:53 PM   #15
tunevault
Human being with feelings
 
Join Date: Sep 2008
Location: Ottawa, Canada
Posts: 35
Default +1 for this

Should be a button like the "Set 0.00 to cursor" called "Set bar 1 to cursor"
tunevault is offline   Reply With Quote
Old 01-01-2021, 02:22 PM   #16
Lovro
Human being with feelings
 
Join Date: Nov 2020
Posts: 13
Default Set 1st bar anywhere in the project

I was looking for a solution to this... it is still not resolved?
Lovro 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:56 AM.


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