0

DAC+DSP doesn't get Linux audio

Hi!  I'm excited to see what this DAC+DSP can do.  But first I have to get my "hello world" working...

I'm using Raspbian 10 on an RPi 3B.  Got networking working, expanded the SD card, renamed pi to my own username.

First I did this:  https://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/

Then this:  https://www.hifiberry.com/beocreate-sound-card-setup/

Then this:  https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/

Then this:  bash <(curl https://raw.githubusercontent.com/hifiberry/hifiberry-dsp/master/install-dsptoolkit)

Then this:  https://www.hifiberry.com/beocreate/beocreate-doc/beocreate-installing-the-sigmatcpserver/

I cloned the HiFiBerry-dsp git repo and ran this:  dsptoolkit install-profile hifiberry-dsp/sample_files/xml/sine777.xml

This gave me a tone.  Hooray!  My card works, and I can talk to it.

Then I did this:

dsptoolkit install-profile hifiberry-dsp/sample_files/xml/dacdsp-default.xml
dsptoolkit get-volume # returns 0 dB
speaker-test

But got nothing.  Weird.

aplay -l returns this:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Huh.  Subdevices is 0/1.  Weird.  Also, when I use omxplayer to play an MP3, it comes out the RPi's headphone jack.  That's a surprise.

Any ideas on how to proceed?

Thanks,
Brent Roberts

13 comments

Please sign in to leave a comment.