Welcome to destination Unreal
Please sign in Here or Register
warning  Welcome to destination Unreal, To access all areas of this site please register an account by clicking here now. warning

 


 
Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
CTF-UTDMT-Gangland New Mapping Projects EvilGrins 0 Wed Mar 27, 2024 11:34 pm
EvilGrins View latest post
Club Smiley Mapping Development and Skinning EvilGrins 0 Fri Mar 08, 2024 11:45 pm
EvilGrins View latest post
DM-UTDMS-BULLFeartower2 New Mapping Projects EvilGrins 0 Fri Feb 23, 2024 11:50 pm
EvilGrins View latest post
Screenshots Thread UT Screenshots and Movies POTS 396 Tue Feb 06, 2024 4:49 am
EvilGrins View latest post
Dogs & Cats Mapping Development and Skinning EvilGrins 0 Thu Jan 18, 2024 12:48 am
EvilGrins View latest post
Black Adam Mapping Development and Skinning EvilGrins 0 Sun Jan 14, 2024 6:47 pm
EvilGrins View latest post
 

Custom sounds in UT

Post new topic   Reply to topic       printer-friendly view
destination Unreal Forum Index Mods, UScript and General Coding
View previous topic :: View next topic 
Author Message
Terraniux netherlands.png


UT Name: Terraniux UT Since: 1999
Joined: Jul 25, 2010
Posts: 1159

Reputation: 401.6
votes: 14
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 2:35 pm
PostPost subject:No icon Custom sounds in UT
Reply with quote

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
Back to top Visit poster's website Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Data_Destroyer brazil.png


Gender: Gender:Male
Joined: Jun 19, 2011
Posts: 586

Reputation: 65.5
votes: 2
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 2:39 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

I use OpenMPT Terra but if you send the sounds to me maybe i can help you  Razz  

I use the frequency 22050Hz Mono 16-bit and also a Format Factory to convert them to .wav  Razz
Back to top Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Terraniux netherlands.png


UT Name: Terraniux UT Since: 1999
Joined: Jul 25, 2010
Posts: 1159

Reputation: 401.6
votes: 14
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 2:58 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

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.
Back to top Visit poster's website Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Sponsor
rork netherlands.png

dU.Staff
dU.Staff

UT Name: Rork UT Since: 2003
Joined: Feb 13, 2011
Posts: 218

Reputation: 115.7
votes: 2
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 3:03 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

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.
Back to top Visit poster's website MSN Messenger
Data_Destroyer brazil.png


Gender: Gender:Male
Joined: Jun 19, 2011
Posts: 586

Reputation: 65.5
votes: 2
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 3:06 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

@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!  Very Happy1   But i pretend to test again as soon as possible!
Back to top Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Terraniux netherlands.png


UT Name: Terraniux UT Since: 1999
Joined: Jul 25, 2010
Posts: 1159

Reputation: 401.6
votes: 14
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 3:30 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

@ 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.
Back to top Visit poster's website Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Sponsor
Data_Destroyer brazil.png


Gender: Gender:Male
Joined: Jun 19, 2011
Posts: 586

Reputation: 65.5
votes: 2
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 3:35 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

@Terraniux: if possible not only the .umx files but the .wav files too which you used  Razz  thanks!
Back to top Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Cyberia-Mix france.png

dU.Mapper
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
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 6:20 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

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.
Back to top Visit poster's website
Terraniux netherlands.png


UT Name: Terraniux UT Since: 1999
Joined: Jul 25, 2010
Posts: 1159

Reputation: 401.6
votes: 14
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 9:27 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

Posted at unrealsp.org:
Please login to see this link
Get registered or Log in

Including the 2 soundfiles that is causing trouble
Back to top Visit poster's website Visit member's Facebook: https://www.facebook.com/pages/destinationUnreal/68568886767
Sponsor
rork netherlands.png

dU.Staff
dU.Staff

UT Name: Rork UT Since: 2003
Joined: Feb 13, 2011
Posts: 218

Reputation: 115.7
votes: 2
Status: Offline
View user's profile

Send private message


PostPosted: Sat Jun 02, 2012 10:00 pm
PostPost subject:No icon Re: Custom sounds in UT
Reply with quote

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.
Back to top Visit poster's website MSN Messenger
Display posts from previous:

Post new topic   Reply to topic    printer-friendly view
destination Unreal Forum Index   Mods, UScript and General Coding
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Setting FOG in UT.ini 2 THUNDERBOLT 1787 Sun Feb 16, 2020 5:03 pm
Cyberia-Mix View latest post
No new posts Bad News to UT Community 8 THUNDERBOLT 5293 Wed Oct 02, 2013 12:41 pm
-BoB- View latest post
No new posts 35.000 maps played since 2010-08-01 2 BlackWolf 2116 Sun Feb 05, 2012 2:27 pm
HellFire View latest post
No new posts RMusicPlayer mp3,wav and more in UT maps 6 BlackWolf 3282 Wed Oct 12, 2011 11:00 pm
idefix View latest post
No new posts Movies related to UT 1 HellFire 1665 Sat Sep 24, 2011 12:43 am
THUNDERBOLT View latest post
 




Theme designed and coded by PHPNuke Themes © All times are UTC + 2 Hours [DST enabled]
Forums ©

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] Powered by HTML Purifier[Validate robots.txt]


PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke Evolution 2.0.7 - Nuke-Evolution Xtreme 2.0 Edition.

[ Page Generation: 0.39 Seconds | Memory Usage: 9.65 MB | DB Queries: 102 ]

Do Not Click [ Home | Forums | Downloads | Contact Us | Back To Top ]