 |
|
|
09-24-2023, 10:56 AM
|
#1
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Mespotine: Razor Mania - Razor Editing Scripts
I started to write Razor Edit-scripts and want to share them with you.
If you have requests for Razor-Edit-scripts that you couldn't find anywhere else yet, describe them and I'll try to add them.
Installable via my ReaPack: https://raw.githubusercontent.com/me...ne_Scripts.xml
Needs Ultraschall-API, JS-extension and SWS to work(if you haven't installed them yet, the scripts will help you with that).
Please donate, if any of them is useful for you: https://mespotine.de/Mespotine/mespotine-unterstuetzen/
Last edited by Meo-Ada Mespotine; 09-24-2023 at 11:07 AM.
|
|
|
09-24-2023, 10:59 AM
|
#2
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Last edited by Meo-Ada Mespotine; 09-24-2023 at 11:22 AM.
|
|
|
09-24-2023, 11:47 AM
|
#3
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,652
|
Some useful scripts, thx for sharing.
I was thinking that a tool to drag and delete items/points is been missing in the arrange view, perhaps this could be done with a script?
The idea is to trigger the script and delete the RE selection after releasing the mouse, though not sure if it's possible and thought I should ask
|
|
|
09-24-2023, 12:00 PM
|
#4
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Maybe, but it's difficult, since mouse modifiers for drag don't support running scripts in Reaper.
But it would be possible to have two scripts: one that starts "listening for the dragging" and one that commits it.
But it needs more thinking about how to do it properly.
|
|
|
09-24-2023, 12:12 PM
|
#5
|
Human being with feelings
Join Date: Oct 2017
Location: Larisa, Greece
Posts: 3,652
|
Quote:
Originally Posted by Meo-Ada Mespotine
Maybe, but it's difficult, since mouse modifiers for drag don't support running scripts in Reaper.
|
Sounds like a nice FR.
Quote:
Originally Posted by Meo-Ada Mespotine
But it would be possible to have two scripts: one that starts "listening for the dragging" and one that commits it.
But it needs more thinking about how to do it properly.
|
No idea how this works but thanks for considering
|
|
|
09-24-2023, 12:14 PM
|
#6
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Quote:
Originally Posted by Vagelis
Sounds like a nice FR.
|
I think, I already requested that, but I'm not sure...
Quote:
No idea how this works but thanks for considering
|
You would start the first script, then move the mouse to make the selection, then start the second script which would delete the stuff and remove the RE.
So no left or right-click-dragging, more like mouse moving after having told Reaper to "listen" to the mouse movements to create RE.
Right now, I will more concentrate on the low hanging fruits, though. There are probably many that could improve workflows.
Like moving all REs at once to a point of interest like the edit-cursor, etc.
|
|
|
09-25-2023, 03:06 AM
|
#7
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New scripts for snapping the edges of a Razor-Edit to the edges of an item.
You can do either razor start to item start or razor end to item end underneath the mouse:
or snap the edges of a razor item to the edges of the item underneath the mouse:
|
|
|
09-25-2023, 03:27 AM
|
#8
|
Human being with feelings
Join Date: Feb 2021
Location: Right here
Posts: 953
|
Hmmmm very interesting, thanks for sharing.
How about extend right edge of razor edit to next transient?
|
|
|
09-25-2023, 03:29 AM
|
#9
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Quote:
Originally Posted by smandrap
Hmmmm very interesting, thanks for sharing.
How about extend right edge of razor edit to next transient?
|
Can you show me in a gif, how you would do it by hand?
|
|
|
09-25-2023, 04:08 AM
|
#10
|
Human being with feelings
Join Date: Feb 2021
Location: Right here
Posts: 953
|
Can't show it because i don't know how to do it  Sorry.
What i'd like to see is basically the action "Time selection: Extend time selection to next transient in items", but with razor edits. Some sort of Pro Tools Shift + Tab.
If i have some time later i might try a mockup. Thanks a lot
|
|
|
09-25-2023, 08:30 AM
|
#11
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
I think I have an idea for this, since there's an action for going to the next transient in the item. That I can exploit for a Razor Edit script.
Will try later.
|
|
|
09-25-2023, 10:13 AM
|
#12
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New Scripts for enhancing the razor-areas under mouse to the next/previous transient of item under mouse.
|
|
|
09-25-2023, 11:54 AM
|
#13
|
Human being with feelings
Join Date: Feb 2021
Location: Right here
Posts: 953
|
This is HUGE. Thanks, i'll test asap
|
|
|
09-25-2023, 01:34 PM
|
#14
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New scripts for snapping the edge of a razor-edit under mouse to the edit-cursor.
You can snap the left AND the right edge.
|
|
|
09-26-2023, 12:22 PM
|
#15
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New actions for moving all razor-edit-areas by 1 second/10 seconds/1 minute to the left or to the right.
|
|
|
09-26-2023, 12:41 PM
|
#16
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New actions for snapping the RazorEdit-area under the mouse to the editcursor, moving all other razor-areas accordingly.
There are actions for snapping the left or right edge of the razor-edit.
|
|
|
09-27-2023, 11:37 AM
|
#17
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
Some ideas :
1. Expand/Compress size/contents of Razor Edit by 2 / 0.5 (actions).
2. Render Selected REs together to a new item (we chatted in a different thread)
3. Envelope Editing focus :
...1. actions to "set envelope within Razor Edit to MAX/MIN/CENTERED". Some exist but they break MUTE envelopes because they introduce a linear point in what is supposed to be a Square lane.
...2. actions to "increase/decrease envelope values inside Razor Edit"
...3. actions to "tilt L/R edge Up/Down a bit / 2x / 0.5x"
...all this kind of stuff. Razors can be AMAZING for editing automation, but are still sorely falling short of their true potential.
|
|
|
09-27-2023, 11:44 AM
|
#18
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Quote:
Originally Posted by ferropop
Some ideas :
1. Expand/Compress size/contents of Razor Edit by 2 / 0.5 (actions).
2. Render Selected REs together to a new item (we chatted in a different thread)
3. Envelope Editing focus :
...1. actions to "set envelope within Razor Edit to MAX/MIN/CENTERED". Some exist but they break MUTE envelopes because they introduce a linear point in what is supposed to be a Square lane.
...2. actions to "increase/decrease envelope values inside Razor Edit"
...3. actions to "tilt L/R edge Up/Down a bit / 2x / 0.5x"
...all this kind of stuff. Razors can be AMAZING for editing automation, but are still sorely falling short of their true potential.
|
Could you explain or show, what you mean by tilt?
Expand and compress should be easy. Envelopes are tricky, especially with automation items, that's why I haven't done some yet.
|
|
|
09-27-2023, 12:17 PM
|
#19
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
New actions for enhancing/compressing razor-areas under mouse by 2 or 0.5.
You can enhance/compress left or right.
|
|
|
09-27-2023, 12:29 PM
|
#20
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
Thank you for looking at these! There'd be the "with content" variations also and it's a complete feature. !!
|
|
|
09-27-2023, 12:37 PM
|
#21
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Quote:
Originally Posted by ferropop
Thank you for looking at these! There'd be the "with content" variations also and it's a complete feature. !!
|
Is "with contents" something you can do already by hand?
Edit:
means, does it enhance/compress the contents together with the RazorEdit?
|
|
|
09-27-2023, 12:42 PM
|
#22
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
Quote:
Originally Posted by Meo-Ada Mespotine
Is "with contents" something you can do already by hand?
|
Yeah like Alt-dragging the Razor Edit will resize the RE as well as compressing/expanding the contents.
Where this is most useful is Razoring something off-grid, and wanting to scale all the contents by exactly 2 or 0.5. That's trivial when on the grid (but still faster to have actions) - but when not on grid it's impossible currently to get exactly double/half stretch.
edit : it's the Razor Edit equivalent of these actions:
Manually :
Last edited by ferropop; 09-27-2023 at 12:50 PM.
|
|
|
09-27-2023, 12:52 PM
|
#23
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
This can then be wrapped in a script where the actions run conditionally --
ie, if there's a Razor Edit run the double/half action on the Razor Edit... if there's no Razor Edit and just items selected, run the me2beats Item versions. If it's automation points selected, wrap the points in a Razor Edit and half/double them.
One set of keys, context-dependent result.
It becomes a powerful tool when these little things are context-dependent.
|
|
|
09-27-2023, 12:58 PM
|
#24
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
Quote:
Originally Posted by Meo-Ada Mespotine
Could you explain or show, what you mean by tilt?
|
Envelope tilting...there are no actions for these. Also for compressing/expanding envelope contents, it can be done by mouse but not by actions currently. Is there API for interacting with those hotspot gestures?
|
|
|
09-27-2023, 01:01 PM
|
#25
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Hmmm... I'm not sure if it's possible at all with what the api allows.
It allows me to draw razor areas but not to influence the contents.
Compressing and enhancing would be needed to be reimplemented completely and I don't think I want to do that, since it's complicated and involves working with stretch markers to make it.
I'll look, if it's possible anyways, but applying RazorEdits to contents is probably something only the devs can do.
|
|
|
09-27-2023, 01:04 PM
|
#26
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Quote:
Originally Posted by ferropop
Envelope tilting...there are no actions for these. Also for compressing/expanding envelope contents, it can be done by mouse but not by actions currently. Is there API for interacting with those hotspot gestures?

|
Ok, compressing and enhancing on y-axis would be possible, but tilting is probably too difficult to code.
|
|
|
09-27-2023, 01:05 PM
|
#27
|
Human being with feelings
Join Date: Jan 2016
Location: Los Angeles, CA
Posts: 2,986
|
Quote:
Originally Posted by Meo-Ada Mespotine
Hmmm... I'm not sure if it's possible at all with what the api allows.
It allows me to draw razor areas but not to influence the contents.
Compressing and enhancing would be needed to be reimplemented completely and I don't think I want to do that, since it's complicated and involves working with stretch markers to make it.
I'll look, if it's possible anyways, but applying RazorEdits to contents is probably something only the devs can do.
|
Hmm can we nudge the @devs? if something's possible manually I would hope there's a script version of that thing. REs are the most powerful addition in recent times, maybe we just need more accessors to be able to fully take advantage.
Like if I can physically Alt-Drag a Razor Edit using a mouse, I'd hope there's a way to do that in script.
|
|
|
09-28-2023, 01:52 AM
|
#28
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,485
|
Stuff related to dragging is usually either impossible ir very hard to do with scripting.
So yeah, nudging the devs is probably a good thing.
|
|
|
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 10:49 PM.
|