0

I want to wait till pygame.mixer.music finished the Sound it's playing in the Moment and then start the next. I would use pygame.mixer.music.get_busy() but I need to do this in a second progress. My first idea was to use multiprocessing and make a second Process that waits for the Player to complete, but this didn't work.

Do you have any idea how to wait for the Player to finish and then start the next sound. As long as I do all this in my main Process everything works.

Thanks for your help

Dustin
  • 46
  • 6
  • 3
    take a look at `set_endevent()`. We can tell the mixer to send an event when the music has finished and then in our event loop we can check for that. – TheLazyScripter Oct 23 '21 at 21:42

0 Answers0