About custom music

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Overwatch-C-17
Posts: 65
Joined: Sun Jun 16, 2013 2:33 am
Location: City 17

About custom music

Post by Overwatch-C-17 »

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.
User avatar
Caligari87
Admin
Posts: 6236
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: About custom music

Post by Caligari87 »

[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.

8-)
User avatar
Overwatch-C-17
Posts: 65
Joined: Sun Jun 16, 2013 2:33 am
Location: City 17

Re: About custom music

Post by Overwatch-C-17 »

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.

8-)
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?
User avatar
Caligari87
Admin
Posts: 6236
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: About custom music

Post by Caligari87 »

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.

8-)
User avatar
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

Post by Matt »

.wav
Please consider using a compressed format before you upload your project!
User avatar
Overwatch-C-17
Posts: 65
Joined: Sun Jun 16, 2013 2:33 am
Location: City 17

Re: About custom music

Post by Overwatch-C-17 »

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.

8-)
Ok thanks for the info bro. :wink:
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?
User avatar
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

Post by Oberron »

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.
User avatar
Overwatch-C-17
Posts: 65
Joined: Sun Jun 16, 2013 2:33 am
Location: City 17

Re: About custom music

Post by Overwatch-C-17 »

k then, thanks guys this information really useful.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: About custom music

Post by Kinsie »

Overwatch-C-17 wrote:
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.

8-)
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?
This is how I did it for one OGG song in Reelism using Winamp's "View File Info" command:

Image

The timecode was grabbed using an audio editor (Goldwave) and translates to Hours:Minutes:Seconds.Microseconds.
User avatar
Shadow Hog
Posts: 173
Joined: Fri Aug 14, 2015 8:56 pm

Re: About custom music

Post by Shadow Hog »

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.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: About custom music

Post by Nash »

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!
Post Reply

Return to “General”