jhb
February 26, 2017, 11:35am
1
Hello,
I have a Speaker Phat on my Pi 2, Questions:
When I power the Pi from USB, the network crashes when I play a music file. Now I power the
Pi through the hat and all works fine. Is that normal?
I want to build a doorbell, so my file are only 1 or 2 seconds long. When I play nothing comes from
the hat. How can I fix this?
That seems odd. What power supply are you using to power your Pi?
What filetype are your doorbell sound files, how are you playing them?
jhb
February 26, 2017, 4:34pm
3
An old AT PSU
omxplayer -o alsa doorbell_01.mp3
jhb
March 1, 2017, 8:17pm
4
I made few more test
First attempt
Play a playlist of five one seconds mp3s with vlc -> vlc and audio crashes (vumeter light up at half)
Second attempt
Play a playlist of five one seconds mp3s with vlc -> it plays :) and it play also one one second mp3 alone
But at start of each file it makes a noisy sound, like plugging in speaker
The noisy sound is something we’re looking into, but so far we’ve only got some hypothetical fixes. It’s a far more complex issue to fix than it would appear.
jhb
April 16, 2017, 7:48pm
6
any news here?
filling char with nonsens
The fix at the moment is to use pulseaudio. I think a kernel level fix might be possible, but it’s not going to be imminent since it’s a colossal can of worms.
See: Speaker phat, loud clicks and removing the alsa driver