# BalenaSound on Pi Zero with HifiBerry zero does not play

**URL:** <https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165>\
**Category:** balenaOS\
**Tags:** raspberrypizero\
**Created:** [July 12, 2020, 7:12pm UTC](https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165 "2020-07-12T19:12:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vincent](https://forums.balena.io/u/Vincent)\
**Post date:** [July 12, 2020, 7:12pm UTC](https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165/1 "2020-07-12T19:12:26Z")

</div>

Hi There,

BalenaSound on Pi Zero with HifiBerry zero does not play. Some things seems to went fine:

- Define DT parameters “i2c\_arm=on”,“spi=on”,“audio=off”
- BALENA\_HOST\_CONFIG\_dtoverlay hifiberry-dac
- DISABLE\_MULTI\_ROOM 1

The device is visible in Spotify, there is says ’ listening’ . However in the log file:

12.07.20 21:07:55 (+0200) spotify ALSA lib pcm.c:8424:(snd\_pcm\_recover) underrun occurred

As i read on the forum i tried to disable multiroom (status = Exited) but the bluetooth-audio is still running. I want to disable those because there no need i hopefully the CPU usage will be lower and the underrun will be solved.

Any tips and trics are welcome.

Best regards,

Vincent

---

<div class="post-metadata">

**Author:** ![iamsolankiamit](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@iamsolankiamit](https://forums.balena.io/u/iamsolankiamit)\
**Post date:** [July 13, 2020, 10:36am UTC](https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165/4 "2020-07-13T10:36:08Z")

</div>

Hey,  
It looks like this is related to audio stuttering issue you can try some troubleshooting methods mentioned here [https://sound.balenalabs.io/docs/troubleshooting#audio-cuts-or-is-very-stuttery](https://sound.balenalabs.io/docs/troubleshooting#audio-cuts-or-is-very-stuttery).

We can also try and reduce the bitrate to 160 and see if `underrun` issue is resolved. You can update this in `spotify/start.sh`.

Cheers,  
Amit

---

<div class="post-metadata">

**Author:** ![Vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vincent](https://forums.balena.io/u/Vincent)\
**Post date:** [July 13, 2020, 1:54pm UTC](https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165/6 "2020-07-13T13:54:28Z")

</div>

hey Amit,

Thanks for you reply. I went to to the bluetooth-audio termal i found a start.sh in /usr/src. Howto edit this file in BalenaCloud? (I’m a BelenaCloud newbie)

Thanks in advance!

Best regards,

Vincent

---

<div class="post-metadata">

**Author:** ![nazrhom](https://avatars.discourse-cdn.com/v4/letter/n/ee59a6/32.png) [@nazrhom](https://forums.balena.io/u/nazrhom)\
**Post date:** [July 13, 2020, 4:09pm UTC](https://forums.balena.io/t/balenasound-on-pi-zero-with-hifiberry-zero-does-not-play/154165/7 "2020-07-13T16:09:10Z")

</div>

Hello Vincent, I think the file Amit was referring to should be [https://github.com/balenalabs/balena-sound/blob/master/spotify/start.sh](https://github.com/balenalabs/balena-sound/blob/master/spotify/start.sh) Did you deploy balena-sound directly though the `Deploy to Balena` button?  
If changes need to be made to the application then you will need to go through the “manual” deploy steps. Have a look at [https://sound.balenalabs.io/docs/getting-started#one-click-application-creation-and-deploy](https://sound.balenalabs.io/docs/getting-started#one-click-application-creation-and-deploy) for more information and let me know if you need any other help with this.

Best,  
Giovanni
