Trying to make .wav files less than 32K for D3, HELP!!!

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Fighter17
DBB Ace
DBB Ace
Posts: 23
Joined: Tue Jun 15, 2004 12:17 pm
Location: In a Black Pyro
Contact:

Trying to make .wav files less than 32K for D3, HELP!!!

Post by Fighter17 »

OK, I'm trying to make .wav files less than 32K so I can make it into a D3 audio taunt. But, most of the .wav files that I would like to be 32k are not 32k. When I downsample to Mono, 22,050 sound, it's still big (like 200 KB, and the file is 3 seconds long) !! How you guys make good audio taunts so small in size? What programs I need to used? HELP!!!!
User avatar
SuperSheep
DBB Benefactor
DBB Benefactor
Posts: 935
Joined: Sun Jun 03, 2001 2:01 am
Location: Illinois

Post by SuperSheep »

The .wav files are always going to be larger than the .osf's used for taunts as .wav's are uncompressed raw wave data and osf's are compressed.

Take a wav, convert it in d3 and see what the resulting size of the osf is. You'll be surprised how much it compresses. :)
User avatar
Fighter17
DBB Ace
DBB Ace
Posts: 23
Joined: Tue Jun 15, 2004 12:17 pm
Location: In a Black Pyro
Contact:

Post by Fighter17 »

I have a problem.


When I play my audio taunts in D3, I'm the only one who can hear it. Nobody can hear it, only me! D3 converted it all the wav files and I can used them in D3. But I'm the only one who can haer them. Any ideas? :?
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post by CDN_Merlin »

1) they are still to long or
2) they have audio taunts turned off
User avatar
Draco Aureus
DBB Cadet
DBB Cadet
Posts: 3
Joined: Fri Jul 29, 2005 1:53 am
Location: Germany
Contact:

Post by Draco Aureus »

most taunts last 1 or 2 seconds, don't try taunts longer than that. This guideline often helped
User avatar
Nosferatu
DBB Ace
DBB Ace
Posts: 489
Joined: Mon May 23, 2005 5:15 pm

Post by Nosferatu »

From um.... (massive) experimentation I have found that at 22k sample rate 8 bit mono, a taunt can be up to 2.8 seconds long.

I use http://audacity.sourceforge.net to trim the sound up, cut out silent sections, filter, amplify bass, etc. Then I run the resulting sound file through http://sox.sourceforge.net to convert the sound to 22k sample rate, 8 bit, mono.
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post by CDN_Merlin »

Why not just use Goldwave?
User avatar
Nosferatu
DBB Ace
DBB Ace
Posts: 489
Joined: Mon May 23, 2005 5:15 pm

Post by Nosferatu »

Note the http://sourceforge.net.

I DO NOT TRUST ANY proprietary software company, not to install spyware or malware, piriod.

In open source, its pretty tough to hide that crap.
User avatar
CDN_Merlin
DBB_Master
DBB_Master
Posts: 9781
Joined: Thu Nov 05, 1998 12:01 pm
Location: Capital Of Canada

Post by CDN_Merlin »

Goldwave is a small like 1 man CDN company. I've used it for years and it rocks. There is no spyware or anything in it.
User avatar
Admiral LSD
DBB Admiral
DBB Admiral
Posts: 1240
Joined: Sun Nov 18, 2001 3:01 am
Location: Northam, W.A., Australia
Contact:

Post by Admiral LSD »

Proprietary or not, Goldwave > Audacity.
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Post by Grendel »

The size limit for the resulting osf file is 32kb. Anything bigger will not transfer to the clients in game, but can be moved over by mail or such -- I remember discussion about having oversized taunts in team games for communication purposes.
User avatar
Admiral LSD
DBB Admiral
DBB Admiral
Posts: 1240
Joined: Sun Nov 18, 2001 3:01 am
Location: Northam, W.A., Australia
Contact:

Post by Admiral LSD »

heh, the idea of using taunts for communcation conjures up all sorts of cloak and dagger secret agent man code images :p
User avatar
WarAdvocat
DBB Defender
DBB Defender
Posts: 3035
Joined: Sun Jun 23, 2002 2:01 am
Location: Fort Lauderdale, FL USA

Post by WarAdvocat »

Lots of broken taunts out there :(
Post Reply