Music looping problem
#1
Posted 22 May 2012 - 09:10 PM
I've a problem with music in my game. I have a file for a certain level's background theme. When I play it in a media player and make it loop, it does so very smoothly. But when it plays in the game, at the end of the file, there's a short, but very noticeable pause before it starts playing again.
The file is mp3 format.
What to do to make it loop smoothly?
#2
Posted 22 May 2012 - 09:11 PM
#3
Posted 22 May 2012 - 09:27 PM
#4
Posted 23 May 2012 - 03:07 PM
Unfortunately there is nothing much you can do. The problem is inherent in the way that mp3 files work.
Converting the file to something else shouldn't be much of a problem, but will that make it loop smoothly?
If so, any recommended file formats?
Edited by Gral92, 23 May 2012 - 03:07 PM.
#5
Posted 23 May 2012 - 04:10 PM
Collaborating on a game, my dev partner used supersound.dll and then had it run .OGG files, which Game Maker can't run natively. Those files work really well in our game and he has them looping and fading into one another at different points with a bit of coding and the .dll file.
#6
Posted 23 May 2012 - 04:16 PM
That, or do like Daddio said and use a dll to use ogg files.
Edited by dannyjenn, 23 May 2012 - 04:16 PM.
#7
Posted 18 May 2013 - 03:51 PM
Yes I find wav files loop rather well. If you have a program that can make ogg files, they too should loop well
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











