Make looping BGM - Part 1 (OGG Vorbis)

Yes. The metadata tags were fine. Maybe it was because I exported the selection instead of exporting the file? But doing the latter got the whole song regardless. I don't want the whole song, I just want to hear the beginning of the song in RPG Maker/Pokemon Essentials when I get into a trainer battle, and the looped section of the song which starts from 00:19 to 1:42. (The song in full is 3:12.)
Select about 1 second after the loop point all the way to the start, trim the song, loop points should still be fine. 😉
Huh? Be a little more specific, djDark. I just need a little more demonstration on what you want me to do.
Select about 1 second after the loop point all the way to the start

So do you want me to make three loop labels? I still don't know exactly what you want me to do.
Sorry in advance for necroposting but

I'd been avoiding using Audacity for YEARS thinking it was a hard program. Upon seeing this tutorial and noticing that the layout of Audacity had changed a bit discouraged me even more, but your tutorial looked so straight forward I'd be darned if I didn't try. Long story short I just made a loop, granted a poorly cut one, but a loop all the same using your tutorial and by gosh did I need this years ago! Not even for a game but just for general music use!

Thank you RyanBram for this tutorial, it has saved my games music big time!
I also hate the necropost idea (and for obvious reasons) but I had to come over and add something. Two actually.

First is the requirements. You have to be accurate with this - I was initially confusing seconds with samples which threw me off until I looked at it a bit more so follow to the exact specifications if you want it to work right. Second is the latest Audacity (v2.2.2) which is somewhat different in that portion of the editor - you now have four options instead of two which are now in a drop select - but otherwise the procedure is the same, just set it to start and length of selection which is the same as the old end/length toggle and the second on the list. (Besides, the two new options - Length and Centre and Length and End - are totally redundant for our purposes.)

EDIT: Clarified and cleaned up the description a bit. I have also noticed some interesting effects that can be done here as well - specifically, in terms of how this can be applied to any number of mass-market situational cues. For instance, seeing what happens when you do this with that Peter Gunn sequence (assuming proper clearance for actual implementation) nets some particularly interesting results.
EDIT: fixed my issue
Hi there, people! I know this is an old thread, but I'm having some issues. I have an intro (4 seconds 444444 microseconds) and a loop (31 seconds 111111 microseconds). I import them in Audacity, cut and paste the loop after the intro, add label track to the loop that's already selected after pasting... No matter how I save the file, it always loops from the start in both XMPlay and RPG Maker XP (yeah, not upgrading from Win XP). The same issue goes with Wavosaur when creating loop points. What am I doing wrong?
What am I doing wrong?
Check if the metadata loopstart and looplength are already registered.
In Foobar2000, it goes like this (my bgm).
Screenshot_1108.jpg

This is Theme2 from MV
Screenshot_1109.jpg

How you actually check the song metadata is... well up to you.
You can probably check it with any media player you have.
Don't forget to save it as ogg, I'm not sure if it works as another file extension.

Also since I don't have XP installed, I can't check if the loop point works there. If you have other versions of RM, maybe it's also better to check there as well.
Nevermind! I finally got this and made a video tutorial. 3 minutes of how to... the rest is testing in XMPlay. Thanks for your help and I hope to help others with this:


Later edit: You can export to WAV or FLAC for obvious quality reasons from Audacity and convert to OGG with any other software. The WAV and FLAC keeps the loop points. I've tried to name the loop points as "A" and "B" and it doesn't work. They MUST be named "LOOPSTART" and "LOOPLENGTH".
Side-note, this doesn't work in XP (or anything earlier, if that really needed to be addressed). I think this was introduced in VXA, dunno about VX.
I can confirm it works just fine with VX.
This can work in Mv? I mean, it's a tutorial to make ogg audio files loop, or just to make ogg audio files loop in vxace only?
This can work in Mv? I mean, it's a tutorial to make ogg audio files loop, or just to make ogg audio files loop in vxace only?
MV uses the same LOOPSTART/LOOPLENGTH metadata
Srry, I know this thread is old as f***, but I can't get it to work. It may not work with RPG MAKER MZ?

I remember years ago when I was using the VX, this I could do, and it worked perfect. I read the tutorial again and it is just how I remember it, but there is no point, when placing the edited music, the Maker only reproduces it from beginning to end, ignoring the loop that I marked.
ignoring the loop that I marked.
First of all, we need to see how you marked the loop.
I tried on both way, with "LENGHT" and "END" on the samples, and neither of the 2 works...
I tried on both way, with "LENGHT" and "END" on the samples, and neither of the 2 works...
You spelled it wrong
It should be LOOPLENGTH, not LOOPLENGHT
OMFG, I didn't realized. I'm fixing it right now.

EDIT:

There it works just perfect!

Incredible, I spent about 1 hour trying to see what was wrong, and modifying samples, and it was because I was wrong to the order of 2 letters.

Man, I have to improve my English, haha!

Many thanks!
Does the new version of Audacity which shows the times at a bit different way than shown in this tutorial have some other way of inputting the times in the metadata (or am I doing something wrong)? I put the numbers shown at the bottom for start and length into the metadata (with leading zeroes) and the bgm just plays a very short loop of a couple of seconds...

BGM_loops.jpg

Original thread: https://forums.rpgmakerweb.com/threads/make-looping-bgm-part-1-ogg-vorbis.10987/