Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

rmxp - ogg not looping properly - working with FL

Hi,

As we know rmxp sux at looping mp3. I know about the gap thet FL (Fruity Loops) makes at the end of the song. I fought i switch correct settings on, to move the last sounds of the song ( the bit w/out block ), to the begining. However still after conversion to ogg some of the songs are not looping properly, and in some of thise songs a small buzz is hearable at the loop point. Any advice what can i do about it?

Thanks
 
The ogg has to be loaded before playing - it cannot be streamed like an mp3
so this buzzing occurs due to the fact that your ogg is large and takes a while to load
there is no way to fix this (except by cutting yout music down to around 3 seconds)
If you want perfect looping your best bet is huge-ass .wav
 
In all honesty, Ive only been using RMXP for about two days now.
However I know my share about sound formats.

Id suggest using a .wav file.
OGG and MP3 are compressed files. In order for RM to use it, it has to decompress the data, then play the resulting raw data. When the song loops, it has to re-decompress the data and begin over.

That being said, both .wav and .aff are compressionless. and as a result should loop much more smoothly.
 
clipnotdone":3p7ku7k3 said:
In all honesty, Ive only been using RMXP for about two days now.
However I know my share about sound formats.

Id suggest using a .wav file.
OGG and MP3 are compressed files. In order for RM to use it, it has to decompress the data, then play the resulting raw data. When the song loops, it has to re-decompress the data and begin over.

That being said, both .wav and .aff are compressionless. and as a result should loop much more smoothly.

Hmm, ok, but waves are quite mb heavy like 1:10. does anyone use wav bgm in their games?
 
Unfortunately thats the trade off.

At the moment Im using some MIDI filler songs of my own until I compose some larger songs.
I just checked looping with a .wav file, it loops perfectly.

The file size can be a pain. if you wrote the music, or have a little bit of skill with audio editing you can be clever about looping compressed files. Ive found the most effective way to hiding the decompression loop delay is to actually place a pause right before the loop is about to take place, to create the illusion that the short moment of silence is supposed to be there.
Unfortunatly this method only really works with heavy 4/4 based tunes.
 

mawk

Sponsor

I haven't used it personally, but it should at least allow .ogg to loop seamlessly, and it should allow you to use .ogg looping tags as well. the gap in .mp3 looping is I think a characteristic of the format itself (don't quote me on that,) but it sounds worth finding out.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top