falkTX / Carla

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

More Carla Ins/Outs in Patchbay mode #305

Open sonejostudios opened 9 years ago

sonejostudios commented 9 years ago

is there a possibility to add more Ins and Outs to Carla in the Patchbay mode? would be very nice :) cheers

falkTX commented 9 years ago

not dynamically, no. but right now you have:

is 32 stereo channels not enough?

sonejostudios commented 9 years ago

oh great, 16 is enough already. :) but where can I configure it? thanks in advance! all the best

falkTX commented 9 years ago

you don't configure it, you load a separate version that has the 16 outputs.

this is only for carla-patchbay plugin of course. rack mode is always stereo.

sonejostudios commented 9 years ago

I don't get it exactly... how can I load such a version? If I go to Configure Carla I can only choose between single-mode, multi-mode, rack and patchbay.

sonejostudios commented 9 years ago

okay I got it its a plugin :)

falkTX commented 9 years ago

those are the engine modes. the patchbay engine mode does work in stereo mode for JACK. I guess I can add extra options to customize the number of ports.

What I meant about the different versions was regarding carla as plugin. If you use carla in JACK multi-client mode you can add a "carla patchbay (16 channels)" plugin which will do what you want.

sonejostudios commented 9 years ago

If you use carla in JACK multi-client mode you can add a "carla patchbay (16 channels)" plugin which will do what you want.

thats it :) thanks!

nettings commented 7 years ago

Chiming in late... yeah, it would be awesome to be able to configure an arbitrary number of jack ins and outs when Carla is running as a Jack host in patchbay mode.

falkTX commented 7 years ago

Initial work for this in on the custom-patchbay-ports branch. At least with the JACK driver, you can set any number of audio ports by running carla like this: carla-patchbay --port-setup=8:2:1:1 in this case, 8 audio inputs and 2 audio ouputs, then 1 midi input and 1 midi output. support for custom midi ins/outs is not done yet, but audio should be working.

charleswue commented 5 years ago

Please excuse my ignorance.

I am trying to figure out how to use Carla with ambisonics sound and a cube speaker configuration. For that I need 8 final output channels and an ambisonics decoder (4 ins - 8 outs), plus a sound recording in WXYZ formt (.amb). If I do not use Carla it all works well (Jack+non-timeline+non-mixer as a decoder). If I add Carla and try to do the same patch configuration, Carla seems to eat my 8 channels and spit out stereo. I have been looking for the custom-patchbay-ports branch mentioned above and compiled it, but cannot find the above mentioned carla-patchbay executable.

What am I missing?

Ultimately I would be happy if I could use Carla's patchbay to do my sound routing with 4 inputs and 8 channels.

falkTX commented 5 years ago

I have not merged that branch yet, some code was changed that makes it incompatible.

but if you are using carla's develop branch (the default now), you can already have what you mention by using:

carla-single carlapatchbay16

this is also not an issue if you use jack in multi-client mode. then you can load pretty much anything

charleswue commented 5 years ago

Thank you so much! Carlapatchbay16 works well for the purpose as a plugin in Carla (multi-client). I can then add the ambisonics decoder in the patchbay.

falkTX commented 5 years ago

Glad to know that works. For the purposes of saving (since it is running actually as a plugin, so it does not manage its own state), you can "kill" it with SIGUSR1 and it will trigger a save internally, dumping the file to the current folder. Next time you run the same command again, it will restore that session

charleswue commented 5 years ago

Tried the "kill -SIGUSR1 processID" and sure enough, it asked me where to save. Not in your current directory though. Now I do not have to join channels by hand every time. Thank you a lot!

arifd commented 3 years ago

Hi Felipe,

Tagging onto this issue, perhaps somewhat Frankenstinely, I want to open a mono instance of carla-rack so that I can ensure that any plugins loaded aren't doing double the processing, is it also in the works to have the possibility for 1-in-1-out?

Many thanks, Arifd

falkTX commented 3 years ago

I have not been working on this at all, but I suppose a 1x1 mode of patchbay would be supported when this is done, sure.

RampedIndent commented 1 year ago

Would be great if i could add a 16x patchbay to a jack session manager instead of adding a carla instance then a 16x pach panel plugin