logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 46 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 01-06-2006, 10:53 PM   #1 (permalink)
Senior Member
 
Join Date: Oct 2004
Posts: 123
Default Audio Settings problem

Hey all,

After a whole year I finally got around to continue my ZH Voice Mod and I managed to get some people to do voices.

However, one of the guys who was doing the Battle Bus sound sent me an example for his sound and it turned out to be only 2 seconds long but around 450 KBs. Usually I would expect around 100KBs or less for such a file. He used sound recorder (XP) for that, like I recommended. When converted to MP3 it reduced the size by 88.76%.

Now my questions -

Going on AudioSettings.INI (see attached codes) you'll see those parts of code:

Code:
AudioSettings
  AudioRoot = Data\Audio
  SoundsFolder = Sounds
  MusicFolder = Tracks
  StreamingFolder = Speech
  SoundsExtension = wav
  UseDigital = Yes
  UseMidi = No
and

Code:
  AudioFootprintInBytes = 4194304
and

Code:
  MicrophoneDesiredHeightAboveTerrain = 50.0
  MicrophoneMaxPercentageBetweenGroundAndCamera = 33.3%
  ZoomMinDistance = 130.0
  ZoomMaxDistance = 425.0
  ZoomSoundVolumePercentageAmount = 20%

1) The line; 'SoundsExtension = wav' means it uses wav files for the units etc right? Can I change it to 'SoundsExtension = mp3' so the wav files won't work but as mp3 they will work?
2) What does 'UseDigital = Yes' means?
3) What does 'AudioFootprintInBytes' means?
4) What each of the 5 lines in the third piece of code means?

Thanks for help!
[BIO] Israeli Red Dragon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2006, 05:58 AM   #2 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 373
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

here's some dunno about teh others tho.

Code:
ZoomMinDistance     = "XXX" ;If we're closer than the minimum distance, then apply the full bonus no matter how close.
  ZoomMaxDistance     = "XXX"    ;The maximum distance from microphone we need to be before benefiting from any bonus.
  ZoomSoundVolumePercentageAmount = "XXX"   ;The amount of 3D sound volume dedicated to zooming.
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2006, 06:46 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2003
Posts: 217
Default

Actually - I think there is a way to decrease bitrates of uncompressed PCM wav. Something to do with decreasing it from 16-bit to 8-bit audio.
sc4freak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2006, 07:28 AM   #4 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

But 8-bit sounds terrible. Especially when the sound gets quieter you hear lots of noise through it. Reducing the sampling rate to 22050 Hz is a better idea. You lose the highest frequencies in the sound, but not a lot of sounds have that much of a frequency range anyway so you won't notice. And it cuts the size of your sound in half.

I think Generals also accepts IMA ADPCM format WAV sounds though (like RA2 did), and those have a lot better compression than plain PCM WAV. You should see if you can convert to that, it saves even more size.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2006, 07:45 AM   #5 (permalink)
Senior Member
 
Join Date: Oct 2004
Posts: 123
Default

Well, thanks for IraquiPeopleRocks since he got me to look at ZH's INI files (instead of Dee's Pro;Gen files which didn't have the comments) so it cleared up a lot.

Secondly, I am using the IMA ADPCM format for WAV files (I am using my webcam as my primary recorder). However, I was wondering if I can change the ' SoundsExtension = wav ' into ' SoundsExtension = mp3 ' because it saves even more in space. I am already in project of changing 4000 sound files in Generals/ZH, so why not use Audacity and change them into mp3 then?

Generals/ZH do support MP3 (music), but I dunno if as voices. I think it should be, as the comment for this file is:

SoundsExtension = wav ; What is the extension for sound effects? (Probably wav)


So I bet it can go for MP3. I'd give it a go tomorrow.


Edit - If anyone wants to make some voices for the mod (anything, even generals challange goes!) you can do anything, just contact me for that general/unit to see if they weren't caught yet. Your sounds and your sayings. You can do 3 voices max (that is, like 3 different units or 1 general and 2 units etc).
[BIO] Israeli Red Dragon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2006, 07:55 AM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Actually, the sound extension is probably only there so the game knows what the files are called. In SoundEffects.ini you only list the file names, not the extensions. So the game has to somehow know what the full name is, and that's what SoundsExtension is for.

But, if you just rename an mp3 to .wav it could work. You should try it.
What might also work is to simply add mp3 to the SoundsExtension list, after wav. No guarantee here but it's worth a try.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-09-2006, 08:51 PM   #7 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

dude...wtf.... i have a sound that 4 seconds long and only 37.5 KB, and its:

BitRate = 88kbps
Audio Sampling Size = 4 bit
Channels = 1 mono
Audio Sampling Rate = 22Khz
and
Audio Format = IMA ADPCM



and it sounds fine to me
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Camera Settings Kelso LOTR: Battle For Middle Earth I & II Editing 6 06-24-2006 02:31 PM
settings Slye_Fox Red Alert 2 & Yuri's Revenge Editing 18 01-23-2006 09:48 AM
Multiplayer settings remembered? azuzen99 Generals & Zero Hour Editing 0 12-06-2005 07:34 PM
CNC-AUDIO Nox911 Generals & Zero Hour Editing 4 12-10-2004 10:38 PM
RenX/gmax W3D Export Settings Help Please key0p Generals & Zero Hour Editing 5 08-24-2003 11:10 PM


All times are GMT -4. The time now is 07:18 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.