Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

3

I may be able to contribute a bit. I have a 3B+ and use the built-in BT to connect to a Logitech Audio Adapter which feeds my stereo. On first attempts using VLC, audio was horrible, mostly silence with occasional blasts of sound - severe stuttering to say the least. However, using either mpg123 (for mp3s) or aplay (with wav files), sound played fine, ...


2

If you connect the hdmi first, it will use the hdmi as the audio output. Try connecting the audio jack first.


2

All that leads to behaviour specific error related to OS version (Voice HAT on Raspberry Pi). Problem with sudo not playing music was resolved after installing pure "Raspbian Stretch Lite" and adding all necessary drivers.


1

This will sound dumb, but the only thing missing was gstreamer1.0-pulseaudio. I missed to notice that one of the components needed pulseaudio, so I think that the pulseaudio install broke my Qt.


1

To answer my own Question at least to a small extend: VLC seems to offer a something similar to pygame but with the advantage that (to my knowledge) no screen is needed and it plays pretty much every data Format. Here a quick link: https://linuxconfig.org/how-to-play-audio-with-vlc-in-python As for the code, Iam still greatful for every advice, especially ...


Only top voted, non community-wiki answers of a minimum length are eligible