waylonion
waylonion

Reputation: 6976

Slight pause between sound loop with Simple Audio Engine

When playing background music in Simple Audio Engine with playBackgroundMusic loop:YES, there seems to be a slight delay before the audio loops back to the beginning and starts over again. Is there any way to prevent this slight pause?

Upvotes: 0

Views: 1361

Answers (2)

Hayk Geghamyan
Hayk Geghamyan

Reputation: 105

I try The MP3Loop utility and it really helped me. Mp3 files after converting with this utility played as background music with loop without any delay. But it is only for Windows. http://www.compuphase.com/mp3/mp3loops.htm

Upvotes: 1

YvesLeBorg
YvesLeBorg

Reputation: 9079

The pause is actually an artefact of the MP3 encoding/compression algorithms. There are ways to suppress the pause, by doing some math on the 'last frame' of the stream and the first frame. Some software tools exist for that. I ended up using Winamp pro for that purpose, using the built-in LAME encoder.

For more information on this , look here

Upvotes: 3

Related Questions