2

I am running Raspbian Stretch.

I've connected a USB sound device and selected it through the graphic interface.

This sends the sound out fine from youtube in Chrome but is silent with a Python program using Pygame (whether launched on startup or afterwards).

Any suggestions?

0

Have you tried using the python-sounddevice module? This module has functionality which lets you interrogate your system to see what sound devices are available and select which device to use.

python-sounddevice documentation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.