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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -