Page 1 of 1

(FIXED, NOT ACTUALLY A BUG) - custom music slowed a bit

Posted: Wed Mar 31, 2021 6:31 pm
by PhoenixBlaze
hello, i'm working on some stuff for a project and i'm adding custom music to wlvs. it works perfectly fine, but for some reason when i enter the wlv, the music gets slowed down automatically. the original tracks work completely fine.

Re: Bug - custom music slowed a bit

Posted: Thu Apr 01, 2021 3:02 pm
by Lazy Loof
PhoenixBlaze wrote: Wed Mar 31, 2021 6:31 pm hello, i'm working on some stuff for a project and i'm adding custom music to wlvs. it works perfectly fine, but for some reason when i enter the wlv, the music gets slowed down automatically. the original tracks work completely fine.
Check if there's any command 12 around. Also whenever you change levels, the game automatically adjusts the Pitch of the level music to 44 whenever any level is started (except for the saved games), maybe that's the issue?

Re: Bug - custom music slowed a bit

Posted: Thu Apr 01, 2021 3:06 pm
by PhoenixBlaze
Lazy Loof wrote: Thu Apr 01, 2021 3:02 pmCheck if there's any command 12 around. Also whenever you change levels, the game automatically adjusts the Pitch of the level music to 44 whenever any level is started (except for the saved games), maybe that's the issue?
I know there aren't any cmd 12s around, I already checked. The music I added sounds fine when listening to the file, but playing it ingame slows it down.

Strangely enough, this doesn't happen to other levels with other custom music; I was playing one of Emerald141's levels for inspiration and the music was fine. It's only my levels, or the music only I added.

Re: Bug - custom music slowed a bit

Posted: Thu Apr 01, 2021 3:09 pm
by Lazy Loof
PhoenixBlaze wrote: Thu Apr 01, 2021 3:06 pm
Lazy Loof wrote: Thu Apr 01, 2021 3:02 pmCheck if there's any command 12 around. Also whenever you change levels, the game automatically adjusts the Pitch of the level music to 44 whenever any level is started (except for the saved games), maybe that's the issue?
I know there aren't any cmd 12s around, I already checked. The music I added sounds fine when listening to the file, but playing it ingame slows it down.

Strangely enough, this doesn't happen to other levels with other custom music; I was playing one of Emerald141's levels for inspiration and the music was fine. It's only my levels, or the music only I added.
I guess the issue is same i.e your music probably has higher frequency, but the game reduces it to the 44000 Hz thus causing slow down.

Re: Bug - custom music slowed a bit

Posted: Thu Apr 01, 2021 3:13 pm
by PhoenixBlaze
Lazy Loof wrote: Thu Apr 01, 2021 3:09 pmI guess the issue is same i.e your music probably has higher frequency, but the game reduces it to the 44000 Hz thus causing slow down.
That might actually be it... I'll try downloading the music from a different site than the one I used.

Re: (FIXED, NOT ACTUALLY A BUG) - custom music slowed a bit

Posted: Fri Apr 02, 2021 10:50 pm
by PhoenixBlaze
Turns out the frequency WAS higher than it should have been! I managed to fix it with audacity. So it really wasn't a bug at all. Sorry for the trouble!

Re: (FIXED, NOT ACTUALLY A BUG) - custom music slowed a bit

Posted: Mon Aug 07, 2023 6:45 pm
by sodapop!
For future reference- after dealing with the same problem again, I just used a website to download the music from youtube and then convert it to an .ogg file with this website.

Re: (FIXED, NOT ACTUALLY A BUG) - custom music slowed a bit

Posted: Mon Aug 07, 2023 11:40 pm
by jdl
sodapop! wrote: Mon Aug 07, 2023 6:45 pm For future reference- after dealing with the same problem again, I just used a website to download the music from youtube and then convert it to an .ogg file with this website.
Just so you know, the link in your post doesn't work.
It looks like there's a bug in the forum software where links that do not start with "http(s)://" will become relative links for some reason. :?
The fixed link can be found here.

Re: (FIXED, NOT ACTUALLY A BUG) - custom music slowed a bit

Posted: Tue Aug 08, 2023 12:15 am
by sodapop!
Alright, fixed. Thanks for telling me.