Looping music without glitches

Blitz3D Forums/Blitz3D Programming/Looping music without glitches

fall_x(Posted 2005) [#1]
Hi,

When I use loopsound, I can hear a glitch (i.e. a very small pause) when my loop restarts. It is cut out properly, if I play my track looped in cool edit, this glitch is not hearable.
How can I make sure it is playing correctly in blitz?


cermit(Posted 2005) [#2]
Did you try the music commands instead of sound commands? That might remove the glitch.


Rob Farley(Posted 2005) [#3]
I've never had a problem with loopsound, if I get the loop right in soundforge it works in blitz.


fall_x(Posted 2005) [#4]
okay, I found the problem, when cool edit saves an mp3, it adds a very small pause at the beginning. Maybe that's an option, so I'll have to find a way to turn it off.


IPete2(Posted 2005) [#5]
hmm,

maybe its because it is an mp3. They have to be loaded and decompressed by codecs... wavs would not give you such a problem, but of coruse they are much bigger.

IPete2.


Rob Farley(Posted 2005) [#6]
I've never had problems with oggs


Caff(Posted 2005) [#7]
Yeah use OGG, I've had problems with .mp3 loop gaps from other sources before. Also, OGG is a better format in my opinion.


fall_x(Posted 2005) [#8]
Yeah, I was planning to use ogg in the future, but whiole testing, mp3 is easier because cool edit can export to mp3 and not to ogg.