Replies: 1 comment 15 replies
-
After fiddling a bit around this problem, there are a lot of hurdles that makes this surprisingly difficult to do by hand. PreparationsCreate a sudo mkdir /usr/share/carla/services
sudo chown root:realtime /usr/share/carla/services
sudo chmod -R u=rwx,g=rw,a=r /usr/share/carla/services ProjectCreate a Carla project. You can always come back and edit it later, but for now, we'll save the empty project in Use as a deviceIf you want to use your Carla patch like any other input/output device in your computer, for instance, as a microphone input for Discord, you will need to do some additional configuration at this time. Assuming you are running pipewire, you will want to define a custom loopback device that auto-connect to your carla instance. TODO: document this part. ServiceNow that we have a project to run as a service. It's time to define the service in systemd. [Unit]
Description=Carla - <prefix>
After=pipewire.service
BindsTo=pipewire.service
Wants=wireplumber.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/carla --no-gui --cnprefix=<prefix> /usr/share/carla/services/<prefix>.carxp
[Install]
WantedBy=graphical-session.target You can save this service as Now, you can run: systemctl daemon-reload
systemctl --user enable carla-<prefix>.service
systemctl --user start carla-<prefix>.service ConclusionAnd voila! You can do this with different prefixes for as many patches you want to run. If you ever need to edit your patch, you can use Carla OSC to remotely connect to the service instance, though you might have to specify custom ports in I might turn this into a script if people are interested. |
Beta Was this translation helpful? Give feedback.
-
I use EasyEffects for some microphone processing, but I find their platform and UI very limited. I really like how Carla tries to act more like a DAW in that regard and give you full control over plugins, with access to their UI, and a much better ability to manage how audio is patched through. I'm also very interested in its midi capabilities to remote control some parameters with a MIDI controller.
I know that Carla already supports running in headless mode, and with the OSC version, can connect to that instance over the network (which conveniently includes localhost).
I wish there was a one click solution to create a systemd service that would:
I'm currently trying to design the service file, so I might have a template for it soon here, but I would really like if this could be integrated directly into Carla. I just wish I didn't had to think about managing the file myself if I ever want to setup a second pipeline for other reasons.
Beta Was this translation helpful? Give feedback.
All reactions