Old 10-16-2020, 12:10 PM   #1
sonictim
Human being with feelings
 
sonictim's Avatar
 
Join Date: Feb 2020
Location: Los Angeles
Posts: 170
Default ScriptPack: Protools style Write/Glide Automation

Four commands I use ALL the time when working with Automation in Protools are:

Edit -> Automation -> Write to Current ( CMD + / )
Edit -> Automation -> Write to All Enababled ( OPT + CMD + / )
Edit -> Automation -> Glide to Current ( OPT + / )
Edit -> Automation -> Glide to All Enabled (SHIFT + OPT + / )

There's another great one for pan, but since Reaper doesn't natively support multichannel panning, I'm going to omit that for now....

For those of you who are unfamiliar with these, they are very similar to the action "Automation: Write current values for all writing envelopes to time selection"only they don't care anything about automation states. They just do it. Preview, read, write, latch... it doesn't matter.. it just writes the the value to the selection.


So I wrote a little 4 pack of scripts to recreate these behaviors, with a few REAPER twists of course..

Write Punch all VISIBLE envelopes to Time, RazorEdit, or Item Selection
Write Punch ALL envelopes to Time, RazorEdit, or Item Selection
Glide all VISIBLE envelopes to Time, RazorEdit, or Item Selection
Glide ALL envelopes to Time, RazorEdit, or Item Selection


As the names imply, they are smart and will give selection priority in the order listed (so, Time Selection first, then RazorEdit, Then Items).

I you aren't using bleeding edge dev versions with things like Razor Edits, don't worry, the script still works.

As Reaper allows for multiple lanes to be visible (Protools, for the most part, allows only one), I've adapted the functionality, as the name Implies to process all visible envelopes, so if you only want one envelope processed, only have one envelope visible.

This works on both TRACK and TAKE envelopes

SETTINGS:
There are 2 settings in the script you may want to tweak. Just click the script in your action list and chose "Edit action"

Check Edit Cursor - Enabled by default. If your edit cursor falls within the time selection, the value it will set, will be the value at the edit cursor... This allows you to set your edit cursor at the value you want to populate (again, that must fall within the time/razor edit/item selection)

Check Armed - Disabled by default - This will write your envelope points no matter if the tracks are armed or not... I wanted a script that would just do its thing, throwing all caution to the wind. But then I thought some of you might want a little checks and balances in your life, so I enabled this option. This ONLY works for Track Envelopes (well, it would work for take envelopes too) as they are the only envelopes that you can arm. Take Envelopes will always write no matter what.


DISCLAIMER:
I wrote these scripts for my own personal use. I offer no support. If you have any ideas or bug reports, please feel free to write about them in this forum, but I may or may not have the time or interest to act upon them.


I'm posting this as a pack here, but all 4 scripts can be found in my ReaPack repository and installed individually. I strongly recommend you install via ReaPack.

My ReaPack URL: https://github.com/sonictim/TJF-Scri...ster/index.xml
Attached Files
File Type: zip Protools style Write Glide Automation script pack.zip (15.7 KB, 22 views)
sonictim is offline   Reply With Quote
Old 10-16-2020, 12:32 PM   #2
Ice
Human being with feelings
 
Join Date: Aug 2014
Posts: 777
Default

Genius!!!
Ice is offline   Reply With Quote
Old 10-17-2020, 05:24 PM   #3
hans
Human being with feelings
 
Join Date: Aug 2020
Posts: 17
Default

thanks man!
hans is offline   Reply With Quote
Old 10-17-2020, 05:25 PM   #4
hans
Human being with feelings
 
Join Date: Aug 2020
Posts: 17
Default

the arm all envelopes script you made have really helped me.
thanks a lot!
hans is offline   Reply With Quote
Old 10-18-2020, 08:16 AM   #5
sonictim
Human being with feelings
 
sonictim's Avatar
 
Join Date: Feb 2020
Location: Los Angeles
Posts: 170
Default

Quote:
Originally Posted by hans View Post
the arm all envelopes script you made have really helped me.
thanks a lot!
Awesome. I’m glad it’s helpful for you!
sonictim is offline   Reply With Quote
Old Yesterday, 03:52 PM   #6
sonictim
Human being with feelings
 
sonictim's Avatar
 
Join Date: Feb 2020
Location: Los Angeles
Posts: 170
Default V2.2 Update

I did some overhauling/Bug Fixes/Feature Requests......


# - AUTOMATION ITEM SUPPORT
I've added this... This works pretty well, but there is an issue where if your selection crosses the border of an automation item and your timeline, well, you might see some weird behavior. I understand what is happening, but in order to smooth this out will take some serious code overhauling, and I don't have the time to address this right now.


# - EDIT CURSOR BEHAVIOR
Now, if enabled, the written value will be from wherever the edit cursor is in your timeline (not just if it falls inside your selection). This works best with Track Envelopes. So you can set the edit cursor at a value elsewhere in your timeline and punch it in to your selection. I'm still working on a way to apply this better to Take Envelopes.


# - TIME SELECTION LOGIC IMPROVED
I realized the logic for Time Selection Processing was inconsistent, so here's how it works now...
When processing a time selection, it will process Only Selected Tracks. If no tracks are selected, it will process ALL tracks. The same for Take Automation. if Items are selected, it will only process on selected items. If no items are selected, it will process all take envelopes that fall within the time selection


# - SMOOTHING PARAMETER
I added a setting inside the script that allows you to adjust the fade time from your points. It was originally set to .01, but now if you want to adjust it, you can.


# - EDIT CURSOR EXTERNAL TOGGLE SCRIPT
I wrote a very simple toggle script (you must install it via reapack so it will work) called

"TJF OPTIONS - Toggle Check Edit Cursor for Protools Style Automation Write and Glide Functions.lua"

Long name, I know.. if you have this script installed, it will override the CheckEditCursor setting in each script. You can assign a tool bar button to this script and use it to toggle this setting on/off (or assign a hot key).
sonictim is offline   Reply With Quote
Old Yesterday, 05:12 PM   #7
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,720
Default

Thanks for sharing all your scripts.
TonE 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 05:41 AM.


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