Old 05-24-2023, 07:55 AM   #1
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
Default Bypass last focused FX

We have the action FX: Toggle delta solo for last focused FX (42455).
It would be great to have the same for FX bypass.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 05-24-2023, 08:37 AM   #2
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,336
Default

While there is no action, you can use this workaround.
Code:
_, tracknumber, _, fxnumber = reaper.GetFocusedFX2()
if tracknumber ~= 0 then track = reaper.GetTrack( 0, tracknumber-1 )
else track = reaper.GetMasterTrack(0)
end
reaper.TrackFX_SetEnabled(track, fxnumber, 1-(reaper.TrackFX_GetEnabled(track, fxnumber) and 1 or 0))
vitalker is offline   Reply With Quote
Old 05-24-2023, 11:14 AM   #3
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,583
Default

Amazing, thanks Vitalker!! <3
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere 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:33 PM.


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