I am new to the RPI world, but I am liking it. I have purchased a RPI3 and a DIGI+ card I have installed KODI and everything is working fine. On a set of desktop computer speakers. The project objective is to put this setup in my truck. I am trying to control the volume and other than a SKIN I have not had much luck. I would like to install a volume knob and was woundering if any one has worked with this setup. I see a lot of DAC+ but no DIGI+ I should note I am trying to use the optical output. I have sent the optical signal to a converter to split it to 5.1 surround. That is working but no volume control is putting a damper on it. Does anyone have any suggestions.
as a 5.1 data stream is send to the SPDIF output unprocessed there is no way to control the volume on the Raspberry Pi. If you're playing standard stereo in PCM, you can use software volume control:
Hi HiFiBerry team,
Sorry to respond to such an old post, but it seems this link is broken. I want to find out more about volume control for standard stereo in PCM via the DIGI+ card. Do you happen to have another link with information about this?
Specifically, I'm interested in volume control from my phone when using spotify connect over a RPI3 with DIGI+ card.
Unfortunately this isn't available anymore, but you might have a look at the example in HiFiBerryOS:
works with a Hifiberry Digi+ in a Rpi Model B+ rev 1.2 running raspbian/rpi os buster 5.10.103+ #1529
Once the amixer controls command shows the Softvol control, you can set individual channel volume (i.e. control balance) with, for example:
amixer sset Softvol 95%,100%