|
|
|
11-26-2018, 11:10 AM
|
#1
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
Splitting Tool like in Cubase
Hi,
I wonder if anyone has ever recreated the Cubase slitting tool. I've made an custom action that :
View : Move edit cursor to mouse cursor (no snapping)
Item : : Split item under mouse cursor
I then assigned it to Alt key modifier.
What's missing and king of important to me is a vertical line that covers multiple tracks and would visually tell me where I'm making the cuts and if it's snapping or not. I could not figure out how to do that. Also, it does not work when I select multiple items. We'd need to have the cursor follow the mouse in some way. Also, assigning icons to smart tools would be nice.
Any ideas?
|
|
|
11-26-2018, 03:31 PM
|
#2
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Yep there is: SWS/gofer: Split selected items at mouse cursor (obey snapping)
and Item: Split items at play cursor.
They both work great, depending on what you want to achieve.
You can also add a "Action: Toggle arm of next action" to make it work like a split tool. Execute the action again, and the tool is gone.
|
|
|
11-26-2018, 04:16 PM
|
#3
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
The SWS/gofer: Split selected items at mouse cursor (obey snapping) works great thanks. I don't really know what "Toggle arm of next action" does. Could you explain?
Thanks
|
|
|
11-26-2018, 04:26 PM
|
#4
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Yep sure!
This works like a tool selection in Cubase. You can for example assign that shortcut to the "3" key (scissors). When you press it, you can use the "cut tool" as many times as you want. When you are done, you press "3" again and the tool will be un-armed.
|
|
|
11-26-2018, 04:36 PM
|
#5
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
Ok got it. But I'm using the split tool with a modifier. The one that obeys snaps is good.
I'm still missing a visual representation though. I guess I'll get used to it. I never really liked the so many tools Cubase has. It's a wast of clicks and menus. I'd rather use modifiers and keystrokes.
I stilled like the way Cubase handled the split tool using the alt key as a modifier while giving us a vertical line to see where the cut is going for.
We'd have to find a way for the edit cursor to follow the mouse while holding the modifier but also snap to grid if snap is enabled. I guess I'm probably asking for too much. I'll try to find alternatives.
|
|
|
11-26-2018, 04:39 PM
|
#6
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
I'll definitely use the toggle on somthing else though!
|
|
|
11-26-2018, 06:10 PM
|
#7
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
Quote:
Originally Posted by fbeauvaisc
Ok got it. But I'm using the split tool with a modifier. The one that obeys snaps is good.
I'm still missing a visual representation though. I guess I'll get used to it. I never really liked the so many tools Cubase has. It's a wast of clicks and menus. I'd rather use modifiers and keystrokes.
|
Yes, I agree, a visual representation would be very useful!
I didn't really miss it to date, though.
I also learned to dislik the "3D shooter approach" for all the tools (weapons are usually on keys 1-9). Modifier keys are indeed way faster!
Quote:
I stilled like the way Cubase handled the split tool using the alt key as a modifier while giving us a vertical line to see where the cut is going for.
We'd have to find a way for the edit cursor to follow the mouse while holding the modifier but also snap to grid if snap is enabled. I guess I'm probably asking for too much. I'll try to find alternatives.
|
Hm, not sure how close we can get, but there is "View: Move edit cursor to mouse cursor". Maybe you can come up with a custom action that gets close enough.
|
|
|
11-26-2018, 10:22 PM
|
#8
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
you might try to make a custom action that uses the mentioned move edit cursor to mouse cursor followed by the mpl lua script,
mpl_Split item under mouse cursor at mouse cursor.lua
if you don't have that script, get it via reapack... mpl has a lot of them
if you don't know what mpl is.... LoL he is a reaper user who writes scripts
|
|
|
11-26-2018, 11:12 PM
|
#9
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
That script will only split one item, though.
|
|
|
11-27-2018, 05:41 AM
|
#10
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
Quote:
Originally Posted by hopi
you might try to make a custom action that uses the mentioned move edit cursor to mouse cursor followed by the mpl lua script,
mpl_Split item under mouse cursor at mouse cursor.lua
if you don't have that script, get it via reapack... mpl has a lot of them
if you don't know what mpl is.... LoL he is a reaper user who writes scripts
|
Yes I recently installed his interactive toolbar that works wonders!
|
|
|
11-27-2018, 06:15 AM
|
#11
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
I don't think Reaper was made for this splitting approche. I think I'll try to work with the time selection / loop selection if I want to cut vertically with a visual reference. I didn't get to use it much except on loops since one of the first things I've changed in Reaper was the left drag to "marquee select items"
To me the left drag handling time selection and loop points is kind of awkward and I want to be able to switch from Cubase and Reaper without being destabilized since some of my employers use Cubase and we do exchange sessions and share a similar workflow. At least for now I try to mirror the workflow on both but Reaper is getting me further already.
It's not so much the Cubase the DAW that pushed me away so much as Steinberg's business model and tactics. Their annual expensive bogus upgrades that come around black Friday so we're in a spending frenzy and so on. Also trying to meet commercial dates often results in the upgrades being pushed ahead of time and not working properly. Cubase 10 did not load my 9.5 projects and templates so it was the last straw.
Not to mention Reaper is 11mb as opposed to Cubase forcing you to download 10gb of content via the download manager and then check out the options you don't want to install. I could go on but I'll instead I stay zen. Let's just say I'm done being taken for a fool. I'm already a happier and healthier working with Reaper.
|
|
|
11-27-2018, 02:16 PM
|
#12
|
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Amen!
|
|
|
11-28-2018, 11:24 PM
|
#13
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
|
Quote:
Originally Posted by _Stevie_
That script will only split one item, though.
|
ok then make one with Script: spk77_Split all items at edit cursor
an there is always the action:
Item: Split item under mouse cursor
lots of ways to go depending on what you want to do...
and if you really don't find a combination of actions and lua's that do it, then pop over to the JSFX area of the forum and ask for anyone to create a new script....
Also... if you just 'love' having to clk some icon like in cubase, put some of the desired actions in a toolbar and rt clk to arm them
so hey... here is one that seems to work well from a toolbar:
Custom action:
View: Move edit cursor to mouse cursor (no snapping)
Script: spk77_Split selected items at mouse cursor.eel
Note... you gotta have Python working to use eel scripts unless you ask spk77 to do a rewrite in lua
The point is, put that in a toolbar so you can rt clk and arm it...
then you can move the edit cursor by clking in the ruler so you get a visual of where the split will be
you can first turn snapping on or off as desired...
then with the action armed and multiple items selected clk on any item and they all will split...
...don't forget to unarm the action!
Last edited by hopi; 11-28-2018 at 11:43 PM.
|
|
|
11-29-2018, 04:17 AM
|
#14
|
Human being with feelings
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
|
1) create this lua script and name it "edit cursor follow mouse"
Code:
function main()
reaper.BR_GetMouseCursorContext()
local pos = reaper.BR_GetMouseCursorContext_Position()
if pos > -1 then
reaper.SetEditCurPos2(0, pos, false, false)
end
reaper.defer(main)
end
function exit()
local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
reaper.SetToggleCommandState(sectionID, cmdID, 0)
reaper.RefreshToolbar2(sectionID, cmdID)
end
local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
reaper.SetToggleCommandState(sectionID, cmdID, 1)
reaper.RefreshToolbar2(sectionID, cmdID)
reaper.atexit(exit)
main()
2) open action list and create new custom action with in this order
Toggle arm next action
Split item at edit cursor
script : edit cursor follow mouse
3) set any key shortcut to your brand new action
4) make sure you choose "terminate" action at the second time you launch the script
EDIT :
You can create any other custom action and just replace "split item at edit cursor" by any action you want (ie: insert stretch marker, preview item, fade in/out to cursor, insert marker, move position to edit cursor, trim left/right edge, move closest grid to cursor,...
Last edited by Reno.thestraws; 11-29-2018 at 04:29 AM.
|
|
|
11-29-2018, 04:34 AM
|
#15
|
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Great work around! Many thanks.
But in general. Is it possible to draw with lua or eel lines? I saw a thread - not sure what the manner was - where someone showed how to draw on top of the gui. If yes wouldn't it be theoretically also possible to draw a vertical line where the mouse pointer is?
|
|
|
11-29-2018, 04:58 AM
|
#16
|
Human being with feelings
Join Date: Feb 2017
Location: Stockholm
Posts: 98
|
Quote:
Originally Posted by Reno.thestraws
1) create this lua script and name it "edit cursor follow mouse"
Code:
function main()
reaper.BR_GetMouseCursorContext()
local pos = reaper.BR_GetMouseCursorContext_Position()
if pos > -1 then
reaper.SetEditCurPos2(0, pos, false, false)
end
reaper.defer(main)
end
function exit()
local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
reaper.SetToggleCommandState(sectionID, cmdID, 0)
reaper.RefreshToolbar2(sectionID, cmdID)
end
local is_new_value,filename,sectionID,cmdID,mode,resolution,val = reaper.get_action_context()
reaper.SetToggleCommandState(sectionID, cmdID, 1)
reaper.RefreshToolbar2(sectionID, cmdID)
reaper.atexit(exit)
main()
2) open action list and create new custom action with in this order
Toggle arm next action
Split item at edit cursor
script : edit cursor follow mouse
3) set any key shortcut to your brand new action
4) make sure you choose "terminate" action at the second time you launch the script
EDIT :
You can create any other custom action and just replace "split item at edit cursor" by any action you want (ie: insert stretch marker, preview item, fade in/out to cursor, insert marker, move position to edit cursor, trim left/right edge, move closest grid to cursor,...
|
Yes, here's the thread:
https://forum.cockos.com/showthread.php?t=213165
I also changed the cursor to a scissor.
Works like a charm. Many thanks to Thomas E.
|
|
|
11-29-2018, 05:34 AM
|
#17
|
Human being with feelings
Join Date: Feb 2017
Posts: 4,812
|
Quote:
Originally Posted by Eliseat
wouldn't it be theoretically also possible to draw a vertical line where the mouse pointer is?
|
Having a different mouse pointer:" scissor with a left vertical line" for the modifier would be good for me!
|
|
|
11-29-2018, 06:25 AM
|
#18
|
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Quote:
Originally Posted by Reno.thestraws
...
2) open action list and create new custom action with in this order
Toggle arm next action
Split item at edit cursor
script : edit cursor follow mouse
3) set any key shortcut to your brand new action
4) make sure you choose "terminate" action at the second time you launch the script
EDIT :
You can create any other custom action and just replace "split item at edit cursor" by any action you want (ie: insert stretch marker, preview item, fade in/out to cursor, insert marker, move position to edit cursor, trim left/right edge, move closest grid to cursor,...
|
For some reason this doesn't work as expected. If I create a custom action like this, put in my menu and activate (click on) it, the second time I run it (to deactivate the action) just switches the action to a new weird behavior. To make it clear, at first the cursor only follows without cutting, at second the following stops and only the split action runs instead of de-arming the custom action. Any idea why?
|
|
|
11-29-2018, 06:31 AM
|
#19
|
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Okay, I just realized that it works like expected if I run the custom action from the actions list but NOT if I run it from the menu icon.
|
|
|
12-03-2018, 07:33 AM
|
#20
|
Human being with feelings
Join Date: May 2017
Posts: 3,201
|
My approach:
Action: Split item under mouse cursor
Assigned to: Toolbar button with razor blade icon
Use:
Right click the toolbar button to turn on Smart Tool mode (button lights up). Click wherever you want to split any item, as many times & places as needed.
Right click the toolbar button again to deactivate it (button goes dark).
|
|
|
12-06-2018, 05:50 AM
|
#21
|
Human being with feelings
Join Date: Mar 2018
Location: Cologne
Posts: 1,362
|
Quote:
Originally Posted by Philbo King
My approach:
Action: Split item under mouse cursor
Assigned to: Toolbar button with razor blade icon
Use:
Right click the toolbar button to turn on Smart Tool mode (button lights up). Click wherever you want to split any item, as many times & places as needed.
Right click the toolbar button again to deactivate it (button goes dark).
|
Yes, this works but without a visual guideline like the edit cursor. The action edit cursor follows mouse pointer was a work around for that. But it just doesn't work as expected. At least not from the toolbar. I tried several times, made sure to set the custom action to terminate instance. Nope. It just cycles thru the actions.
|
|
|
01-06-2020, 10:50 PM
|
#22
|
Human being with feelings
Join Date: Nov 2019
Posts: 225
|
Hey there! anyone has an idea how to realise "edit cursor follows mouse" work on alt press (not toggling)?
So as soon as you press alt and hold it, the script works and when you release it it stops? Like a modifier key?
|
|
|
07-09-2020, 10:09 AM
|
#23
|
Human being with feelings
Join Date: Jul 2010
Location: Montpellier, France
Posts: 194
|
Quote:
Originally Posted by Eraz
Hey there! anyone has an idea how to realise "edit cursor follows mouse" work on alt press (not toggling)?
So as soon as you press alt and hold it, the script works and when you release it it stops? Like a modifier key?
|
I would love that as well!
|
|
|
07-10-2020, 03:39 AM
|
#24
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
|
Quote:
Originally Posted by fbeauvaisc
Hi,
What's missing and king of important to me is a vertical line that covers multiple tracks and would visually tell me where I'm making the cuts and if it's snapping or not.
|
If the guide line is what you are missing then you may check this.
|
|
|
11-28-2020, 09:32 AM
|
#25
|
Human being with feelings
Join Date: Nov 2018
Location: Montreal
Posts: 405
|
Quote:
Originally Posted by amagalma
If the guide line is what you are missing then you may check this.
|
This is extremely helpful thank!
|
|
|
01-11-2021, 06:33 PM
|
#26
|
Human being with feelings
Join Date: Jan 2021
Posts: 2
|
Hello! First post - apologies for necro.
Has anyone found that "split item under mouse cursor" combined with a modifier/left click (Cubase style) only works when the cursor is directly over the item volume adjustment line? eg. alt+click won't split an item if you click anywhere in the item, unless the cursor is on the tiny item volume line. Is this a bug on my end or intentional? Cheers!
|
|
|
01-11-2021, 07:28 PM
|
#27
|
Human being with feelings
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
|
This is intentional and a side effect from the item mouse modifier. It will always selected the hovered item.
|
|
|
01-17-2021, 06:57 PM
|
#28
|
Human being with feelings
Join Date: Jan 2021
Posts: 2
|
Thanks! Bummer. Any ideas on how to make a mouse modifier work all over the item and not just the volume line?
|
|
|
07-18-2021, 08:54 AM
|
#29
|
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,769
|
Quote:
Originally Posted by Philbo King
My approach:
Action: Split item under mouse cursor
Assigned to: Toolbar button with razor blade icon
Use:
Right click the toolbar button to turn on Smart Tool mode (button lights up). Click wherever you want to split any item, as many times & places as needed.
Right click the toolbar button again to deactivate it (button goes dark).
|
Just found this technique. Works great. I have Tab key on my snap to grid so I can easily do multiple cuts now on or off the grid or both !
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:43 AM.
|