Page 1 of 1

MUSINFO

Posted: Tue Sep 13, 2011 0:21
by Syfo-Dyas
I am currently messing around with MUSINFO under PrBOOM+, so please keep in mind that the solutions I am seeking must not draw upon features that are not in that source port, but will at the same time remain compatible with GzDOOM.

What I would like to know, is if there is a way to add a TAG to the OGG files I'm using, to prevent them from looping.

I.E. Once a song reaches it's end, it stops rather than continues to play.

This link got me thinking, but I don't see any TAG commands for DO NOT LOOP!

http://zdoom.org/wiki/Audio_loop

Re: MUSINFO

Posted: Tue Sep 13, 2011 7:22
by Graf Zahl
Just loop some silence.

Re: MUSINFO

Posted: Tue Sep 13, 2011 23:58
by Syfo-Dyas
Now how come I didn't think of that?

Now to figure out how to do these custom tags.

Re: MUSINFO

Posted: Wed Sep 14, 2011 18:46
by NeuralStunner
For OGG tags, look up WinVorbis. It's extremely handy.

Re: MUSINFO

Posted: Thu Sep 15, 2011 5:03
by Syfo-Dyas
Thank you! 
This program looks easy enough, but I appear to be missing something...

I opened up an OGG file within WinVorbis.

Went to other tags.

Created a new tag titled LOOP.

Put in the following info:

LOOP_START 00:00:20 LOOP_END 00:00:40

Then saved.


Apparently this is not correct because none of my OGG players are looping between the  20 and 40 second mark.

Do you happen to know where I'm going wrong?


I also tried putting the data into the tag comments, but that didn't work either.

I'm going from the Zdoom wiki, but it does not go into exact detail.

Re: MUSINFO

Posted: Fri Sep 16, 2011 18:46
by NeuralStunner
LOOP_START/LOOP_END are the tag names.

Granted, if you're only looping silence at the end, you'll only need LOOP_START.

Also, ZDoom is basically the only thing that's going to use loop tags at all. They're not a standard, so basically nothing you can do other than listen to them through in ZDoom.

Re: MUSINFO

Posted: Fri Sep 16, 2011 21:11
by Syfo-Dyas
I understand what the ZDOOM WIKI is saying, but it doesn't stop to explain to you how it is that one is to set things up within WinVorbis, WinAMP or what ever.

None the less, I believe I have found a guide on-line which I'm going to try out tonight when I get home:

http://www.rpgrevolution.com/forums/lof ... 33590.html (at the bottom of the page).


I realize that this is a ZDOOM feature, but the author of PrBOOM+ said it "might" work, so I'm going to give it a try. After all some features which he didn't realize his project supported, are in fact supported such as Hi-Res Sprites. :)

Of course the more that works in PrBOOM+ that works in GzDOOM the better. In that way I can finish my project then later have the option for creating extra content that will be GzDOOM specific should I desire so.