Page 1 of 1

raw pcm speed is incorrect

Posted: Fri Apr 08, 2011 3:46 pm
by riow
I'm importing a raw data PCM file. During playing back, the speed is a lot faster than normal. How can I import it correctly? I can't upload the 2.2MB file here which is just a bit larger than 2MB limit. So I've uploaded it to http://www.4shared.com/file/i65mr1jm/20 ... 01140.html. Pls help!

Re: raw pcm speed is incorrect

Posted: Fri Apr 08, 2011 4:17 pm
by steve
RAW files do not contain any "header" information to tell Audacity what the correct data format is, so it is necessary for you to enter that information manually when importing RAW files.

My guess is that you need to specify:
Encoding: Signed 16 bit PCM
Byte order: Little-endian
Channels: 1 Channel (mono)
Start offset: 0 bytes
Amount to import: 100%
Sample rate: 22050 Hz

Does that sound correct?

Re: raw pcm speed is incorrect

Posted: Fri Apr 08, 2011 4:32 pm
by riow
22050Hz is great! Thanks Steve! :D

Re: raw pcm speed is incorrect

Posted: Sat Apr 23, 2011 3:11 pm
by Roseanna
I just downloaded audacity and when I drag a song from explorer to audacity it appears as a 0.10 clip and plays back a a very very fast speed & pitch..... no songs appear to be full in length and I am not sure what I am to do.

Re: raw pcm speed is incorrect

Posted: Sat Apr 23, 2011 3:36 pm
by steve
Roseanna wrote:I just downloaded audacity and when I drag a song from explorer to audacity it appears as a 0.10 clip and plays back a a very very fast speed & pitch..... no songs appear to be full in length and I am not sure what I am to do.
What sort of file is it and which version of Audacity are you using? (You can find the Audacity version by looking in "Help menu > About Audacity")

Re: raw pcm speed is incorrect

Posted: Sat Apr 23, 2011 11:24 pm
by Roseanna
steve wrote:
Roseanna wrote:I just downloaded audacity and when I drag a song from explorer to audacity it appears as a 0.10 clip and plays back a a very very fast speed & pitch..... no songs appear to be full in length and I am not sure what I am to do.
What sort of file is it and which version of Audacity are you using? (You can find the Audacity version by looking in "Help menu > About Audacity")
I have 1.2.6 Audacity, and I am just dragging an MP4 from iTunes

Re: raw pcm speed is incorrect

Posted: Sun Apr 24, 2011 9:28 am
by bgravato
Roseanna wrote:I have 1.2.6 Audacity, and I am just dragging an MP4 from iTunes
You probably should upgrade to the latest beta (1.3.13), specially if you're on Windows 7 or Vista.

You can get it from here:
http://audacityteam.org/download/beta_windows

You also need the ffmpeg library to be able to import mp4 files. You can (and should) get it from the page above too. There's a link in the optional downloads on that page.
Get lame too if you want to export to mp3.

Re: raw pcm speed is incorrect

Posted: Sun Apr 24, 2011 11:29 am
by steve
As bgravato says. Audacity 1.2.6 only supports a very limited range of audio file formats and does not support M4A. You need Audacity 1.3.13 and FFMpeg

After installing Audacity 1.3.13, here's a direct link to the FFmpeg page: http://manual.audacityteam.org/index.ph ... tallffmpeg