Jump to content
  • Advertisement
Sign in to follow this  
yaoyansi

save a wav file with special parameters

This topic is 3382 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, all I need to load a wav file and save it with special parameters,e.g. FormatType:PCM, SampleRate:11.025Hz, Mono, 8bit. So, Any audio library available for this? Cross-platform, opensource, freeware library is prefered. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
"I need to load a wav file and save it with special parameters,e.g. FormatType:PCM, SampleRate:11.025Hz, Mono, 8bit."

Any sound editor for example like http://audacity.sourceforge.net/ can save files out in those formats. You may need to process them first - change the sample rate (48khz, 22khz, 11khz .. etc), change the bit depth (24bit, 16bit, 8bit) and change the channels (stereo/mono)

What does it mean to down sample a 44khz file to 22khz or 11khz - what quality loss are you going to get - what happens when you convert 16bit to 8bit? You can easily convert files to those formats, but there will be audible quality deterioration - and a good sound person should know how to best combat those so that the files sound as good as they can at that sample rate and bit depth.

Digital Audio Theory is the NO 1 fundamental expected knowledge of any game audio professional. You really need to have a grip on this stuff. I don't want to sound harsh or anything, but you won't get very far in the industry without this knowledge. Just Google Digital Audio Theory - perhaps invest in a good book too.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!