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

New answers tagged

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.


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.


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, ...


0

It is unclear why you think you need sudo or what the commands you are trying to run actually do, BUT the issue is almost certainly related to your PATH. Invoking su does not preserve the environment (see man su) so you loose access to some files accessible to pi. The way you installed the programs can also affect access. You can preserve your environment ...


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 ...


Top 50 recent answers are included