python - Pygame music queue -
so question may not have nice answer. know if possible use queue in pygame.mixer.music play multiple tracks 1 after another. have midi files concatenate, were, there ugly 0.1s or gap between them when use pygame.mixer.music.queue
def play_music(): pygame.mixer.music.load(playls.get(0)) in playls.get(0,end): print pygame.mixer.music.queue(i) pygame.mixer.music.play(1)
the playls tk listbox has names of files play. plays songs fine, there small gap between each know if can eradicate. has shown not mid files wavs, , think might in library, , not "padding" might in sound file.
Comments
Post a Comment