CTRLDEV Processors Bug

Hi

I develop a CTRLDEV for my apc mini to get Fx state of a chain and beeing able to bypass or switch on a particular effect.

All is working, but when i read the state of the bypass state of processors of a chain, some bypass do not have the value of what is in the UI.

For example, GXBOOBTUBE bypass state is 1 in UI and effectively the effect is bypassed, but when i read the bypass value of the processor state, bypass is 0…

It does not happen for all Fxs, in my case : GXBOOBTUBE and GXWAHWAH…

Thanks

Hi @shieman !

This is changing in Vangelis quite fast. Please update.

We have improved bypass controller detection and now the “processors” have a “bypass_zctrl” variable. If it’s not None, the processor has a “bypass” controller and it’s this (bypass_zctrl).

Also, the bypass zctrl has a “bypass_value” variable that indicates the “logic” used by the bypass controller:

  • bypass_zctrl.bypass_value = 0 → plugin bypassed when value = 0
  • bypass_zctrl.bypass_value = 1 → plugin bypassed when value = 1

Anyway, you don’t need to worry about this if you use the “labels”:

  • “inline”
  • “bypass”

instead of numeric values.

I hope this help you to improve your driver.
Anyway, this is evolving quite fast, so expect some changes/improvements in the next hours/days.

Regards,

2 Likes

Oh thanks, great news, i did not understand.
I will try this Wednesday.

Oh where do i find the labels ‘inline’ or ‘bypass’ ?

Thanks

More improvements that simplify bypass management. Now processors have this 4 bypass-related functions:

  • get_bypass_zctrl() => return the bypass zctrl, if any
  • is_bypassed() => return True if the processor is bypassed, False if it’s online.
  • set_bypass(val) => set the bypass (True to “bypass”, False for “online”)
  • toggle_bypass() => toggle the bypass

This should simplify and make consistent your “bypass” management code.

Regards!

1 Like

Ouah !!!

It is perfect

Thanks !

1 Like

Hi

After tests, my driver is working and i can manipulate the Bypass.

But many effects on my chain behave on contrary : when Bypass is on, effect is on, bypass is “inline”, effect is off. But not all effects… This on the UI.

Thanks

Update and test again., please.

Regards

Hi

There are still some inversions. Some have been resolved by the update.
Some examples, I use this effects on my guitar chain :

Highpassfilter - ok
Ratatouille - ok
GxGraphiqEq - ok
2voices - ok
GxBoobTube - inversed
GxSustainer - ok
GxWhaWha - inversed
GxFlanger - ok
BollieDelay - ok
ArgotLuna - ok
Gxchorus-Stereo - inversed
Tal-reverb - ok

and on an other chain :

Larynx - ok
roomy - ok

Thanks

2 Likes

That seems, among effects i use, only some of Gx are inverted…

Try now :wink:

Regards,

OH it’s ok now !

Thanks a lot !:waving_hand:

1 Like