Ask coding questions

← Back to all posts
how can i add background music to pygame even when it says no available audio device?
815398 (0)

so i have tried different codes and they just dont work please HELP

mwilki7 (1012)

It won't work for pygame (as far as I know) because repl runs the code on their computers. Sound works for HTML5 projects since the code is sent to run on your browser on your machine (if it has speakers/headphones).

PDanielY (979)

I wonder how much computers has

PDanielY (979)

@mwilki7 no wonder why pygame is so slow

mwilki7 (1012)

@Salif500 check out one of the pinned posts
repl has an experimental library that will give sound to your repls