Changing the sample rate without changing the sound

This section is now closed.
Forum rules
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Locked
Elzair
Posts: 2
Joined: Fri Sep 03, 2010 12:28 pm
Operating System: Please select

Changing the sample rate without changing the sound

Post by Elzair » Fri Sep 03, 2010 12:31 pm

I was editing certain sound clips for a custom soundset for a game, and the clips were 44100 Hz and they needed to be 16-bit mono 220500 Hz. When I changed the sample rate, everything sounded much slower. Is there any way to change the sample rate without the slowdown?

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Changing the sample rate without changing the sound

Post by steve » Fri Sep 03, 2010 12:42 pm

Immediately before you Export,
Click on the "Project Rate" in the lower left corner of the main Audacity window and change it to 22050 (I presume that 220500 is a typo).
Audacity will use the Project Rate setting when it exports.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Elzair
Posts: 2
Joined: Fri Sep 03, 2010 12:28 pm
Operating System: Please select

Re: Changing the sample rate without changing the sound

Post by Elzair » Fri Sep 03, 2010 3:07 pm

Alright, now how do I save it as a 16-bit wav file? These are the requirements.
All the wav files should be 22 khz, 16 bit mono sounds.
EDIT: I tried setting the sample format to 16-bit float, but when I opened the exported wave file into audacity, it said it was 32-bit.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Changing the sample rate without changing the sound

Post by steve » Fri Sep 03, 2010 4:14 pm

This is much easier in Audacity 1.3.12 - I'd highly recommend upgrading.
But since you are using 1.2
"Edit menu > Preferences > File Formats"
Set "Uncompressed Format" to "WAV (Microsoft 16 bit PCM)"
Click OK

To Export the wav file:
"File menu > Export as WAV"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked