View Single Post
Old 01-30-2018, 01:15 AM   #1
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default Bypass all plugins that have EQ in name

Hey all,

I want to bypass all EQ plugins on a track.

So far I got:

Code:
oscmatch("/fx/name") + match(eq, oscparm(0,s)) ? (
   oscsend(osc_out, "b/fx/bypass", 0)
);
But this generally bypasses the 1. insert in the chain.
How can I retrieve the plugin number to bypass the correct plugin?
And will this also work, when there is more than 1 EQ in the chain?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote