TitleMusic in OGG format refuses to loop

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

TitleMusic in OGG format refuses to loop

Postby DnB-Freak » Wed Jul 18, 2018 11:10 am

Due to the community It's possible to loop TitleMusic(MAPINFO) in OGG Vorbis format using the tags LOOP_START=[SMP] & LOOP_END=[SMP].
I used FooBar2000 to add these tags into a custom OGG Music supposed to loop infinitely.
According to the WIKI: https://zdoom.org/wiki/Audio_loop
It's supposed to work, but for me it doesn't.

When I launch the mod it plays and simply ends without restarting.
The tags I mentioned are included into the OGG inside the WAD, tested TIMIDITY++ among others,
still refuses to loop, just simply stops playing it.

In THIS OGG-file:
44100Hz, 162kbps, stereo
Samples: 448320

Have I missed something?
Drum and Bass in ya face
Joined: 19 May 2013

Re: TitleMusic in OGG format refuses to loop

Postby Chris » Thu Jul 19, 2018 6:52 am

The loop tags are only used when playing music with looping (i.e. they don't make the track loop, they just say how to behave when looping is used if end-to-end looping isn't good enough). IIRC, title music isn't played looping so the loop tags will be ignored. There may be a way to make title music play with looping, but someone else will have to speak on that.
User avatar
Joined: 17 Jul 2003

Re: TitleMusic in OGG format refuses to loop

Postby _mental_ » Thu Jul 19, 2018 7:11 am

This line triggers music on the title screen and this one explains the meaning of arguments. Notice the third one named looping explicitly set to false from its default value.
There is no problem with tags or their handling. Title music is playing just once (restart of sound system doesn't count).
Joined: 07 Aug 2011

Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest