Old 02-28-2015, 08:16 PM   #1
mim
Human being with feelings
 
Join Date: Mar 2009
Posts: 346
Default LUA : Pimp My Tracks (auto add fx, arm envelopes, create sends, ...)

Pimp My (selected) Tracks V1

Big Thanks to spk77, planetnine, liteon, plush2, sws, jeffos, cockos for tips and/or code!
And thanks Airon for this post layout !

The script is available here: https://stash.reaper.fm/v/23476/PimpMyTracks.zip (about 15 kB).

Requires Reaper 5.0 or higher. Visit the this post in the Pre-Release forum section to obtain a 5.0 version at this time.

Current version: 1.0

Functionality:
Configure existing tracks to a ready to go mixing state !

For selected tracks :
  • Change number of channels to six
  • Create 6 channels sends to any track that contain "reverb" in the name
  • Avoid creating to self track send
  • Create and arm envelope for send volume and mute
  • Optionnaly add an eq and a ms decoder to the track
  • track names that finish by "mono", will add mono version, and no ms
  • track names that finish by "ST", will add stereo version, and no ms
  • track names that finish by "MS", will add stero version, and ms
  • track names that finish by "LsRs", will add stereo version, and ms
  • track names that finish by "LsRs MS", will add stereo version, and ms
  • track names that start by "STEM", will add 5.1 version, and no ms
  • Optionnaly add a surround pan
  • It will be configured according to track name it the same way than the eq
  • Ensure the surround pan is the last fx of the track
  • Create a volume envelope if there isn't any
  • Volume envelope is created from trim level, then trim is resetted to unity
  • Arm every fx
  • Arm only whitelisted parameter (configured in PimpMyFX.json)
  • Whitelisting is on a plug in basis, parameters to be armed can be defined by ID or Name


I don't know if someone will find it usefull, but maybe pieces will be interesting for you ...
KNOWN ISSUE : From what I understand the max buffer for the chunck dump of the track state is not big enough to allow the script to work with a lot of receives. Therefore for now, the script can handle only small sessions.

I think the code is quite awfull, but I'll get something better later ...

How to install:
  • Extract zip.
  • Place all files in your script directory.
  • Edit PimpMyTrack.lua to configure the right path to the files and various other settings.
  • Edit PimpMyFX.json to make your own whitelisting
  • Edit your SNM Resources to customise fx chain as "explained" in PimpMyTrack.lua





-

Last edited by mim; 02-28-2015 at 08:43 PM.
mim is offline   Reply With Quote
Old 03-01-2015, 03:25 AM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,091
Default

There is soooo many actions in this scripts!!! I'm pretty sure than it source code will be a reference for a lot of scripts ^^
It's very very impressive.
Nice job!
(And that name... ^^)
X-Raym is offline   Reply With Quote
Old 03-01-2015, 06:31 AM   #3
mim
Human being with feelings
 
Join Date: Mar 2009
Posts: 346
Default

Quote:
Originally Posted by X-Raym View Post
There is soooo many actions in this scripts!!! I'm pretty sure than it source code will be a reference for a lot of scripts ^^
It's very very impressive.
Nice job!
(And that name... ^^)
Hey X-Raym, thanks for your words!

I'm not sure if it's impressive or bloated, lol!

I think it is hard for other users to try it since it is a bit long to setup.

This script can save me entire days, but the known issue make it useless for now.
I'd like to have a confirmation it is because of the size of the LUA GetTrackState buffer that the script doesn't work from a certain amount or tracks (and receives especially).

Last edited by mim; 03-01-2015 at 06:36 AM.
mim is offline   Reply With Quote
Old 03-01-2015, 08:01 AM   #4
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 6,091
Default

@mim
It's impressive
I have to admit that if I need a complex routing to be set up every time, I use project template :P
But sure, there is good ideas in it, you should have work on this during days!
X-Raym 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:38 PM.


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