Ctrldev driver - how to bypass audio processor in chain? [SOLVED]

Hi

For a Ctrl Driver,

What is the function to call to bypass an audio processor in a chain ?

Thanks

Hi @shieman - I don’t know the answer to your specific question, but I do have some pointers that hopefully will help, you may already know this stuff, anyways:

You’re probably going to use a Callable UI Action, or CUIA. You’ll find quite a few results from searching the Wiki and-or this Discourse for CUIA, including:

after that list in the Wiki, it says:

You can see the details in the Zynthian UI’s source code

The function might not exist yet because that area is so new, so you might have to add it or request it.

I hope that is helpful.

And, on May 4th, May the Force be with you.

1 Like

Thanks

I do not think it is the right direction, but i will look at.

Thanks very much

Hi @shieman,

I don’t think so too.

To understand what a ctrldev driver does, you can take a look at this post from @jofemodo.

It has helped me enormously to understand the different parts of the chain.

Kind regards,
Hans.

You can do almost anything from a ctrldev driver - the driver is the glue to your MIDI device.

And what you can do is only limited by the API, e.g. CUIA but can be more, that is available in Zynthian.

In order to bypass an AUDIO processor you have to access the “bypass” controller from the processor. Given you already have the processor object, let’s say the object variable is called “proc”:

proc.controllers_dict['bypass'].set_value(1)

Be warned that some processors use different names for the bypass controller: BYPASS, Bypass, ByPass

Kind regards,

Oh thanks a lot Jofemodo

I did it yesterday but that did not work, i wonder if i need to do an update of the processor ?

Thanks

Thanks HansR

I will read that post i did not see.
Cause i did a lot ‘reverse’ search in the different files to understand existence of controllers_dict…

Ok it’s working, i had a variable error…

Thanks !

3 Likes