• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Seeking DAC/ADC for RPi + CamillaDSP (2in/4out)

PeteSahat

Member
Joined
Dec 28, 2023
Messages
30
Likes
10
Hi!
I am looking for a DAC solution for the Camilla DSP. The RPi and DAC should be able to fit together with the amplifier boards in a compact enclosure. The DSP is mainly used as a crossover for a pair of two-way desktop monitors.


I thought I had found a suitable solution with the Audio Injector Octo Pi Hat. Unfortunately, it seems that the project has been abandoned. After some searching, I found the correct kernel for using it with the Octo. The board works with Camilla. However, for use as a DAC in connection with a crossover, it seems unsuitable because the output channels get swapped in a certain pattern after every reboot. This could prove fatal for a tweeter.
A Github user provided code to fix the channel swapping issue. (gtkiostream/test/ALSAFullDuplexMinScan.C at master · flatmax/gtkiostream · GitHub)
I used this code to create a bootable image with the help of a code-generating AI. However, this doesn’t work reliably, and the channels are still occasionally swapped.


So I am looking either for a solution to use the Octo with fixed output channels, or another compact IO interface for the RPi. I would like to keep using Camilla. I like the GUI and find the web interface setup very convenient. The computing power of the RPi surpasses limited DSPs like the ADAU1701. I already use miniDSP and Sure boards. The latter I find quite inconvenient due to the need for a programmer and Sigma Studio.


Do you perhaps have any tips for this rather typical project? Any recommendations are much appreciated! Thanks!
 
This could prove fatal for a tweeter.
This is NOT a solution but it's "good practice" to put a capacitor in series with the tweeter to block bass just in case anything goes wrong. It will also protect from DC if the amp blows and puts-out DC. It should be calculated to "kick-in" at a lower frequency than the actual crossover so it doesn't mess-up your carefully designed/calculated crossover.
 
I wonder if you've seen

I did but couldn't find a suitable solution for my case.
This is NOT a solution but it's "good practice" to put a capacitor..

I will take this into account in the speaker design.

Get a HiFiBerry DAC8x:

Then I would still need to implement an ADC. The cool thing about the Octo is that it combines both an ADC and DAC as well.
The channel swapping issue renders it unusable for now. But it seems this problem can be solved through software upgrades.

For now I'm using a Maya 44 USB audio interface for testing purposes.
 
I did but couldn't find a suitable solution for my case.


I will take this into account in the speaker design.



Then I would still need to implement an ADC. The cool thing about the Octo is that it combines both an ADC and DAC as well.
The channel swapping issue renders it unusable for now. But it seems this problem can be solved through software upgrades.

For now I'm using a Maya 44 USB audio interface for testing purposes.
There's an Hifiberry ADC that works with the Hifiberry Dac8x
 
Yes that's one I was thinking, I'm contemplating buying one myself and I'm not sure on it's performance though
 
Whoa, I finally managed to run the Audio Injector Octo and CamillaDSP without the channel swapping issue! The key is to use the JACK Audio Connection Kit API with a fixed channel assignment. Now, with JACK and real-time scheduling, I have an extremely low-latency audio environment that's also suitable for music production.
I can provide all steps necessary for setting up if anyone's interested.

Now I can move on building the 4 channel amp.
 
Back
Top Bottom