View Single Post
Old 01-30-2018, 01:15 AM   #1
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 3,674
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 wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote