Hi all,
I’m building a 2-way speaker based on Balena Sound, and I want to try implementing the crossover in software.
My stack looks like this so far:
- rp1 4 running Balena Sound
- Hifiberry Amp2 using the Hifiberry Dac+ driver for audio output: https://www.hifiberry.com/shop/boards/hifiberry-amp2/
So currently the Amp2 outputs two channels for stereo output. I want to re-route the audio through a software crossover, instead of L and R channels, my outputs are mapped to Bass and Treble - i.e. I want to take a single channel audio, and send that signal through a low-pass filter on one output, and through a high-pass filter on the other channel.
To implement the crossover, I found this project Camilla DSP: GitHub - HEnquist/camilladsp: A flexible cross-platform IIR and FIR engine for crossovers, room correction etc.
I think I can figure out how to get the audio from Camilla DSP to output from my DAC, but how can I get audio flowing from Balena Sound’s output into Camilla DSP?