WAV File Loops in OpenMPT

Post general stuff here
Forum rules
Do Not Post About Other Games here but in the Thread provided for it.
Post Reply
User avatar
EpsilonXangent-(DOG)-
-(DOG)-
-(DOG)-
Posts: 233
Joined: Tue Aug 22, 2017 12:51 am
Location: Cairo, Egypt

WAV File Loops in OpenMPT

Post by EpsilonXangent-(DOG)- » Wed Jul 11, 2018 6:11 am

Xangent Speaks,


I decided to take my time and do something with a game (Return to Castle Wolfenstein)'s music files to make them loop at the right time (In other words, smooth loop transitions), by which some of them succeed on looping at the right time in the transition, while others are a bit racing on the original soundtrack's loop end, which is a bit irritating.

Is there a way in order to make the loop transition smooth and that it ends at the right time without racing the soundtrack's end?

I will try to upload at least two of RtCW's soundtracks that I used in OpenMPT in order to know what causes the problem.


Best Regards. :)


WOOF!


EDIT: These files are OpenMPT files packed in a RAR file, so if there's a solution, I'm more than happy to listen and carefully follow instructions:

RtCW OST Modules.rar
You do not have the required permissions to view the files attached to this post.
Time is of the Essence, and so is Life... Master it carefully...

User avatar
Leo(T.C.K.)
FOD
FOD
Posts: 455
Joined: Wed May 27, 2009 7:50 pm

Re: WAV File Loops in OpenMPT

Post by Leo(T.C.K.) » Wed Jul 11, 2018 2:40 pm

I do not have the sufficient knowledge to help you in this as I am not aware of the programs you used...

But...I know that some CDs have tracks "cut" incorrectly. Not sure if that's what you refer to, as in that you hear the start of the next song at the end of the last one.

Otherwise I am afraid I do not know what exactly you refer to (and I haven't viewed the attached file yet).

I will, but not immediately.

User avatar
EpsilonXangent-(DOG)-
-(DOG)-
-(DOG)-
Posts: 233
Joined: Tue Aug 22, 2017 12:51 am
Location: Cairo, Egypt

Re: WAV File Loops in OpenMPT

Post by EpsilonXangent-(DOG)- » Wed Jul 11, 2018 4:18 pm

Leo(T.C.K.) wrote:
Wed Jul 11, 2018 2:40 pm
I do not have the sufficient knowledge to help you in this as I am not aware of the programs you used...

I respectively only used OpenMPT, just added in the songs, and made various patterns for the CD Tracks to play regularly. So the songs are samples.
I then added a position jump in order to smoothly go for the next transition.

Leo(T.C.K.) wrote:
Wed Jul 11, 2018 2:40 pm
But...I know that some CDs have tracks "cut" incorrectly. Not sure if that's what you refer to, as in that you hear the start of the next song at the end of the last one.
That isn't what I actually referred to, I meant that there are some songs that loop correctly when put in loop mode, which means that a single song would actually loop immediately back to the start after it ends, without a delay/gap between the end and the start of the song.
Leo(T.C.K.) wrote:
Wed Jul 11, 2018 2:40 pm
Otherwise I am afraid I do not know what exactly you refer to (and I haven't viewed the attached file yet).

I will, but not immediately.

It doesn't necessarily have to be now or immediate, but unless you can take time and do it, you are more than welcome.



Best Regards. :)


WOOF!
Time is of the Essence, and so is Life... Master it carefully...

User avatar
Leo(T.C.K.)
FOD
FOD
Posts: 455
Joined: Wed May 27, 2009 7:50 pm

Re: WAV File Loops in OpenMPT

Post by Leo(T.C.K.) » Wed Jul 11, 2018 6:15 pm

OK hold on, so all you want is the "silence" at the end to be gone, right?

Why can't you just cut it off from the end then if that's the issue?

User avatar
EpsilonXangent-(DOG)-
-(DOG)-
-(DOG)-
Posts: 233
Joined: Tue Aug 22, 2017 12:51 am
Location: Cairo, Egypt

Re: WAV File Loops in OpenMPT

Post by EpsilonXangent-(DOG)- » Thu Jul 12, 2018 12:23 am

The issue is that when I usually put the position jump at the perfect end of a song, it gets to a point where the end of the song wouldn't continue and that the beginning immediately starts before 1/4 of the end.
Time is of the Essence, and so is Life... Master it carefully...

User avatar
Leo(T.C.K.)
FOD
FOD
Posts: 455
Joined: Wed May 27, 2009 7:50 pm

Re: WAV File Loops in OpenMPT

Post by Leo(T.C.K.) » Thu Jul 12, 2018 8:00 am

Well, I don't use any tracker program currently, the first song I tried still sounds fine despite I guess ending early.

EDIT: Try to give me the wav files and I'll see how it is. But I can't do a thing now when it's inside the tracker file.

User avatar
EpsilonXangent-(DOG)-
-(DOG)-
-(DOG)-
Posts: 233
Joined: Tue Aug 22, 2017 12:51 am
Location: Cairo, Egypt

Re: WAV File Loops in OpenMPT

Post by EpsilonXangent-(DOG)- » Thu Jul 12, 2018 4:06 pm

Roger that, here are the files:
RtCW_WAVFiles.rar

Keep in mind though, "RtCW_HeadQuartersBriefing" has the second part of the briefing soundtrack mixed with the first to form the full soundtrack. So the first part of the briefing soundtrack is complete and ends at the right time, only the second doesn't go with the flow.
You do not have the required permissions to view the files attached to this post.
Time is of the Essence, and so is Life... Master it carefully...

User avatar
Leo(T.C.K.)
FOD
FOD
Posts: 455
Joined: Wed May 27, 2009 7:50 pm

Re: WAV File Loops in OpenMPT

Post by Leo(T.C.K.) » Fri Jul 13, 2018 5:14 pm

OK well all I have to say is that these files do not loop on themselves, like most Unreal looping sounds do. Would you want that to be the case, or is this purely related to OpenMPT then?

If just to OpenMPT I'm afraid I can't help you with that but of course I could set the stuff to be looping on default as sound itself.

User avatar
EpsilonXangent-(DOG)-
-(DOG)-
-(DOG)-
Posts: 233
Joined: Tue Aug 22, 2017 12:51 am
Location: Cairo, Egypt

Re: WAV File Loops in OpenMPT

Post by EpsilonXangent-(DOG)- » Fri Jul 13, 2018 7:19 pm

I think that should be the case, until I could actually find a solution to this myself...
I don't think it has to deal with OpenMPT, I genuinely am uncertain if the loops are OpenMPT's problems or the sound files themselves, because when I used the looping feature in the Sample section, they were looping like how I expect them to loop, but it seems that OpenMPT doesn't really loop the sample at the exact end of the song.

Anyway, we might try to look further, maybe we might find out a pretty great solution!
Time is of the Essence, and so is Life... Master it carefully...

Post Reply