Duke4.net Forums: Distorted custom sounds - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Distorted custom sounds

User is offline   conoklast 

#1

I generally don't have any issues adding custom sounds to eduke32 but occasionally I find that certain sounds are distorted/slowed down.. I don't believe that this is an issue with the scripting as I always define the custom sounds in the same manner;

define D_SLIDE3 465
definesound D_SLIDE3        filedir/SOUNDS/doorsounds/door_slide3.ogg            0   0   255  0   0     // sliding smooth door 3


I'm using audacity to process the sounds, and exporting them in .OGG format. Like I said, this generally always works fine, but sometimes I have distortion issues. Has anyone else come across a similar problem? Just to be clear the sound in question plays correctly through windows media player, so it's definitely being distorted via eduke32. I've also experimented with .WAV format, mono instead of stereo and lower quality .OGG files as well.

Not sure if it matters but I'm using a Music effector sprite to play the sound inside a sliding door sector.

Thanks
0

User is offline   Seb Luca 

#2

Personally, I noticed that Eduke better digest mono sounds than stereos.
I have no problem using OGG 16-bit sounds; maybe yours are 32 bits files and that is badly managed by Eduke?



This post has been edited by Seb Luca: 11 November 2019 - 10:05 PM

2

User is offline   conoklast 

#3

View PostSeb Luca, on 11 November 2019 - 10:04 PM, said:

Personally, I noticed that Eduke better digest mono sounds than stereos.
I have no problem using OGG 16-bit sounds; maybe yours are 32 bits files and that is badly managed by Eduke?





Bingo - you're correct. I changed the quality settings in audacity preferences to 16 bit and it seems to be working now. Thanks B)
0

User is offline   Seb Luca 

#4

:) :) :)
0

User is offline   HELLMOUSE 

#5

View PostSeb Luca, on 11 November 2019 - 10:04 PM, said:

Personally, I noticed that Eduke better digest mono sounds than stereos.
I have no problem using OGG 16-bit sounds; maybe yours are 32 bits files and that is badly managed by Eduke?




I've noticed that too even with the .WAV sounds that I use. The stereo blips, but it does work well with volcano background sounds. Sometimes that blipness or muffling is necessary but in most cases stereo just does not work too well for environmental. With something resonating from something like volcanoes in the background it does work because in reality a sound generated from something that large echoing can appear to "blip" or "cut-out", depending what you are standing next to or your position relative to the sound and how the concussion from the eruption can appear to "distort" from your perspective. Volcanic ambiance is about the ONLY situation where a stereo sound should be used to create the proper effect.

I did not know we could use .ogg. I tried it and it worked, but I'm sticking to .wav for now because that is how I did all the other 100's of sounds. But I could not get the filedir/... stuff to work.

Thanks guys for the info and I'll keep that 16-bit .ogg fact in mind.
0

User is online   Hendricks266 

  • Weaponized Autism

  #6

View PostHELLMOUSE, on 15 November 2019 - 04:20 PM, said:

Volcanic ambiance is about the ONLY situation where a stereo sound should be used to create the proper effect.

Not if you don't want your sound to break if/when this bug is fixed.
0

User is offline   Phredreeke 

#7

View Postconoklast, on 11 November 2019 - 11:29 PM, said:

Bingo - you're correct. I changed the quality settings in audacity preferences to 16 bit and it seems to be working now. Thanks B)


Which is really strange as OGG Vorbis doesn't have a native bitdepth
0

User is offline   HELLMOUSE 

#8

View PostHendricks266, on 15 November 2019 - 04:28 PM, said:

Not if you don't want your sound to break if/when this bug is fixed.


I'm not good with double negatives. I'm not completely sure what you mean.

Is there, or could there be, an issue with .WAVs as mono versus Stereo?

I only have 5 Stereo sounds. Should I convert all the others to Stereo also?
0

User is online   Hendricks266 

  • Weaponized Autism

  #9

Don't use a bug in the audio playback to achieve an effect. It's not reliable or future-proof.

If stereo wavs are broken, avoid them entirely.
0

User is offline   HELLMOUSE 

#10

View PostHendricks266, on 15 November 2019 - 06:59 PM, said:

Don't use a bug in the audio playback to achieve an effect. It's not reliable or future-proof.

If stereo wavs are broken, avoid them entirely.


Ohhhh, I see. Thanks for the advice. I'll convert those stereo wavs to mono.

But I'm not sure how a stereo sound file will break in the game one day. There's nothing wrong with the file, it is just the playback that will/may be fixed one day to make stereo work better.

And I do understand what you mean. If the bug is fixed then those stereo sounds would sound different and not behave the same way.

So, NEVER MIND the volcano thing, use MONO for now.

Thanks Hendricks for the direction. :)

This post has been edited by HELLMOUSE: 15 November 2019 - 07:34 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options