Hi, I am a novice with Pimoroni hat - Pirate Audio and from the beginning I encountered a problem with starting the system. Can anyone help me, please.
I bought Pirate Audio - Line-out version and connected to Raspberry Pi Zero WH.
- I’ve enabled SPI and I2C,
Used instruction: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-pirate-audio
Iris launches, I can see the all .flac files from the local directory, the buttons work.
Now Iris server - Web player trying play music only 4 seconds and repeat in loop. But is no sound. What is wrong with this hat ? On the right side foot web player, one of four icon informed about “No outputs”.
Tried with dtparam=audio=off in /boot/config.txt but nothings changed.
Ad. info:
aplay AzylP-MalaMaggie.flac
Playing raw data ‘AzylP-MalaMaggie.flac’ : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: pcm_write:2053: write error: Interrupted system call
aplay --list-devices
**** 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: 1/1
Subdevice #0: subdevice #0
aplay --device=hw:sndrpihifiberry AzylP-MalaMaggie.flac
Playing raw data ‘AzylP-MalaMaggie.flac’ : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:1339: Sample format non available
Available formats:
- S16_LE
- S24_LE
- S32_LE
/etc/mopidy/mopidy.conf
[raspberry-gpio]
enabled = true
bcm5 = play_pause,active_low,250
bcm6 = volume_down,active_low,250
bcm16 = next,active_low,250
bcm20 = volume_up,active_low,250
bcm24 = volume_up,active_low,250
[file]
enabled = true
media_dirs = /home/pi/Music
show_dotfiles = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
follow_symlinks = false
metadata_timeout = 1000
[pidi]
enabled = true
display = st7789
rotation = 90
[mpd]
hostname = 0.0.0.0
[http]
hostname = 0.0.0.0
[audio]
mixer_volume = 40
1 post - 1 participant