I bought a speaker with a usb connecter. I want to play the audio file with the speaker. Is there a specific code for that?

Edit: I have 3 audio files to play so I'm not sure how to play multiple audio file with pygames.

  • 1
    Plug the speaker in then look with lsusb and dmesg commands to see what device appears. Then update your question with some details of the funky hardware you've bought. – Dougie Mar 4 '19 at 4:33

Your Answer

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

Browse other questions tagged or ask your own question.