Page 1 of 1
A/B Switch for Jack?
Posted: Sat Dec 31, 2022 12:37 am
by lilith
I there something like an A / B Switch that works with Jack? I have different options for room correction, like LSP parametric EQ or jconvolver with IR response and I like to compare them side by side by quickly switching between two options.
Re: A/B Switch for Jack?
Posted: Sat Dec 31, 2022 2:39 pm
by LAM
lilith wrote: ↑Sat Dec 31, 2022 12:37 am
I there something like an A / B Switch that works with Jack? I have different options for room correction, like LSP parametric EQ or jconvolver with IR response and I like to compare them side by side by quickly switching between two options.
A similar topic that could be of your interest: carla : how to bypass plugin via midi
Re: A/B Switch for Jack?
Posted: Sat Dec 31, 2022 3:32 pm
by khz
carla,, KXStudio repositories

- switch.png (61.97 KiB) Viewed 2573 times
?
Overview:
Re: A/B Switch for Jack?
Posted: Sat Dec 31, 2022 3:43 pm
by LAM
khz wrote: ↑Sat Dec 31, 2022 3:32 pm
switch.png
?
You may try https://github.com/x42/xfade.lv2
Good catch @khz, Switchbox are a good alternative too, never used them:
Re: A/B Switch for Jack?
Posted: Sat Dec 31, 2022 3:47 pm
by lilith
xfade I know. Thanks for the suggestions. I have to get Carla running first. I will not install the KXrepos this time.
Re: A/B Switch for Jack?
Posted: Sun Jan 01, 2023 11:11 am
by Impostor
Happy new year!
You don't need Carla to use switchbox. Just extract stereoswitchbox.lv2 from the .deb installer of mod-utilities from the plugin page of kx.studio. And there's no need to install the kx-repo at all.
And in MusE at least, I can get a working switch, serviceable by a mouseclick or automation. I just haven't yet figured out how to switch 'live' with a midi command though, if at all possible..
Or am I misunderstanding the intention?
Re: A/B Switch for Jack?
Posted: Sun Jan 01, 2023 12:27 pm
by lilith
Impostor wrote: ↑Sun Jan 01, 2023 11:11 am
Happy new year!
You don't need Carla to use switchbox. Just extract stereoswitchbox.lv2 from the .deb installer of mod-utilities from the plugin page of kx.studio. And there's no need to install the kx-repo at all.
And in MusE at least, I can get a working switch, serviceable by a mouseclick or automation. I just haven't yet figured out how to switch 'live' with a midi command though, if at all possible..
Or am I misunderstanding the intention?
Thanks, Carla was not related to the switch. I just want to have it in general. The switchbox looks like exactly what I'm loiking for.
Re: A/B Switch for Jack?
Posted: Sun Jan 01, 2023 1:53 pm
by khz
With MIDI Learn?
Or from the Mod world: Assign a MIDI controller to the On/Off switch, set the Control to CV "Control" to 10, so that it is 0 when switched off and 10 when switched on.
CV Tutorial: https://wiki.moddevices.com/wiki/CV_Tut ... s_using_CV
Re: A/B Switch for Jack?
Posted: Sun Jan 01, 2023 5:23 pm
by Impostor
khz wrote: ↑Sun Jan 01, 2023 1:53 pm
With MIDI Learn?
Tried that. I can only switch from channel 2 to channel 1 with midi control, not the other way around (stereoswitchbox 2): touching the controller simply sets a value of 0, regardless of the initial value. No idea how to make it set a value of 1. (Tried as controllers the volume slider, the pitch bend wheel , and program change buttons.) Maybe it's a shortcoming of my midi keyboard, or my IQ.
Re: A/B Switch for Jack?
Posted: Sun Jan 01, 2023 7:14 pm
by lilith
LAM wrote: ↑Sat Dec 31, 2022 3:43 pm
khz wrote: ↑Sat Dec 31, 2022 3:32 pm
switch.png
?
You may try https://github.com/x42/xfade.lv2
Good catch @khz, Switchbox are a good alternative too, never used them:
xfade works 
Re: A/B Switch for Jack?
Posted: Mon Jan 02, 2023 8:19 am
by LAM
Impostor wrote: ↑Sun Jan 01, 2023 5:23 pm
khz wrote: ↑Sun Jan 01, 2023 1:53 pm
With MIDI Learn?
Tried that. I can only switch from channel 2 to channel 1 with midi control, not the other way around (stereoswitchbox 2): touching the controller simply sets a value of 0, regardless of the initial value. No idea how to make it set a value of 1. (Tried as controllers the volume slider, the pitch bend wheel , and program change buttons.) Maybe it's a shortcoming of my midi keyboard, or my IQ.
If your MIDI controller can be configured to assign a control/note as "toggle" you should be good.
Re: A/B Switch for Jack?
Posted: Mon Jan 02, 2023 8:17 pm
by Impostor
LAM wrote: ↑Mon Jan 02, 2023 8:19 am
If your MIDI controller can be configured to assign a control/note as "toggle" you should be good.
Thanks for the hint. I can indeed assign toggle messages to the "octave" buttons. And it does work as expected if I control volume and panning with it (press once-> value 127, press again-> value 0), but doesn't work for channel select, regardless of the cc# I'm using afaik.
Tested it with another plugin (calf phaser), and there it does work for both continous parameters (value range 0-127) and for its on/off switch (value range {0,1}). So I guess it's an issue of the stereoswitch plugin.
Tested some other mod-utilities plugins and they all have the same problem. But what I think is weird is that my sequencer (MusE) handles the data before the plugin does, not? So I'd expect to see the same automation behaviour in the automation graphs for the on-off switch of a Calf plugin and for the channel select switch of stereoswitchbox, but I don't...
Re: A/B Switch for Jack?
Posted: Tue Jan 03, 2023 5:32 pm
by Impostor
Hmmm, I guess it's a MusE thing. If stereoswitchbox is embedded within Carla, the channel select toggle does work as expected..
I guess I'll have to take this back:
You don't need Carla to use switchbox.