I'm trying to get my Pi4 2GB with HifiBerry Digi+ working with moOde but nothing seems to work to get actual audio output.
The device seems to be recognized:
Using speaker-test works, and I get the right output to the spdif coax that I'm using:
In moOde I've set it up as like so:
I can confirm that the stream works, as I get sound if I switch the device to the Headphone jack on the pi. But I'm not getting any sound at all out of the HifiBerry with the above settings. I've tried all 3 volume options (Software, Null, Fixed) as well as toggling the Output Mode to Direct. Nothing seems to work.
Interestingly, speaker-test reports that the device is busy if I try to run it while playing the stream:
Is there something I'm missing? Where do I go from here?
The device seems to be recognized:
Code:
pi@HifiBerry:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 [HifiBerry Digi HiFi wm8804-spdif-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Using speaker-test works, and I get the right output to the spdif coax that I'm using:
Code:
pi@HifiBerry:~ $ speaker-test -c2 -tsin -l1
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.758748
In moOde I've set it up as like so:
Code:
20221111 142201 worker: --
20221111 142201 worker: -- Start moOde 8 series
20221111 142201 worker: --
20221111 142201 worker: Successfully daemonized
20221111 142203 worker: File check (OK)
20221111 142204 worker: Session vacuumed
20221111 142204 worker: Session loaded
20221111 142204 worker: Debug logging (OFF)
20221111 142204 worker: --
20221111 142204 worker: -- Audio debug
20221111 142204 worker: --
20221111 142204 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221111 142204 worker: MPD config: (0:HiFiBerry Digi(Digi+) | mixer:(none) | card:0)
20221111 142204 worker: ALSA mixer actual (none)
20221111 142204 worker: ALSA volume (none)
20221111 142204 worker: --
20221111 142204 worker: -- System
20221111 142204 worker: --
20221111 142205 worker: Host (HifiBerry)
20221111 142205 worker: moOde (8.2.2 2022-10-23)
20221111 142205 worker: RaspiOS (11.5)
20221111 142205 worker: Kernel (5.15.61-v8+ #1579)
20221111 142205 worker: Platform (Pi-4B 1.5 2GB)
20221111 142205 worker: ARM arch (aarch64, 64-bit)
20221111 142205 worker: MPD ver (0.23.5)
20221111 142205 worker: CPU gov (ondemand)
20221111 142205 worker: USB boot (enabled)
20221111 142205 worker: File sys (expanded)
20221111 142205 worker: HDMI port (On)
20221111 142205 worker: Sys LED0 (On)
20221111 142205 worker: Sys LED1 (On)
20221111 142205 worker: --
20221111 142205 worker: -- Network
20221111 142205 worker: --
20221111 142205 worker: eth0 adapter exists
20221111 142205 worker: eth0 check for address (No)
20221111 142205 worker: eth0 address not assigned
20221111 142205 worker: wlan0 adapter exists
20221111 142205 worker: wlan0 country (CA)
20221111 142205 worker: wlan0 trying configured SSID (Momo)
20221111 142205 worker: wlan0 check 0 for IP address
20221111 142207 worker: wlan0 check 1 for IP address
20221111 142209 worker: wlan0 check 2 for IP address
20221111 142211 worker: wlan0 connected SSID is (Momo)
20221111 142211 worker: IP addr (10.0.0.20)
20221111 142211 worker: Netmask (255.255.254.0)
20221111 142211 worker: Gateway (10.0.0.1)
20221111 142212 worker: Pri DNS (10.0.0.2)
20221111 142212 worker: Domain (momo)
20221111 142212 worker: wlan0 power save disabled
20221111 142212 worker: apd0 router mode (Off)
20221111 142212 worker: --
20221111 142212 worker: -- Software update
20221111 142212 worker: --
20221111 142212 worker: Automatic check (Off)
20221111 142212 worker: --
20221111 142212 worker: -- Audio config
20221111 142212 worker: --
20221111 142212 worker: MPD conf updated
20221111 142212 worker: ALSA card number (0)
20221111 142212 worker: MPD audio output (HiFiBerry Digi(Digi+))
20221111 142212 worker: Audio formats (S16_LE, S24_LE)
20221111 142212 worker: ALSA mixer name (none)
20221111 142212 worker: MPD mixer type (software)
20221111 142212 worker: Hdwr volume controller not detected
20221111 142212 worker: ALSA output mode (Default: plughw)
20221111 142212 worker: ALSA loopback (Off)
20221111 142212 worker: Reset renderer active flags
20221111 142212 worker: CamillaDSP (off)
20221111 142212 worker: --
20221111 142212 worker: -- File sharing
20221111 142212 worker: --
20221111 142212 worker: SMB file sharing (Off)
20221111 142212 worker: NFS file sharing (Off)
20221111 142212 worker: --
20221111 142212 worker: -- MPD startup
20221111 142212 worker: --
20221111 142212 worker: MPD started
20221111 142212 worker: MPD accepting connections
20221111 142212 worker: MPD output 1 ALSA Default (On)
20221111 142212 worker: MPD output 2 ALSA Bluetooth (Off)
20221111 142212 worker: MPD output 3 HTTP Server (Off)
20221111 142212 worker: MPD crossfade (off)
20221111 142212 worker: MPD ignore CUE files (yes)
20221111 142212 worker: --
20221111 142212 worker: -- Music sources
20221111 142212 worker: --
20221111 142212 worker: USB sources
20221111 142212 worker: No drives found
20221111 142212 worker: NAS sources
20221111 142212 worker: None configured
20221111 142212 worker: --
20221111 142212 worker: -- Feature availability
20221111 142212 worker: --
20221111 142212 worker: Source select (available)
20221111 142212 worker: Source select (source: MPD)
20221111 142212 worker: Source select (output: HiFiBerry Digi(Digi+))
20221111 142213 worker: Bluetooth (available)
20221111 142213 worker: AirPlay renderer (available: started)
20221111 142213 worker: Spotify renderer (available: started)
20221111 142213 worker: Squeezelite (available)
20221111 142213 worker: RoonBridge renderer (not installed)
20221111 142213 worker: Multiroom sender (available)
20221111 142213 worker: Multiroom receiver (available)
20221111 142213 worker: UPnP renderer (available)
20221111 142213 worker: DLNA server (available)
20221111 142213 worker: GPIO button handler (available)
20221111 142213 worker: Stream recorder (n/a)
20221111 142213 worker: --
20221111 142213 worker: -- Other
20221111 142213 worker: --
20221111 142213 worker: USB volume knob (Off)
20221111 142213 worker: USB auto-mounter (udisks-glue)
20221111 142213 worker: Saved MPD vol level (0)
20221111 142213 worker: Preamp volume level (0)
20221111 142213 worker: MPD volume level (0) restored
20221111 142213 worker: ALSA volume level (None)
20221111 142213 worker: Auto-play (Off)
20221111 142213 worker: CoverView toggle (-off)
20221111 142213 worker: On-screen keyboard (Off)
20221111 142213 worker: Library scope (all)
20221111 142213 worker: Maintenance interval (360 minutes)
20221111 142213 worker: Screen saver activation (Never)
20221111 142213 worker: Session permissions (OK)
20221111 142213 worker: Mount monitor (Off)
20221111 142213 worker: Watchdog started
20221111 142213 worker: Ready
I can confirm that the stream works, as I get sound if I switch the device to the Headphone jack on the pi. But I'm not getting any sound at all out of the HifiBerry with the above settings. I've tried all 3 volume options (Software, Null, Fixed) as well as toggling the Output Mode to Direct. Nothing seems to work.
Interestingly, speaker-test reports that the device is busy if I try to run it while playing the stream:
Code:
pi@HifiBerry:~ $ speaker-test
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
Is there something I'm missing? Where do I go from here?