fb,
Again, my appreciation for your help.
One thing I like about DIETPI is you have the ability to view files through FILE EXPLORER without any desktop.
I believe it was you who mentioned winSCP which also gives you this ability.
I was using the mdsimon instructions - but did not know what to do since his "stuff" was for RPI . Of course, I had to insert the version I am using.
This is the part where I was concerned since I am not using RPI or aarch64. I will give it a try and see what happens.
wget https://raw.githubusercontent.com/mdsimon2/RPi-CamillaDSP/main/camilladsp.service -O /lib/systemd/system/camilladsp.service
No need for sudo with DIETPI.
I love my OS to have as little to it as possible - only what is needed. For my music player it is less than 900 mB. So far, the CAMILLADSP is 2.6GB. When I made the kernel for the music player I removed everything I could. This is the tickless kernel which I will try once I get this working. Whether it is as important for this duty is open to question! The kernel work is from BLITZ who posted his ideas and with his help I made a guide to do this. For those interested: https://www.diyaudio.com/community/threads/path-to-noiseless-linux-streamer.391202/
CAMILLADSP and the gui are not dainty! But they are doing lots of work.
Now, back to work trying to get my install to work.
Again, my appreciation for your help.
One thing I like about DIETPI is you have the ability to view files through FILE EXPLORER without any desktop.
I believe it was you who mentioned winSCP which also gives you this ability.
I was using the mdsimon instructions - but did not know what to do since his "stuff" was for RPI . Of course, I had to insert the version I am using.
This is the part where I was concerned since I am not using RPI or aarch64. I will give it a try and see what happens.
wget https://raw.githubusercontent.com/mdsimon2/RPi-CamillaDSP/main/camilladsp.service -O /lib/systemd/system/camilladsp.service
No need for sudo with DIETPI.
I love my OS to have as little to it as possible - only what is needed. For my music player it is less than 900 mB. So far, the CAMILLADSP is 2.6GB. When I made the kernel for the music player I removed everything I could. This is the tickless kernel which I will try once I get this working. Whether it is as important for this duty is open to question! The kernel work is from BLITZ who posted his ideas and with his help I made a guide to do this. For those interested: https://www.diyaudio.com/community/threads/path-to-noiseless-linux-streamer.391202/
CAMILLADSP and the gui are not dainty! But they are doing lots of work.
Now, back to work trying to get my install to work.
Last edited:
Hope I have not worn out my welcome.
Should there be something in the camilladsp/config and camilladsp/coeffs folders? There is nothing in mine.
When I type camilladsp on the command line I get this:
root@DietPi:~# camilladsp
-bash: camilladsp: command not found
root@DietPi:~# camillagui_backend
-bash: camillagui_backend: command not found
What have I missed?
Should there be something in the camilladsp/config and camilladsp/coeffs folders? There is nothing in mine.
When I type camilladsp on the command line I get this:
root@DietPi:~# camilladsp
-bash: camilladsp: command not found
root@DietPi:~# camillagui_backend
-bash: camillagui_backend: command not found
What have I missed?
Can you try: >systemctl start camilladspWhat have I missed?
Not to begin with. Configs will contain filter settings once you press save in the GUI for a working configuration. Coeffs will have info if you do e.g. FIR filters.Should there be something in the camilladsp/config and camilladsp/coeffs folders? There is nothing in mine.
//
And if that doesn't work, try:Can you try: >systemctl start camilladsp
/usr/local/bin/camilladsp
which is where this command: sudo tar -xvf ~/camilladsp/camilladsp-linux-aarch64.tar.gz -C /usr/local/bin/
extracts the file to. Sorry I missed that you are using Dietpi not on a pi 😅 I assume you've substituted amd64 for wherever you've seen aarch64 in the instructions.
Another option is leaving PA as is (because it has many relations to other software, can run in user- or daemon- modes, etc.), and disabling the HW cards used by CDSP in PA. That way PA works normally, just never talks to those cards, leaving them free for direct alsa access from CDSP., a few simple terminal instructions disabled the Pulseaudio service.
Thanks, that's what I thought.No, the main volume acts on all channels by design. The idea is to keep it as simple as possible to avoid painful mistakes, so it's not possible to bypass it. If you need fixed level outputs, then you will need to keep the main volume on full, add Volume filters to the non-fixed channels, and control those with one of the aux faders.
I want three additional outputs for loopback-recording (SPDIF & 2*analogue) with fixed output.
With the way you described it works well.
I just released v3.0.2 of the gui, pycamilladsp-plot and setup scripts. This fixes the incorrect version info.
https://github.com/HEnquist/camillagui-backend/releases/tag/v3.0.2
https://github.com/HEnquist/camilladsp-setupscripts/releases/tag/v3.0.2
https://github.com/HEnquist/camillagui-backend/releases/tag/v3.0.2
https://github.com/HEnquist/camilladsp-setupscripts/releases/tag/v3.0.2
Trying to unzip the new release with "tar -xvf ~/camilladsp/bundle_linux_aarch64.tar.gz" I get the following error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
I keep having a problem with cargo not being used by DIETPI. It is right there in my root directory. There is something missing in dietpi that is not allowing cargo to function. I have not tried fb's latest suggestion.
Oh, well.
Another of my annoying questions - if someone would be kind enough to humour me - what is the difference in running camilladsp as a service and not?
Is this more difficult to implement? Seems running it as a service one could have more control of it as far as priorities. Again, I fear I am showing my over-enthusiastic ignorance.
fb, you assumed correctly on the substitutions. I missed entirely that that instruction was placing camilladsp in the usr folder. As I slowly learn. THANKS for your help.
Oh, well.
Another of my annoying questions - if someone would be kind enough to humour me - what is the difference in running camilladsp as a service and not?
Is this more difficult to implement? Seems running it as a service one could have more control of it as far as priorities. Again, I fear I am showing my over-enthusiastic ignorance.
fb, you assumed correctly on the substitutions. I missed entirely that that instruction was placing camilladsp in the usr folder. As I slowly learn. THANKS for your help.
Running it as service, assuming it is enabled, allows it to startup automatically on boot and run without user interaction. You can specify all of your startup options in the camilladsp.service file so that you don't need to manually enter them via the terminal to start CamillaDSP.Another of my annoying questions - if someone would be kind enough to humour me - what is the difference in running camilladsp as a service and not?
I followed the instructions in the link below; it is pretty simple. Mostly copy and paste, though you have to update a couple of service files with your user name, but even for that you can copy and paste the commands into your terminal to open the files:Is this more difficult to implement? Seems running it as a service one could have more control of it as far as priorities. Again, I fear I am showing my over-enthusiastic ignorance.
https://github.com/mdsimon2/RPi-CamillaDSP
You don't need to use cargo for anything! It's only needed if you want to compile CamillaDSP from source. I publish binaries that work on most systems with each release. You just need to download the correct one and decompress it, that's it. The latest are here: https://github.com/HEnquist/camilladsp/releases/tag/v3.0.0keep having a problem with cargo not being used by DIETPI.
But it seems that quite a few people miss this in the readme, so it's obviously not good enough. My problem is that I have spent so much time staring at that readme that I'm getting quite blind to any issues. Help appreciated!
I have the shortcoming of obsessing over details that no longer matter.
PLEASE no apologies from you of all people. I cannot imagine the thought and time that has gone into this project.
Of course, I should have noticed the difference in the instructions that mdsimon had provided for RPI though the basics of that are useful to all with translation and what I was reading on your README. I thought I was missing something and sure enough I was! The problem it was the opposite of what I thought I was missing.
Tonight - I begin again.
I have been enjoying the resources of DIYAudio for many years and there have been many fine projects presented but I do not think ANY have matched the grandeur of camilladsp. I can only imagine how beautiful its namesake must be.
Can't wait to use it!
Thanks, yet again.
PLEASE no apologies from you of all people. I cannot imagine the thought and time that has gone into this project.
Of course, I should have noticed the difference in the instructions that mdsimon had provided for RPI though the basics of that are useful to all with translation and what I was reading on your README. I thought I was missing something and sure enough I was! The problem it was the opposite of what I thought I was missing.
Tonight - I begin again.
I have been enjoying the resources of DIYAudio for many years and there have been many fine projects presented but I do not think ANY have matched the grandeur of camilladsp. I can only imagine how beautiful its namesake must be.
Can't wait to use it!
Thanks, yet again.
Thanks to mdsimon I have finally got it installed.
Finally followed all of his guidance and installed UBUNTU as he had.
It is actually as easy as one could ask for.
Thanks to all who put up with me. And immense thanks to Mr. Enquist.
Not to get a DANTE card.
Finally followed all of his guidance and installed UBUNTU as he had.
It is actually as easy as one could ask for.
Thanks to all who put up with me. And immense thanks to Mr. Enquist.
Not to get a DANTE card.
Help ... I'm using Camilladsp on Kubuntu 24.04 and 24.10 on an Intel x86 machine with Pipewire & Wireplumber & Loopback
I can play audio, process it through Camilladsp and send it out on a multichannel dac ... BUT
I have 2 challenges
Using speaker-test and easy-effects it seems that pipewire and loopback are interacting ok ... each of the 8 channels tested shows up in the easy-effects monitor
Qpwgraph suggests pipewire connects everything correctly - it shows 8 Loopback channels connected as expected on Kubuntu 24.10
Here are the pipewire loopback definitions in ~/.config/pipewire/pipewire.conf
Note that I also posted an entry in AskUbuntu with a little more debugging detail (no replies yet) AskUbuntu Question - Pipewire & Loopback
Multi-channel audio works well with Camilladsp when sent directly via Alsa Loopback, the problems seem to relate to using pipewire & wireplumber
It's likely I've misunderstood or misconfigured something ....so I'd rather not waste Henrik's time chasing a non-existent problem
Is anyone else successfully sending multichannel audio to camilladsp using pipewire & alsa's loopback ? Any pointers on what to change, where to look or debugging ?
I can play audio, process it through Camilladsp and send it out on a multichannel dac ... BUT
I have 2 challenges
- Unable to open 8 channels in the "source" ie. the player (VLC say) can open and use 8 channels but Camilladsp can open no more than 6
- Channels are mapped in an odd manner. Basically Centre & LFE are both sent to the same channel and RL & RR are both sent to the same (different to Centre&FLE) channel
Using speaker-test and easy-effects it seems that pipewire and loopback are interacting ok ... each of the 8 channels tested shows up in the easy-effects monitor
Qpwgraph suggests pipewire connects everything correctly - it shows 8 Loopback channels connected as expected on Kubuntu 24.10
Here are the pipewire loopback definitions in ~/.config/pipewire/pipewire.conf
{ factory = adapter
args = {
factory.name = api.alsa.pcm.sink
node.name = "alsa-sink"
node.description = "My-Loopback-Snk"
media.class = "Audio/Sink"
api.alsa.path = "hw:Loopback,0,0"
audio.channels = 8
# audio.position = [ FL FR RL RR FC LFE ] # No combination of channel names or format fixes the mapping, in source/sink or both
resample.quality = 10
stream.dont-remix = true # Doesn't make any difference to mapping problems
}
}
{ factory = adapter
args = {
factory.name = api.alsa.pcm.source
node.name = "alsa-source"
node.description = "My-Loopback-Src"
media.class = "Audio/Source"
api.alsa.path = "hw:Loopback,1,0"
audio.channels = 8 # Camilladsp can only open 6 channels
resample.quality = 10
stream.dont-remix = true # Doesn't make any difference to mapping problems
}
}
]
Software | Version On Kubuntu 24.10 | Version On Kubuntu 24.04 |
Camilladsp (installed using the nifty install scripts) | v 3.0.2 | v 2.0.3 |
Kubuntu | V 24.10 kernel 6.11.0-14-generic | v 24.04 kernel 6.8.0-53-generic |
Pipewire | v 1.2.4 | v 1.0.5 |
Wireplumber | v 0.5.6 | v 0.4.17 |
Easy Effects | v 7.1.7 |
Note that I also posted an entry in AskUbuntu with a little more debugging detail (no replies yet) AskUbuntu Question - Pipewire & Loopback
Multi-channel audio works well with Camilladsp when sent directly via Alsa Loopback, the problems seem to relate to using pipewire & wireplumber
It's likely I've misunderstood or misconfigured something ....so I'd rather not waste Henrik's time chasing a non-existent problem
Is anyone else successfully sending multichannel audio to camilladsp using pipewire & alsa's loopback ? Any pointers on what to change, where to look or debugging ?
yes, ignoring the loopback name changes (supposed to protect the guilty 🙂
Chain ie .... Speaker-test --> Pipewire My-Loopback-Snk --> Pipewire My-Loopback-Src --> Camilladsp ---> Alsa hw:1,0 dac
or diagram from qpwgraph while testing with speaker-test
Chain ie .... Speaker-test --> Pipewire My-Loopback-Snk --> Pipewire My-Loopback-Src --> Camilladsp ---> Alsa hw:1,0 dac
or diagram from qpwgraph while testing with speaker-test
- Home
- Source & Line
- PC Based
- CamillaDSP - Cross-platform IIR and FIR engine for crossovers, room correction etc