Raised This Month: $51 Target: $400
 12% 

HLDS Compatible .wav and mp3 Files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 03-02-2015 , 15:38   HLDS Compatible .wav and mp3 Files
Reply With Quote #1

Hey guys i have a Problem with some self-created mp3 and wav files.
They are not played on the Server.. The Server/Plugin Settings are correct so i think the Audio files are wrong created, with the wrong Parameters. so are there any Settings (bit rate/sample rate/ and maybe Stereo or mono/ max size) to get it work with the best Quality?

I use these mp3 files for Loading Music II and there theyre working but if i try to get other mp3 files with he same Settings in my GunGame config theyre not working also tryed with wav files but nothing happens.
__________________


Last edited by UeberDaniel; 03-02-2015 at 15:44.
UeberDaniel is offline
Send a message via MSN to UeberDaniel
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 03-03-2015 , 03:28   Re: HLDS Compatible .wav and mp3 Files
Reply With Quote #2

First of all: check sounds in game client, not via server plugin. Use this commands (for WAVs and MP3s):
Quote:
spk "weapons/ak47-1"
mp3 play "media/Half-Life01.mp3"
Check, that "mp3volume" != 0.

Parameters I think like these:
WAVs:
Quote:
Mono, 22050Hz, 32-bit float.
MP3s:
Quote:
Stereo, 44100Hz, 32-bit float
Phant is offline
Send a message via ICQ to Phant
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 03-05-2015 , 06:33   Re: HLDS Compatible .wav and mp3 Files
Reply With Quote #3

If it doesn't play in-game but plays normally outgame (like Windows Media Player), then the files are out of the engine's limit so the engine cann't read them.

For example, a MP3 file with 320 bit rate cann't be played in game because the engine doesn't support above 192 (I think) bit rate.
__________________
simanovich is offline
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 03-05-2015 , 14:20   Re: HLDS Compatible .wav and mp3 Files
Reply With Quote #4

okay thank you guys,

my loadingsounds Mp3 files are set up with:

-Stereo
-Sample Rate 44,1 Khz
-Bit Rate 320 kbps
-Encoder FHG (Guess)

The Wave fiels now working with this Settings:

-Mono
-Saple Rate 22 Khz
-Sample Size 16 bit
-Bit Rate 352 kbps

Now theyre all working - so if another guy has this Probles here he can find the right Settings
Converted it with dBpoweramp - Great Tool
__________________


Last edited by UeberDaniel; 03-05-2015 at 14:21.
UeberDaniel is offline
Send a message via MSN to UeberDaniel
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode