Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 10-15-2018, 11:53 PM   #1
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default Select between two markers for time selection.

I'm using markers extensively, and am often wanting to select an area between 2 markers, so I can copy items between the two markers.

On Protools, you select the first marker, hold shift and select the next marker so that you now have an area selection exactly lined up to the two markers.

With the Protools method I can select between 2 markers that are not in succession - like selecting between marker 2 and marker 7 by selecting one, holding shift and jump to any other marker in the project.

Anyone know any tricks to do this?

Last edited by ChristopherT; 10-16-2018 at 12:12 AM.
ChristopherT is offline   Reply With Quote
Old 10-16-2018, 01:41 AM   #2
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Quote:
Originally Posted by ChristopherT View Post
I'm using markers extensively, and am often wanting to select an area between 2 markers, so I can copy items between the two markers.

On Protools, you select the first marker, hold shift and select the next marker so that you now have an area selection exactly lined up to the two markers.

With the Protools method I can select between 2 markers that are not in succession - like selecting between marker 2 and marker 7 by selecting one, holding shift and jump to any other marker in the project.

Anyone know any tricks to do this?
That's pretty easy. Just double click between the two markers on the ruler. One of the coolest features in Reaper.

Edit: Just tested if its possible to add up double click selections to achieve your goal. It does not work. But you maybe should make a feature request because it seems pretty logical that double clicking between two marker should be also possible by holding strg or shift for adding up the time selection between other marker too.

Greetings
Eli

Btw. There are scripts from me2beats that allow you to select the nearest marker from play cursor or mouse pointer. Maybe this could be the solution for you.

Last edited by Eliseat; 10-16-2018 at 01:52 AM.
Eliseat is offline   Reply With Quote
Old 10-16-2018, 02:08 AM   #3
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Hi, i'm a bit short on time. I quickly tested some scripts but found nothing that could achieve your goal selecting between maker 2 and 7 in a quick and easy way. There is lokasennas "create time selection at edit cursor", but that's not intuitive in your case because you need to know the length of the time selection. There are also some me2beats scripts for selecting the nearest markers from play cursor or mouse pointer, but that wouldn't make sense, if you need a quick selection between marker 2 and 7.

I'm pretty sure there is a solution. for now I have to work but i will take a look at it later, if no one else has found a solution.

Bye
Eliseat is offline   Reply With Quote
Old 10-16-2018, 04:09 AM   #4
vanhaze
Human being with feelings
 
vanhaze's Avatar
 
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
Default

Not as fluid solution as in Protools,but anyway, maybe you find this abit helpful:

If you would work with Regions instead of Markers, then you could use this Action from me2beats (assign it to a keyshortcut ofcourse, for fast workflow):
Script: me2beats_Select region at cursor (keeping current selection).lua

There are Actions to convert Markers to Regions and Regions to Markers (sws extension needed):

SWS: Convert markers to regions
SWS: Convert regions to markers
__________________
Macbook Pro INTEL | Reaper, always latest version | OSX Ventura | Presonus Studio 24c
My Reaper Tips&Tricks YouTube Channel: https://www.youtube.com/user/vanhaze2000/playlists
vanhaze is offline   Reply With Quote
Old 10-16-2018, 08:59 AM   #5
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 4,031
Default

If it is not possible with Reaper, it is not possible anywhere.
TonE is offline   Reply With Quote
Old 10-16-2018, 01:43 PM   #6
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

OK - It may be best to use Regions and the Convert markers to regions.
I have not been using regions much, so maybe I need to do some homework and get acquainted.

The double click tip is nice to know and will make a difference.
Thanks for the help.

Last edited by ChristopherT; 10-16-2018 at 01:58 PM. Reason: because I can :)
ChristopherT is offline   Reply With Quote
Old 10-16-2018, 01:55 PM   #7
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Put in a Feature Request.
ChristopherT is offline   Reply With Quote
Old 10-16-2018, 01:56 PM   #8
Sju
Human being with feelings
 
Join Date: Jun 2015
Posts: 685
Default

dbclick is definitely possible, I use it all the time. I'll try to remember tomorrow to check if I use a script for that or something.
Sju is offline   Reply With Quote
Old 10-17-2018, 02:13 AM   #9
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

No need for this. I have found the solution for you. Double click between two markers to create a time selection at the right or left to start with and then just shift click at the marker or ruler to finish. It will extend the selection very fast the way you wanted.

Don't forget to use snap enabled! Hope that helped.

Greetings
Eli

BUT in that context it would also make sense to allow double clicking between markers to extend a time selection. Example would be: Double click between marker 1 and 2, then shift double click between 2 and 3 to extend the selection from 1 till 3. This would be a logical workflow. At least for me.
Eliseat is offline   Reply With Quote
Old 10-17-2018, 03:32 AM   #10
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Eliseat - I don't use the grid much with my markers? - why does the grid matter?
ChristopherT is offline   Reply With Quote
Old 10-17-2018, 08:21 AM   #11
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Ah okay, that means you place those markers out of beats? Then my method still works because it requires the markers not on measure. And grid isn't needed too. Only snapping must be enabled because shift clicking at the ruler will then extend the selection to the desired point. The snapping makes sure, that the time selection finds a thing to snap to. If grid is on, it snaps to grid. But it also snaps to items and markers. And that's what you want.



Snap enabled. First double click between 1 and 2. Then shift click on ruler right where the marker is. Marker 3 is not on grit or measure just to show you its not necessary.
Attached Images
File Type: gif Aufnahme_2018_10_17_17_17_41_340.gif (35.3 KB, 1878 views)
Eliseat is offline   Reply With Quote
Old 10-17-2018, 08:30 AM   #12
metal_priest
Human being with feelings
 
metal_priest's Avatar
 
Join Date: May 2011
Location: Padova
Posts: 1,626
Default

no need to dbclick the first portion between the first two markers, with snap enabled simply click on the first marker to set the start of timeselection and then shift-click on the last marker you want to include in the selection.
Not so different from protools
just be sure to click on the marker line not the marker number!
metal_priest is online now   Reply With Quote
Old 10-17-2018, 12:35 PM   #13
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Quote:
Originally Posted by metal_priest View Post
no need to dbclick the first portion between the first two markers, with snap enabled simply click on the first marker to set the start of timeselection and then shift-click on the last marker you want to include in the selection.
Not so different from protools
just be sure to click on the marker line not the marker number!
No, its better to make a double click to start with. Because if you already have a time selection out of sight, you would just extend it with the second shift click. A simple click on the ruler or marker puts the play cursor there. And Reaper tries to create the selection from this as a starting point. But not if a selection exists.

So that's why I described it like in the gif.
Eliseat is offline   Reply With Quote
Old 10-17-2018, 03:08 PM   #14
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

The snap enabled is not going to work on anything that is not strictly on the grid.

Imagine a 1hr project (film,theatre etc) with many markers during the hour,
many timing changes, dialog length that has nothing to do with BPM,
sound design that has nothing to do with a BPM grid.

I use markers for when dialog happens, SFX cues, directors notes, music cues, and important notes. I use various markers all day long, which are almost never on any grid.

I want to be able to select all items between marker 4 and marker 87
Select 4 + hold shift (or action) and select marker 87.

Currently to do this it takes many mouse clicks, and zooming to do this accurately.
PITA

Last edited by ChristopherT; 10-17-2018 at 03:22 PM.
ChristopherT is offline   Reply With Quote
Old 10-17-2018, 04:11 PM   #15
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Try this script:

Code:
_, marker1_str = reaper.GetUserInputs("Enter 1st Marker: ", 1, "Marker 1", "")
_, marker2_str = reaper.GetUserInputs("Enter 2nd Marker: ", 1, "Marker 2", "")

local marker1 = tonumber(marker1_str)
local marker2 = tonumber(marker2_str)

_, _, marker1_pos, _, _, _ = reaper.EnumProjectMarkers2(0, marker1-1)
_, _, marker2_pos, _, _, _ = reaper.EnumProjectMarkers2(0, marker2-1)

local item_count = reaper.CountMediaItems(0)

for i=0, item_count-1 do
    local item = reaper.GetMediaItem(0, i)
    local item_pos = reaper.GetMediaItemInfo_Value(item, "D_POSITION")
    
    if item_pos >= marker1_pos and item_pos < marker2_pos then
        reaper.SetMediaItemInfo_Value(item, 'B_UISEL', 1)
    end
end

reaper.UpdateArrange()


EDIT: I could also add a "deselect all items" before selecting the items in between the markers.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 10-17-2018, 04:21 PM   #16
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

Quote:
Originally Posted by ChristopherT View Post
The snap enabled is not going to work on anything that is not strictly on the grid.
I agree with Eliseat…

Snap doesn't only apply to the grid, it applies to markers, item boundaries etc. as well. I very rarely use a grid but I do use snap all the time with the grid disabled - a quick test shows snap works with markers but I'm not sure that method is a clean as you need. Actually it should be fine, double-click just to the right of the first marker, then shift+click near the last marker and snap will grab it.

__________________
Music is what feelings sound like.

Last edited by karbomusic; 10-17-2018 at 04:30 PM.
karbomusic is offline   Reply With Quote
Old 10-17-2018, 06:16 PM   #17
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Ahh - Snap can apply to markers

This is good news, easy workable method.
Thank you all for helping!
ChristopherT is offline   Reply With Quote
Old 10-17-2018, 06:24 PM   #18
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

And in case you prefer working with the keyboard (looks faster in this case), you can use the script above:

__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 10-17-2018, 11:36 PM   #19
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Karbomusic - how do you set your Snap/Grid settings?

