Author |
Message |
Terraniux
UT Name: Terraniux UT Since: 1999 Joined: Jul 25, 2010 Posts: 1159
Reputation: 401.6 votes: 14 Status: Offline
|
Posted: Sat Jun 02, 2012 2:35 pm Post subject: Custom sounds in UT |
|
|
Since my map has crashed multiple times now due the sounds, can anyone tell me what I doing wrong?
The sounds are 8bit mono at 22050Khz, which is acccording to UnrealWiki, UTbible and TCUR just the right settings.
Is there a certain sound limit or duration what can cause the bug? Or did I use the wrong programs perhaps?
The programs I used are MPT and MPP and audacity. |
Last edited by Terraniux on Sat Jun 02, 2012 3:31 pm; edited 1 time in total |
|
|
|
Data_Destroyer
Gender: Joined: Jun 19, 2011 Posts: 586
Reputation: 65.5 votes: 2 Status: Offline
|
Posted: Sat Jun 02, 2012 2:39 pm Post subject: Re: Custom sounds in UT |
|
|
I use OpenMPT Terra but if you send the sounds to me maybe i can help you
I use the frequency 22050Hz Mono 16-bit and also a Format Factory to convert them to .wav |
|
|
|
|
Terraniux
UT Name: Terraniux UT Since: 1999 Joined: Jul 25, 2010 Posts: 1159
Reputation: 401.6 votes: 14 Status: Offline
|
Posted: Sat Jun 02, 2012 2:58 pm Post subject: Re: Custom sounds in UT |
|
|
Selecting 16 bit increases the filesize and reaches quickly to 1mb.
This is from UnrealWiki copied over:
Code: | A short checklist of common problems:
Do Not Alter Default Packages  You have been warned! No spaces or other funny characters in the file or its directory tree  UnrealEd will not import files with spaces in the directory or file name.
Move the file to a different directory, if necessary. (This is not a problem for #exec directives though, as long as you enclose the file in double quotes.)
No compression  The engine only accepts uncompressed wave files. No ADPCM! No MP3 wave! No <insert>! Only plain old PCM wave audio files.
No stereo  ...or other multi-channel formats. The engine can only handle mono files. Watch the format  The engine wants a standard sampling rate at 8 or 16 bit per sample. For UT you should stick to 11 or 22 kHz,
newer games will definitely also handle 8, 16, 32, 44 and 48 kHz, but here you should find the lowest sampling rate that still sounds good. In most cases you will want to use 22 or 44 kHz at 16 bits/sample |
It should make no difference except for the quality. |
|
|
|
|
Sponsor
|
|
rork
dU.Staff
UT Name: Rork UT Since: 2003 Joined: Feb 13, 2011 Posts: 218
Reputation: 115.7 votes: 2 Status: Offline
|
Posted: Sat Jun 02, 2012 3:03 pm Post subject: Re: Custom sounds in UT |
|
|
The Generic Audio Driveronly supports 11025, 22050 or 44100Hz while the (default) OpenAL audio driver supports more rates.
If you use an unsupported rate on the Generic Audio Driver this is the error you'd get (on linux):
Quote: |
appError called:
Unsupported rate: 8000
Executing UObject::StaticShutdownAfterError
Executing USDLClient::ShutdownAfterError
UGenericAudioSubsystem::ShutdownAfterError
[MikModMusic] Music shutdown.
[MikModMusic] Music termination requested.
[MikModMusic] Waiting for music thread to finish.
[MikModMusic] Music thread done. Have a nice day. |
Afaik it doesn't wait until the sound is played but crashes when it's loaded (I crash when connecting to a server or opening a map), that being said I play on the dU servers without sound (no driver loaded, no driver crashing). Maybe on windows it crashes when the sound is loaded.
I tried to load your map on my system with sounds and got this error:
Quote: |
appError called:
Unsupported rate: 21050
Executing UObject::StaticShutdownAfterError
Executing USDLClient::ShutdownAfterError
UGenericAudioSubsystem::ShutdownAfterError
[MikModMusic] Music shutdown.
[MikModMusic] Music termination requested.
[MikModMusic] Waiting for music thread to finish.
[MikModMusic] Music thread done. Have a nice day. |
Looked like you typood and created a sound at 21050Hz which crashes my UT.
Terraniux wrote (View Post): | This (temporary) topic can deleted after the solution is found) |
This idea is only slightly better then just posting, "Don't bother, I've fixed it, bye". |
The best way to kill skaarj is to flak it while it leaps towards you. |
|
|
|
Data_Destroyer
Gender: Joined: Jun 19, 2011 Posts: 586
Reputation: 65.5 votes: 2 Status: Offline
|
Posted: Sat Jun 02, 2012 3:06 pm Post subject: Re: Custom sounds in UT |
|
|
@Terraniux: Yeah it increases file size too but the quality is better! Â By the way, if its possible to send the files maybe i can help you anyway ^^ Â
PS: I didnt have problems with sound crashing here, the map worked fine! Â But i pretend to test again as soon as possible! |
|
|
|
|
Terraniux
UT Name: Terraniux UT Since: 1999 Joined: Jul 25, 2010 Posts: 1159
Reputation: 401.6 votes: 14 Status: Offline
|
Posted: Sat Jun 02, 2012 3:30 pm Post subject: Re: Custom sounds in UT |
|
|
@ Rork,
Sorry you are right. I'll edit my post.
@ DD
Thanks for the offer, when I am home i'll send u the sounds. |
|
|
|
|
Sponsor
|
|
Data_Destroyer
Gender: Joined: Jun 19, 2011 Posts: 586
Reputation: 65.5 votes: 2 Status: Offline
|
Posted: Sat Jun 02, 2012 3:35 pm Post subject: Re: Custom sounds in UT |
|
|
@Terraniux: if possible not only the .umx files but the .wav files too which you used thanks! |
|
|
|
|
Cyberia-Mix
dU.Mapper
UT Name: Demona UT Since: 2000 Joined: Dec 12, 2010 Posts: 588 Location: irc://irc.epiknet.org/2LO Reputation: 337.5 votes: 10 Status: Offline
|
Posted: Sat Jun 02, 2012 6:20 pm Post subject: Re: Custom sounds in UT |
|
|
If you haven't already, try making a topic on this issue on Beyond Unreal Forums or UnrealSP, you'll get more replies and from more experienced users. |
|
|
|
|
Terraniux
UT Name: Terraniux UT Since: 1999 Joined: Jul 25, 2010 Posts: 1159
Reputation: 401.6 votes: 14 Status: Offline
|
Posted: Sat Jun 02, 2012 9:27 pm Post subject: Re: Custom sounds in UT |
|
|
Posted at unrealsp.org:
Including the 2 soundfiles that is causing trouble |
|
|
|
|
Sponsor
|
|
rork
dU.Staff
UT Name: Rork UT Since: 2003 Joined: Feb 13, 2011 Posts: 218
Reputation: 115.7 votes: 2 Status: Offline
|
Posted: Sat Jun 02, 2012 10:00 pm Post subject: Re: Custom sounds in UT |
|
|
I think you missed this in one of my previous posts:
At least one of your sounds is 21050Hz, not 22050Hz! |
The best way to kill skaarj is to flak it while it leaps towards you. |
|
|
|
|