HEnquist / camilladsp-config

Help for setting up CamillaDSP, example config files etc
20 stars 4 forks source link

Configuring and running CamillaDSP

Running as a systemd service under Fedora 31 and newer

This is a way to run CamillaDSP as a systemd service to provide system wide filtering. This uses the Alsa backend for both capture and playback. These steps work on Fedora 31 and newer. Other distributions are probably similar, but there are likely some differences. If you try on another distribution and have to do something differently, please let me know and I will add that here.

Step 1: Install CamillaDSP to /usr/local/bin

Step 2: Load loopback driver on boot

Step 3: Add an Alsa "plug" for sample format conversion etc

This creates a "plug" device named "camilladsp" that sends its output to the Loopback device.

Step 4: Create the CamillaDSP configuration

Step 4: Set up systemd service for CamillaDSP

Step 5: (Optional,for usb dac) Add udev rule to start service when dac is connected

Step 6: (optional) Send desktop audio to CamillaDSP

Follow either the PulseAudio or the Pipewire steps.

To check what your system uses, run pactl info in a terminal and look at the line starting with "Server Name":

> pactl info
...
Server Name: PulseAudio (on PipeWire 0.3.30)
...

In the above output, Pipewire is in use. If Pulseaudio is used by the system, the server name will normally be "pulseaudio" only.

PulseAudio

Pipewire

Step 7: Reboot to verify that everything starts ok

Other files included