falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.6k stars 147 forks source link

I can't get /Carla/…/set_parameter_value to work with touchOSC #1770

Open Diego-Bonilla opened 1 year ago

Diego-Bonilla commented 1 year ago

According to Carla's help, this command receives an integer and a float, I don't quite understand how I can do this in TouchOSC. I tried to do it in many ways but I couldn't get control. Commands like /set_volume, however, work without problems.

Could someone give an example of how they have made it work please.

falkTX commented 1 year ago

DId you check if the logs said something useful?

Diego-Bonilla commented 1 year ago

Hi!

I have been monitoring OSC messages with OSC utility, to understand more how it works, Now I understand that the problem is that existing OSC applications can only send float, boolean or intet values. It is not possible, for example, to send an OSC message with an integer and a float at the same time, which results in not being able to control any plugin parameters other than those already designated as active, dry/wet and volume.

The /set_parameter_value command expects two values, the integer value, which will indicate the number of the parameter to control, and then a float that will indicate the value of said parameter.

Has anyone the .../set_parameter_value command work?

Please help!

Diego-Bonilla commented 1 year ago

I was able to control the parameters of the plugins through OSC messages by console with OSC Utility, sending the integer and the float in the same message, for example:

$ ./osc-utility msg --address /Carla/1/set_parameter_value --port 22752 --int 1 --float 0.5

However, as I say in the title, it is not possible to do it with existing OSC applications.

Lowclock commented 1 year ago

Give Open Stage Control a shot. I use /Carla/#/set_parameter_value all the time with it. Controls everything great for me.