While most Raspberry Pi boards come with an onboard sound card, it's well known that the quality you can get from them is not the greatest. The Pi Foundation does an excellent job at keeping the cost of their boards down, but that comes with some compromises with audio being one of them. The audio circuitry does an OK job, but it's nothing stellar.
If you want to upgrade the sound quality of your balenaSound devices (or if you are using a board that does not have onboard sound card such as the Raspberry Pi Zero), you'll need to add a DAC board (Digital Audio Converter) to your project.
To get a DAC board to work with balenaSound, you will need to make a couple of changes to the device configuration in the balenaCloud dashboard. Click on the specific device within the application and select
Device configuration in the left-side menu. Once you're there, do the following:
RESIN_HOST_CONFIG_dtparamvariable to set
BALENA_HOST_CONFIG_dtoverlay. The value of this will depend on your DAC board (see table below).
If you're using multiple devices with multiple DACs for multi-room audio, you'll want to do this process per unique device that is using a DAC. Do not set this variable fleet-wide as it will affect every device within your application.
These are the DACs that are known to work with balenaSound. If your DAC is not on the list let us know! It's usually very simple to add support for new DACs, feel free to open a PR or issue on our repository.
|Suptronics X400||iqaudio-dacplus||With issues|
|Pimoroni Pirate Audio||hifiberry-dac||Yes|
|Pimoroni pHAT DAC||hifiberry-dac||Yes|
|Justboom DAC HAT||justboom-dac||Yes|
|Justboom Digi HAT||justboom-digi||Yes|
|Hifiberry DAC+ Light||hifiberry-dac||Yes|
|Hifiberry DAC+ Standard||hifiberry-dacplus||Yes|
|Hifiberry DAC+ Pro||hifiberry-dacplus||Yes|
|Hifiberry DAC Zero||hifiberry-dac||Yes|
|Hifiberry DAC+ DSP||hifiberry-dac||Yes|