I'm trying to set up snap to marker, but it is not happening
ChristopherT is offline   Reply With Quote
Old 10-17-2018, 11:51 PM   #20
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Stevie, thanks for those options, I'll be really happy working with snap to marker as a really fluid working method
(when I get set up correctly ...)
ChristopherT is offline   Reply With Quote
Old 10-18-2018, 12:06 AM   #21
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Eliseat, I missed your post.
I wonder what your Snap/Grip settings are?

What do you do when you need to work on a BPM grid - do you re change your Snap/Grid settings for different projects?
ChristopherT is offline   Reply With Quote
Old 10-18-2018, 02:52 AM   #22
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

It works perfectly even if you are zoomed out. Here as example:


Zoomed out with lots of markers.


Zoomed in, its snapped to the marker.


Settings. (default)

Greetings
Eli

Edit: changed perfect in perfectly
Attached Images
File Type: gif Aufnahme_2018_10_18_11_47_19_831.gif (15.0 KB, 1747 views)
File Type: png Bild_2018_10_18_11_48_36_10.png (4.0 KB, 1700 views)
File Type: png Bild_2018_10_18_11_42_59_819.png (29.0 KB, 1744 views)

Last edited by Eliseat; 10-18-2018 at 02:58 AM.
Eliseat is offline   Reply With Quote
Old 10-18-2018, 02:57 AM   #23
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

It could be that the snap distance in pixels does not match to your screen. I only use a company laptop with a standard screen size. So maybe you have to experiment with those settings. If you work on film scores etc. i guess you also have a very large monitor. Keep this in mind.

Eliseat is offline   Reply With Quote
Old 10-18-2018, 04:10 PM   #24
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

OK - this is working - sort of...
Cheers

Last edited by ChristopherT; 10-19-2018 at 02:35 AM. Reason: the unsolved select marker quandry...
ChristopherT is offline   Reply With Quote
Old 10-19-2018, 02:32 AM   #25
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

so it is not working so well...
(as posted on FR)

Yes - problem solved sort of....
I'm finding on a large session view the snap to marker is inaccurate unless zoomed out - which defeats the point of the request.

I need to juggle the snap, and therefore adjust snap settings everytime I want to step outside of the grid for markers.

Whereas in Protools - even if I have snap to the bar, I still can shift select a marker (that is just before a bar/grid) without touching my grid settings - which is the ultimate fast work method.

Sometimes I want a musical grid, and I want to have markers not on the grid.
(in fact this is common in my workflow as I want to cue the marker just before the first beat of a chosen bar)

Shift select marker to select a timeline would be a very quick way of working
(like it is in ProTools = it is fast when you are editing around markers all day long and still use the grid in various sections)
No need to touch grid settings, and snap relates to musical and automation events only.
ChristopherT is offline   Reply With Quote
Old 10-19-2018, 05:37 AM   #26
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

Hi ChristopherT,

I don't get it. So is your problem that snapping on markers only works with snapping on? Or do you mean its not accurate when zoomed in? For me this method works without any problems. At any zoom level. The only issue I can see is the fact, that snapping and grid together can lead into wrong selections if the marker is to close on a grid line. To avoid it, you just use the shortcut alt+g to toggle the grid on/off or you create an easier shortcut like "g".

Of course there could be a separate method to make this more independent from snapping. Reaper could recognize clicks/shift-clicks on the marker names or numbers as another way to only use those markers as reference for time selection. Maybe this could be realized with a script? Though I didn't find as many as expected in the action list to even create a custom action.

I can't help you any further here because it seems easy enough in relation of how often I would use this method. I guess you do this a lot more often as other users. So its understandable. Hope you find a better solution or help from a coder/Reaper developer.

Greetings
Eli
Eliseat is offline   Reply With Quote
Old 10-19-2018, 01:41 PM   #27
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

Eliseat - I have the same snap settings as you do (except I also have snap to project sample rate on.

The only way I can get this to work is if I remove the grid lines, and only show the markers.
Otherwise I cannot get accuracy selecting the markers whilst I have a grid showing (on a large stretched out 1hr project).
So I need to keep changing the grid settings.
With no grid showing I cannot see where my bars are, and with the grid showing, snap tries to land on a measure / or the marker.

Maybe I am missing a crucial step somewhere?
ChristopherT is offline   Reply With Quote
Old 10-19-2018, 02:03 PM   #28
ChristopherT
Human being with feelings
 
Join Date: Apr 2017
Location: South
Posts: 587
Default

I'm thinking of changing my work method to using regions and forget selecting my markers for editing/rendering etc.

It might just be the better way to work.
time to watch some Reaperblog vids
ChristopherT is offline   Reply With Quote
Old 10-20-2018, 03:16 AM   #29
Eliseat
Human being with feelings
 
Eliseat's Avatar
 
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
Default

I guess that's the most common way. Regions are easy to handle, quick to select and move and fast to read. I also use them a lot, especially when working with video.

Good luck!
Eliseat 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 01:38 AM.


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