[Beads] Removing gap when looping mp3's
in
Contributed Library Questions
•
1 year ago
Hi!
I'm making a program where I play a music loop that bites its own tail in a way that makes a seamless loop. I've tested this in an audio processing program, and it works, so there is no silent gaps at the start or end of the mp3-file.
My problem is that when looping the mp3 with Beads SamplePlayer there is a small but noticable stutter as it starts playing the loop from the beginning that breaks the "flow" of the program.
I googled the problem and found out that the delay is most likely caused by the player having to decode the first part of the mp3 before starting it, and this takes a few milliseconds.
Is there any way of forcing Beads to decode the mp3 in a circular fashion so the small delay is removed?
I'm making a program where I play a music loop that bites its own tail in a way that makes a seamless loop. I've tested this in an audio processing program, and it works, so there is no silent gaps at the start or end of the mp3-file.
My problem is that when looping the mp3 with Beads SamplePlayer there is a small but noticable stutter as it starts playing the loop from the beginning that breaks the "flow" of the program.
I googled the problem and found out that the delay is most likely caused by the player having to decode the first part of the mp3 before starting it, and this takes a few milliseconds.
Is there any way of forcing Beads to decode the mp3 in a circular fashion so the small delay is removed?
1