About custom music
- Overwatch-C-17
- Posts: 65
- Joined: Sun Jun 16, 2013 2:33 am
- Location: City 17
About custom music
Hello guys. Is zdoom nor gzdoom support a cue that embedded in a .wav file?
Cuz I have a music that want to be looped from a specified time.
Cuz I have a music that want to be looped from a specified time.
- Caligari87
- Admin
- Posts: 6236
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: About custom music
[wiki]Audio_loop[/wiki] may be helpful. Looks like it's only for OGG Vorbis and FLAC, both of which are acceptable alternatives to .wav.


- Overwatch-C-17
- Posts: 65
- Joined: Sun Jun 16, 2013 2:33 am
- Location: City 17
Re: About custom music
Ah yes, I see some of my custom mus. is .ogg vorbis mus. They need to be set a LOOP_START and LOOP_END tag command in the file. Could you give me an example how to write those commands correctly without the tag being ignored by ZDoom nor GZDoom?Caligari_87 wrote:[wiki]Audio_loop[/wiki] may be helpful. Looks like it's only for OGG Vorbis and FLAC, both of which are acceptable alternatives to .wav.
- Caligari87
- Admin
- Posts: 6236
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: About custom music
Any program that can set tags for MP3/OGG/FLAC can do it, just like editing Artist, Title, Track, Album, etc. Most audio editors, most music library managers, some media players, etc. Mp3tag is one such program which also works for OGG and FLAC. The way I understand it, you will need to define custom tags called LOOP_START and LOOP_END, and inside those tags you'll put the appropriate values as noted on the Wiki page.
I personally have not done this before so I'm not sure what problems you might run into. Read the manual/help for whatever tag-editing program you decide on, experiment with different values, etc.

I personally have not done this before so I'm not sure what problems you might run into. Read the manual/help for whatever tag-editing program you decide on, experiment with different values, etc.

- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: About custom music
Please consider using a compressed format before you upload your project!.wav
- Overwatch-C-17
- Posts: 65
- Joined: Sun Jun 16, 2013 2:33 am
- Location: City 17
Re: About custom music
Ok thanks for the info bro.Caligari_87 wrote:Any program that can set tags for MP3/OGG/FLAC can do it, just like editing Artist, Title, Track, Album, etc. Most audio editors, most music library managers, some media players, etc. Mp3tag is one such program which also works for OGG and FLAC. The way I understand it, you will need to define custom tags called LOOP_START and LOOP_END, and inside those tags you'll put the appropriate values as noted on the Wiki page.
I personally have not done this before so I'm not sure what problems you might run into. Read the manual/help for whatever tag-editing program you decide on, experiment with different values, etc.

Btw I've already try to experiment it with my custom music (.ogg) that used Audio Loop looping method.
boss01.ogg
Maybe you can try my music on zdoom or gzdoom. Is it accurately looped?
- Oberron
- Posts: 1048
- Joined: Sun Aug 02, 2015 1:20 am
- Graphics Processor: ATI/AMD (Modern GZDoom)
- Location: Czech Republic
- Contact:
Re: About custom music
MOD music files work. I actually tried it. Yes, you can have music from Unreal (the 1998 game) if you want to, but I'm not gonna give you the music itself. Look for it yourself. Trust me.
- Overwatch-C-17
- Posts: 65
- Joined: Sun Jun 16, 2013 2:33 am
- Location: City 17
Re: About custom music
k then, thanks guys this information really useful.
- Kinsie
- Posts: 7402
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: About custom music
This is how I did it for one OGG song in Reelism using Winamp's "View File Info" command:Overwatch-C-17 wrote:Ah yes, I see some of my custom mus. is .ogg vorbis mus. They need to be set a LOOP_START and LOOP_END tag command in the file. Could you give me an example how to write those commands correctly without the tag being ignored by ZDoom nor GZDoom?Caligari_87 wrote:[wiki]Audio_loop[/wiki] may be helpful. Looks like it's only for OGG Vorbis and FLAC, both of which are acceptable alternatives to .wav.

The timecode was grabbed using an audio editor (Goldwave) and translates to Hours:Minutes:Seconds.Microseconds.
- Shadow Hog
- Posts: 173
- Joined: Fri Aug 14, 2015 8:56 pm
Re: About custom music
Personally, when I'm making a loop in Audacity, I just note where it starts in samples and toss that into the Metadata before exporting. Can't get a whole lot finer granularity than samples.
Re: About custom music
Cool, I didn't know LOOP_START/END accepts sample position as its value (I thought only time code was accepted), I can just drop a marker at the exact measure where the song repeats and my DAW can export the exact sample that the measure was on!