Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 05-25-2020, 09:34 PM   #41
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

My Edited Script:
-- @description amagalma_Toggle enclose selected or focused FX in visible chain with AB_LM Level Matching VST/JSFX
-- @author amagalma
-- @version 1.35
-- @changelog
-- - fixed not inserting AB_LM when RME Totalmix window was open
-- - improved saved undo state
-- - added check for JS_ReaScriptAPI's presence
-- - improved/made faster the checks for presence of the selected format of AB_LM
-- @about
-- # Inserts or Removes TBProAudio's AB_LM Level Matching VST/JSFX enclosing the selected FXs or the focused FX (if not any selected)
-- - Ability to set in the script the prefered format of AB_LM (VST2, VST3 or JSFX) [defaults to VST3]
-- - Smart undo point creation
-- - Requires JS_ReaScriptAPI
-- @link http://www.tb-software.com/TBProAudio/ab_lm.html

------------------------------------------------------------------------------------------------

--================================================== ============================
local pref = 3 -- SET HERE YOUR PREFERENCE (1 = JSFX, 2 = VST2, 3 = VST3 ==
local lite = 0 -- SET TO 1 IF YOU PREFER THE LITE VERSION OF THE JSFX CONTROL ==
--================================================== ============================

------------------------------------------------------------------------------------------------

local reaper = reaper
-- Check if JS_ReaScriptAPI is installed
if not reaper.APIExists("JS_ReaScriptAPI_Version") then
reaper.MB( "Please, right-click and install 'js_ReaScriptAPI: API functions for ReaScripts'. Then restart Reaper and run the script again. Thanks!", "You need to install the JS_ReaScriptAPI", 0 )
local ok, err = reaper.ReaPack_AddSetRepository( "ReaTeam Extensions", "https://github.com/ReaTeam/Extensions/raw/master/index.xml", true, 1 )
if ok then
reaper.ReaPack_BrowsePackages( "js_ReaScriptAPI" )
else
reaper.MB( err, "Something went wrong...", 0)
end
return reaper.defer(function() end)
end

-- Check if AB_LM .dll or .vst3 or jsfx exist in your system
local exists = false
local OS, architecture = string.match(reaper.GetOS(), "(%a+)(%d?%d?)")
local separ = OS == "Win" and "\" or "/"
if pref == 2 or pref == 3 then
-- check for VST2/3 presence, if not Linux
local vst_ini
if architecture == "32" then
vst_ini = reaper.GetResourcePath() .. separ .."reaper-vstplugins.ini"
elseif architecture == "64" then
vst_ini = reaper.GetResourcePath() .. separ .."reaper-vstplugins64.ini"
end
if architecture ~= "" then
local file = io.open (vst_ini)
if file then
for line in file:lines() do
if line:match("AB_LM[_x64]*.dll") and pref == 2 then
exists = true
break
elseif line:match("AB_LM[_x64]*.vst3") and pref == 3 then
exists = true
break
end
end
io.close(file)
end
end
elseif pref == 1 then
-- check for JSFX presence
local jsfx_ini = reaper.GetResourcePath() .. separ .. "reaper-jsfx.ini"
local file = io.open (jsfx_ini)
local cntrl, src, ltcntrl = false, false, false
for line in file:lines() do
if line:match("AB_LM_cntrl") then
cntrl = true
elseif line:match("AB_LMLT_cntrl") then
ltcntrl = true
elseif line:match("AB_LM_src") then
src = true
end
if cntrl and src and ltcntrl then
exists = true
break
end
end
io.close(file)
end
local format = pref == 1 and "JSFX" or (pref == 2 and "VST2" or "VST3")
if not exists then
reaper.MB( "Please, set the format of AB_LM you have inside the script.", "AB_LM " .. format .. " is not installed", 0 )
reaper.defer(function() end)
return
end

------------------------------------------------------------------------------------------------

local function GetInfo()
local number, window_list = reaper.JS_Window_ListFind("FX: ", false)
if number == 0 then return nil end
for address in window_list:gmatch("[^,]+") do
local FX_win = reaper.JS_Window_HandleFromAddress(address)
local title = reaper.JS_Window_GetTitle(FX_win)
if title:match("FX: Track ") or title:match("FX: Master Track") or title:match("FX: Item ") then
local sel_FX, firstselFX, lastselFX = {}
local list = reaper.JS_Window_FindChildByID(FX_win, 1076)
local _, sel_fx = reaper.JS_ListView_ListAllSelItems(list)
local a = 0
for i in sel_fx:gmatch("%d+") do
sel_FX[a+1] = tonumber(i)
a = a + 1
end
local what, trackGUID, take
reaper.JS_Window_SetForeground( FX_win ) -- GetFocusedFX works better
local focus, track, item, fxid = reaper.GetFocusedFX()
if focus == 1 then
what = "track"
if track == 0 then
track = reaper.GetMasterTrack(0)
else
track = reaper.GetTrack(0, track-1)
end
trackGUID = reaper.guidToString(reaper.GetTrackGUID(track), "")
elseif focus == 2 then
what = "item"
item = reaper.GetMediaItem(0, item)
track = reaper.GetMediaItemTrack(item)
trackGUID = reaper.guidToString(reaper.GetTrackGUID(track), "")
take = reaper.GetMediaItemTake(item, fxid >> 16)
end
if #sel_FX > 1 then
firstselFX = sel_FX[1]
lastselFX = sel_FX[#sel_FX]
end
return fxid, track, what, trackGUID, take, firstselFX, lastselFX, FX_win
else
return nil
end
end
end

------------------------------------------------------------------------------------------------

local function AddTrackAB(track, pos, x)
if pref == 1 then
if x == 1 then
reaper.TrackFX_AddByName(track, "JS:AB_LM_src", false, -1)
else
if lite == 1 then
reaper.TrackFX_AddByName(track, "JS:AB_LMLT_cntrl", false, -1)
else
reaper.TrackFX_AddByName(track, "JS:AB_LM_cntrl", false, -1)
end
end
elseif pref == 2 then
reaper.TrackFX_AddByName(track, "VST2:AB_LM", false, -1)
elseif pref == 3 then
reaper.TrackFX_AddByName(track, "VST3:AB_LM", false, -1)
end
reaper.TrackFX_CopyToTrack(track, reaper.TrackFX_GetCount( track )-1, track, pos, true )
end

local function AddTakeAB(take, pos, x)
if pref == 1 then
if x == 1 then
reaper.TakeFX_AddByName(take, "JS:AB_LM_src", -1)
else
if lite == 1 then
reaper.TakeFX_AddByName(take, "JS:AB_LMLT_cntrl", -1)
else
reaper.TakeFX_AddByName(take, "JS:AB_LM_cntrl", -1)
end
end
elseif pref == 2 then
reaper.TakeFX_AddByName( take, "VST2:AB_LM", -1 )
elseif pref == 3 then
reaper.TakeFX_AddByName( take, "VST3:AB_LM", -1 )
end
reaper.TakeFX_CopyToTake( take, reaper.TakeFX_GetCount( take )-1, take, pos, true )
end

------------------------------------------------------------------------------------------------
RJHollins is offline   Reply With Quote
Old 05-25-2020, 09:35 PM   #42
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

2nd half of Script:

local function AlterChunk(chunk, lastselFX, focusedFX, fxid, t)
local cnt = -1
local float = false
for line in chunk:gmatch('[^\n]+') do
if cnt == -1 and line:match("^SHOW %d+$") then -- keep previously focused FX focused
line = "SHOW " .. tostring(lastselFX ~= nil and focusedFX+1 or fxid+2)
cnt = 0
end
if pref ~= 1 then -- VST
if line:match("<VST.-AB_LM") and cnt < 2 then
if cnt == 0 then
line = line:gsub('(.-)""(.+)', '%1"-- AB_LM Send --"%2')
cnt = cnt + 1
else
line = line:gsub('(.-)""(.+)', '%1"-- AB_LM Receive --"%2')
cnt = cnt + 1
end
elseif not float and cnt == 2 and line:match("FLOATPOS") then -- float AB_LM Receive
line = "FLOAT 1230 180 440 671"
float = true
end
else -- JSFX
if line:match("<JS.-AB_LM_src") and cnt < 1 then
line = line:gsub('(.-)""', '%1"-- AB_LM Send --"')
cnt = cnt + 1
elseif (line:match("<JS.-AB_LM_cntrl") or line:match("<JS.-AB_LMLT_cntrl")) and cnt < 2 then
line = line:gsub('(.-)""', '%1"-- AB_LM Receive --"')
cnt = cnt + 1
elseif not float and cnt == 2 and line:match("FLOATPOS") then -- float AB_LM Receive
line = "FLOAT 1052 56 573 956"
float = true
end
end
t[#t+1] = line
end
end

------------------------------------------------------------------------------------------------

local function InsertAB(fxid, track, what, trackGUID, take, firstselFX, lastselFX)
local focusedFX = fxid
if lastselFX and focusedFX >= firstselFX and focusedFX <= lastselFX then
focusedFX = fxid + 1
elseif lastselFX and focusedFX > lastselFX then
focusedFX = fxid + 2
end
if what == "track" then
if lastselFX then -- enclose selected FXs
AddTrackAB(track, firstselFX, 1)
AddTrackAB(track, lastselFX+2, 2)
else -- enclose focused FX
AddTrackAB(track, fxid, 1)
AddTrackAB(track, fxid+2, 2)
end
local _, chunk = reaper.GetTrackStateChunk( track, "", false )
local t = {}
AlterChunk(chunk, lastselFX, focusedFX, fxid, t)
chunk = table.concat(t, "\n")
reaper.SetTrackStateChunk( track, chunk, false )
elseif what == "item" then
if lastselFX then -- enclose selected FXs
AddTakeAB(take, firstselFX, 1)
AddTakeAB(take, lastselFX+2, 2)
else -- enclose focused FX
AddTakeAB(take, fxid, 1)
AddTakeAB(take, fxid+2, 2)
end
local item = reaper.GetMediaItemTake_Item( take )
local _, chunk = reaper.GetItemStateChunk( item, "", false )
local t = {}
AlterChunk(chunk, lastselFX, focusedFX, fxid, t)
chunk = table.concat(t, "\n")
reaper.SetItemStateChunk( item, chunk, false )
end
end

------------------------------------------------------------------------------------------------

local function RemoveAB(track, what, take)
if what == "track" then
local id = reaper.TrackFX_GetByName( track, "-- AB_LM Receive --", false )
reaper.TrackFX_Delete( track, id)
id = reaper.TrackFX_GetByName( track, "-- AB_LM Send --", false )
reaper.TrackFX_Delete( track, id)
elseif what == "item" then
local id = reaper.TakeFX_AddByName( take, "-- AB_LM Receive --", 0 )
reaper.TakeFX_Delete( take, id )
id = reaper.TakeFX_AddByName( take, "-- AB_LM Send --", 0 )
reaper.TakeFX_Delete( take, id )
end
end

-- Main function -------------------------------------------------------------------------------

local fxid, track, what, trackGUID, take, firstselFX, lastselFX, FX_win = GetInfo()
if track and trackGUID then
local _, left, top, right, bottom = reaper.JS_Window_GetRect( FX_win )
local width = right - left
local height = bottom - top

reaper.Undo_BeginBlock()
InsertAB(fxid, track, what, trackGUID, take, firstselFX, lastselFX)

reaper.Undo_EndBlock("Enclose selected/focused FX in Chain with AB_LM", 2)

reaper.JS_Window_SetPosition( FX_win, left, top, width, height )
else
reaper.defer(function() end)
end
RJHollins is offline   Reply With Quote
Old 05-25-2020, 09:36 PM   #43
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

sorry for the separate parts ... apparently the Forum limits the text length :|

RH
RJHollins is offline   Reply With Quote
Old 05-26-2020, 08:32 AM   #44
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

You can get from here your version of the script: amagalma_Enclose selected or focused FX in visible chain with AB_LM Level Matching VST or JSFX.lua

You can set inside the script whatever names you want to appear. The defaults are:
==== AB_LM Send ====
==== AB_LM Receive ====


Thanks for the donation
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-26-2020, 10:11 AM   #45
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
You can get from here your version of the script: amagalma_Enclose selected or focused FX in visible chain with AB_LM Level Matching VST or JSFX.lua

You can set inside the script whatever names you want to appear. The defaults are:
==== AB_LM Send ====
==== AB_LM Receive ====


Thanks for the donation
Thanks amagalma. I installed, and made a new toolbar entry.

Early test is WORKING. yeah.

All settings are good, Except for AB_LM's 'Enable ToolTips' is Active.

For whatever reason, having it Active messes with the REDRAW of the GUI when pressing buttons [A/B, resets, on/off,etc].

I've been in contact with TB about this [for awhile]. Not sure how this will resolve.

Saving a Reaper DEFAULT with the change prevents AB_LM from doing its alternating Send/Receive and the auto-channel assign. so that won't work.

Might you know [via the provided Script] how ToolTips can be uncheck [disabled] ?

Thank-you for all your help. So appreciated.

Last edited by RJHollins; 05-26-2020 at 10:32 AM.
RJHollins is offline   Reply With Quote
Old 05-26-2020, 11:01 AM   #46
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Quote:
Originally Posted by RJHollins View Post
Thanks amagalma. I installed, and made a new toolbar entry.

Early test is WORKING. yeah.

All settings are good, Except for AB_LM's 'Enable ToolTips' is Active.

For whatever reason, having it Active messes with the REDRAW of the GUI when pressing buttons [A/B, resets, on/off,etc].

I've been in contact with TB about this [for awhile]. Not sure how this will resolve.

Saving a Reaper DEFAULT with the change prevents AB_LM from doing its alternating Send/Receive and the auto-channel assign. so that won't work.

Might you know [via the provided Script] how ToolTips can be uncheck [disabled] ?

Thank-you for all your help. So appreciated.

Unfortunately this is something that TBProAudio has to fix. The setting is not remembered... I' ll give you an example: when you choose a Reaper theme and close Reaper and then re-open, you find the same theme loaded. This is because Reaper remembers the setting. The analogy with what happens with AB_LM and Reaper would be: you choose a custom theme in Reaper, you close and then re-open and find that the default theme is loaded and you have to choose again the custom theme you want. This is what happens with AB_LM. I hope you understand what I mean

EDIT.. I managed to do it by changing the BASE64 code of the instance.. This is a risky hack but seems to work.. You can download the script from the same link
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)

Last edited by amagalma; 05-26-2020 at 11:45 AM.
amagalma is offline   Reply With Quote
Old 05-26-2020, 04:04 PM   #47
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
Unfortunately this is something that TBProAudio has to fix. The setting is not remembered... I' ll give you an example: when you choose a Reaper theme and close Reaper and then re-open, you find the same theme loaded. This is because Reaper remembers the setting. The analogy with what happens with AB_LM and Reaper would be: you choose a custom theme in Reaper, you close and then re-open and find that the default theme is loaded and you have to choose again the custom theme you want. This is what happens with AB_LM. I hope you understand what I mean

EDIT.. I managed to do it by changing the BASE64 code of the instance.. This is a risky hack but seems to work.. You can download the script from the same link
Following your EDIT ...

ok ... its seems half of the pair has Tooltips OFF ... wow.

What we have. The RECEIVE plug is correct [no Tooltips].

It is the SEND plugin that still has it engage.

Wish I understood Programming better ... but I fall to ask you.

Once again ... thank you Amagalma.

RJ
RJHollins is offline   Reply With Quote
Old 05-27-2020, 01:25 AM   #48
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

I think I may be able to turn it off for the SEND too... But do you ever use the SEND? All the information is at the Receive..
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-27-2020, 01:36 AM   #49
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
I think I may be able to turn it off for the SEND too... But do you ever use the SEND? All the information is at the Receive..
I'm a little confused by your question ... I always always use AB+LM in Pairs, that bookend a plugin.

anyway

The SEND is just as important ... and affects the PAIR if ToolTips is ON either one [or both].

So I really need it disabled in SEND and RECEIVE.

Hope you're able to figure a solution/code for this.

Thanks again.
RJHollins is offline   Reply With Quote
Old 05-27-2020, 01:53 AM   #50
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

I mean that I personally never open to see the Send UI because there is nothing to see or set there, since the Link IDs are set automatically.


Anyway, here is the updated script where both Send and Receive have disabled tooltips.
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-27-2020, 10:01 AM   #51
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
I mean that I personally never open to see the Send UI because there is nothing to see or set there, since the Link IDs are set automatically.


Anyway, here is the updated script where both Send and Receive have disabled tooltips.
Ah, yes. The SEND module. Now that you have Tooltips OFF, I hope to rarely need to look at SEND for only the times I need to manually change Channels.

Did initial testing with the latest Script ... so nice !

amagalma ... If I may impose on your Genius ... for one [last] mod.

Would it be possible to have as a Script OPTION [edit mode], to choose whether the RECEIVE auto Floats, or Not.

Because of the way a Float GUI can sometimes get hidden amougst other windows [Reaper].

The first thing I usually set is the PDC. It would be more efficient to access in a non-float mode.

Once again ... another Thank-you !

RJH
RJHollins is offline   Reply With Quote
Old 05-27-2020, 11:34 AM   #52
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Do you want to continue seeing the in the chain the FX you were at, or you want to see the AB_LM Receive?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-27-2020, 01:10 PM   #53
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
Do you want to continue seeing the in the chain the FX you were at, or you want to see the AB_LM Receive?
oh wow ...

It would be better workflow to land on the RECEIVE.

thank-you !
RJHollins is offline   Reply With Quote
Old 05-28-2020, 04:02 AM   #54
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Here <---
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-28-2020, 10:35 AM   #55
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
Here <---
amagalma ... Thank-you very much !

RJHollins is offline   Reply With Quote
Old 05-30-2020, 05:33 AM   #56
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

-- --
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 03-14-2021, 01:06 AM   #57
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
-- --
Hi amagalma.

It's me .... again

TBProAudio has just released a new version of his AB_LM plugin.

It is now called : ABLM2


I was looking through the custom Script that you created for me, looking to see if I could change the dLL that was being referenced.

No luck [as a total novice].

I'd appreciate if it is something I can change [simple].

Where/ how ?

Thank-you
RJHollins is offline   Reply With Quote
Old 03-14-2021, 07:52 AM   #58
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

It is not as simple as that.. Possibly it may need a rewrite for the new plugins...
I'll download the newer version and check it when I can. Thanks!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 03-14-2021, 09:51 AM   #59
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
It is not as simple as that.. Possibly it may need a rewrite for the new plugins...
I'll download the newer version and check it when I can. Thanks!
Thank YOU
RJHollins is offline   Reply With Quote
Old 03-24-2021, 06:42 AM   #60
The-Zeronaut
Human being with feelings
 
Join Date: Mar 2009
Posts: 308
Default

Oh, man I was just looking for this thread because the "old" script does not work with the newly updated ABLM2 version

It is one of my most used and most useful scripts

I really hope you find the free time to update it
I hopelessly tried to see the code to see if I could investigate and maybe find a line for the name of the plugin, but I'm just an absolute idiot for this coding stuff XD
The-Zeronaut is online now   Reply With Quote
Old 04-23-2021, 07:16 PM   #61
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Hello amagalma, Hope all is well.

Your 'Bookend' script has been an essential part of my workflow.

As time would have it ... updates and new versions have happened.

Also ... new A/B plugins have been released.

The current one is the newly released PerceptionAB.
As well as the new version of TBProABLM.

Don't know if you're still creating Scripts ... but that would be great.

And if so ... I wondered if possible to make a more general BOOKEND script
that a User could edit the Script in the INIT, and that AB plug would pair around the select plug? just wondering ...

Still the initial question of your Scripting status.

Thanks for your considerations !
RJHollins is offline   Reply With Quote
Old 04-25-2021, 03:36 AM   #62
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Two new scripts uploaded to Reapack:
  • amagalma_Toggle enclose selected or focused FX in visible chain with ABLM2 Level Matching VST
  • amagalma_Toggle enclose focused FX chain with ABLM2 Level Matching VST
Inside the scripts you can set custom names for the send and receive instances

I have tested Win10x64/Reaper x64/VST3 only, but theoretically both VST2 and VST3 versions on all platforms should be supported.

Quote:
Originally Posted by RJHollins View Post
Don't know if you're still creating Scripts ... but that would be great.
...
Still the initial question of your Scripting status.
I still do it but not so often and only whenever and if I need to make something for me. Donations or paid script requests are almost non-existent, so my only motive is my pleasure and my needs..
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 04-25-2021, 04:23 AM   #63
The-Zeronaut
Human being with feelings
 
Join Date: Mar 2009
Posts: 308
Default

Thanks a lot!
The-Zeronaut is online now   Reply With Quote
Old 04-25-2021, 09:37 AM   #64
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
Two new scripts uploaded to Reapack:
  • amagalma_Toggle enclose selected or focused FX in visible chain with ABLM2 Level Matching VST
  • amagalma_Toggle enclose focused FX chain with ABLM2 Level Matching VST
Inside the scripts you can set custom names for the send and receive instances

I have tested Win10x64/Reaper x64/VST3 only, but theoretically both VST2 and VST3 versions on all platforms should be supported.



I still do it but not so often and only whenever and if I need to make something for me. Donations or paid script requests are almost non-existent, so my only motive is my pleasure and my needs..
Thank-you. Will test later tonite
RJHollins is offline   Reply With Quote
Old 04-28-2021, 12:20 AM   #65
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Hi amagalma,

Everything seems to be working very well with the new ABLM-2 script.

I would like to ask, if you would consider [possibly an option] ...

The current Script does a 'toggle' of Insert, and then Remove ... that works.

I would like to request an Insert only [do not remove] ... and that each new call of the Script, Inserts a new pair around the selected Fx[s], with 'Auto-Channel' Incremented.

Thank-you for your consideration
RJHollins is offline   Reply With Quote
Old 05-13-2021, 10:02 AM   #66
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

just 'bumping' this thread ...

I hope this is still in consideration ...

Thank-you amagalma
RJHollins is offline   Reply With Quote
Old 05-13-2021, 03:04 PM   #67
The-Zeronaut
Human being with feelings
 
Join Date: Mar 2009
Posts: 308
Default

Quote:
Originally Posted by RJHollins View Post
just 'bumping' this thread ...

I hope this is still in consideration ...

Thank-you amagalma
it has already been released for ablm2
update your reapack
The-Zeronaut is online now   Reply With Quote
Old 05-13-2021, 03:47 PM   #68
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by The-Zeronaut View Post
it has already been released for ablm2
update your reapack
I know the ablm-2 script was released ... but

what I asked was for the option to NOT remove the plugin pair [non-toggle].

are you saying that happened already ?
RJHollins is offline   Reply With Quote
Old 05-26-2021, 02:07 PM   #69
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Quote:
Originally Posted by RJHollins View Post
Hi amagalma,

Everything seems to be working very well with the new ABLM-2 script.

I would like to ask, if you would consider [possibly an option] ...

The current Script does a 'toggle' of Insert, and then Remove ... that works.

I would like to request an Insert only [do not remove] ... and that each new call of the Script, Inserts a new pair around the selected Fx[s], with 'Auto-Channel' Incremented.

Thank-you for your consideration

Sorry, I was away for some time and just saw this..


Here is the script for you: amagalma_Enclose selected or focused FX in visible chain with ABLM2
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 05-27-2021, 01:07 AM   #70
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Quote:
Originally Posted by amagalma View Post
Sorry, I was away for some time and just saw this..


Here is the script for you: amagalma_Enclose selected or focused FX in visible chain with ABLM2
Hi amagalma. Glad your back !

I downloaded, and assigned the script ... seems most is working ...

but ... could you please double check it. because ...

when I bookend the selected EFX ... the ABLM2 [receive] plugin that 'pops' out
is always Channel 1. Even if I'm doing the 2nd, or 4th FX bookend.

Both ABLM2's [channels] are correctly bookending ... but the last Receive
'popped out' one is displaying the Channel 1 [first one] every time.

appreciate when you could check this ... hope I made sense describing.

RJHollins is offline   Reply With Quote
Old 05-27-2021, 07:01 AM   #71
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Quote:
Originally Posted by RJHollins View Post
Hi amagalma. Glad your back !

I downloaded, and assigned the script ... seems most is working ...

but ... could you please double check it. because ...

when I bookend the selected EFX ... the ABLM2 [receive] plugin that 'pops' out
is always Channel 1. Even if I'm doing the 2nd, or 4th FX bookend.

Both ABLM2's [channels] are correctly bookending ... but the last Receive
'popped out' one is displaying the Channel 1 [first one] every time.

appreciate when you could check this ... hope I made sense describing.


I confirm it doesn't work properly.. I'll look at it..
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 06-04-2021, 12:40 AM   #72
RJHollins
Human being with feelings
 
Join Date: Dec 2011
Posts: 2,158
Default

Thanks amagalma,

I appreciate you giving another look at the Script.
RJHollins is offline   Reply With Quote
Old 06-05-2021, 03:20 AM   #73
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,450
Default

Uploaded amagalma_Enclose selected or focused FX in visible chain with ABLM2 Level Matching VST.lua to ReaPack.

# Inserts TBProAudio's ABLM2 Level Matching VST enclosing the selected FXs or the focused FX (if not any selected)
- Ability to rename the send and receive instances with custom names (inside the script)
- Supports multiple instances per FX chain, automatically numbered
- Smart undo point creation
- Requires JS_ReaScriptAPI


@RJHollins: This should work for you now
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma 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:59 PM.


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