Carla icon indicating copy to clipboard operation
Carla copied to clipboard

Remote controls work but only partially

Open lanmower opened this issue 1 year ago • 4 comments

I want to tell carla to remove all plugins, then tell it to load a file, from the cli

So I've managed to get OSC messages over to Carla, such as Carla/1/set_active 1 and 0

But I can't seem to get remove_all_plugins across, I've tried /ctrl/remove_all_plugins /remove_all_plugins and /Carla/remove_all_plugins and /Carla/ctrl/remove_all_plugins amd a few others

I also dont see the rest port listening if I check for listening ports

What would be the simplest way to do it? Currently I use killall and start cala every time, but its much slower than clicking remove all and loading a project

lanmower avatar Mar 26 '24 09:03 lanmower

I've just made a little TCP test because I assumed maybe some controls are unavailable on UDP

const osc = require('osc'); console.log(osc) // TCP Server

let server = new osc.TCPSocketPort({});

server.open('127.0.0.1', 22753); // change to remote host/port

server.on('ready', () => { console.log('ready'); server.send({ address: "/ctrl/register", }); setTimeout(()=>{ server.send({ address: "/ctrl/remove_all_plugins", }); console.log('sent ctrl') }, 2000) });

I'm still not getting any results, I feel like I'm close

lanmower avatar Mar 26 '24 10:03 lanmower

Can we get those messages available on udp? I think that will fix it for me

lanmower avatar Mar 26 '24 10:03 lanmower

Possibly related: #1846 I think not all controls available via UDP due to some are should send feedback of result status, so register needed (but not sure).

jpka- avatar Feb 28 '25 21:02 jpka-

More explanation #884 & search issues for OSC

jpka- avatar Feb 28 '25 22:02 jpka-