wipeout-phantom-edition / wipeout-phantom-edition

An enhanced PC source port of the original WipeOut.
670 stars 16 forks source link

Loud musics will cause distortion with the sound in-game. #13

Open danylopez123 opened 1 year ago

danylopez123 commented 1 year ago

So, i've tried to put my own custom musics, they are mp3 and it looks like the loud ones that i checked using Audacity, the ones that are very close to hit the red bars will cause distorted audio ingame.

bonkmaykrQ commented 1 year ago

You probably just have audio clipping in your sound file, that isn't the game's fault.

I would suggest picking a slightly quieter file (which hasn't already been blown out, since you can't get that quality back), and then compressing the dynamic range if you're having trouble hearing your music ingame.

extracoconut commented 1 year ago

Hi. I added a 24 Carpenter Brut tracks into the music folder and most...about 20...are fine. The rest are distorting really badly while the game runs. They sound fine while playing asn an mp3 in Windows, but not in the game. I converted them to wav and they're all fine in game, Maybe a weird mp3 conversion thing, but thought I'd mention it. Ta,

extracoconut commented 1 year ago

Actually...most have some distortion listening now that I've listened to more of the tracks in game. Wonder if it's an mpo3 codec issue?

wipeout-phantom-edition commented 1 year ago

It might be getting clipped by OpenAL's final output. I think a compressor filter is generally used to prevent that but I don't currently have that applied. If this is the case, I would expect that turning down the music volume in the options could fix the issue for now.

extracoconut commented 1 year ago

Took 3 decibels off the volume of the mp3s and all sounding good.