Run this script with a suitably big audio file. I ran one with 20s length. You will hear the pauses between chunks. (Incidentally on my machine I only have ffmpeg installed. Therefore it defaults to ffplay. And there is a conversion to wav file prior to playing the audio. (https://github.com/jiaaro/pydub/blob/master/pydub/playback.py#L15)
Looking for a smoother alternative. Perhaps my code is to blame too!
Is there a faster way to play (without pauses)?
Run this script with a suitably big audio file. I ran one with 20s length. You will hear the pauses between chunks. (Incidentally on my machine I only have ffmpeg installed. Therefore it defaults to ffplay. And there is a conversion to wav file prior to playing the audio. (https://github.com/jiaaro/pydub/blob/master/pydub/playback.py#L15)
Looking for a smoother alternative. Perhaps my code is to blame too!