.wav file requirements?

Ask questions, discuss ideas, get answers
GoodDayToDie!!
Posts: 221
Joined: Mon Dec 13, 2010 7:59 am
Location: Bat Country, California
Contact:

Re: .wav file requirements?

Post by GoodDayToDie!! »

btw..THANK YOU Swaffy!!
Image
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: .wav file requirements?

Post by BotHunter »

Sarge31FR wrote:I don't know exactly what your problem is with the files, but maybe this helps:

I use "GoldWave" as sound editor, and wave files have to be saved in this format:

Wave PCM signed 16 bit, 44100Hz, stereo (or mono).

The sampling rate depends on the folder they are going in.
Wow! That worked perfectly!! Thanks! :)
Walk quietly and carry a sniper rifle
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: .wav file requirements?

Post by Swaffy »

I would like to bump this thread to ask about some sound glitches which I haven't been able to fix since I began modding.

I use GoldWave to create my WAV files and I use the setting PCM signed 16 bit (stereo/mono) at 44100 Hz. The game debugger is giving me errors such as:

Error: non PCM format.
has different sample rate (48000Hz) than the primary buffer (44100Hz)

Which seems odd since I am using PCM and also 44100 Hz... I even ran some WAV files through an old Audacity program and saved them into my Sound.rfa just to see if that fixes it, same issue. Is there another WAV format I can save in? Or perhaps I can use another program that sets up the metadata correctly?

[edit] The sounds work ingame but I get loud "pops" after an audio file is played. For example, a gun shoots and the sound pops at the end of the sound. I hear this mostly with non-looping sounds.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply