raw pcm speed is incorrect

This section is now closed.
Forum rules
Audacity 1.3.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
riow
Posts: 9
Joined: Wed Feb 02, 2011 6:31 am
Operating System: Please select

raw pcm speed is incorrect

Post by riow » Fri Apr 08, 2011 3:46 pm

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!

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

Re: raw pcm speed is incorrect

Post by steve » Fri Apr 08, 2011 4:17 pm

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?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

riow
Posts: 9
Joined: Wed Feb 02, 2011 6:31 am
Operating System: Please select

Re: raw pcm speed is incorrect

Post by riow » Fri Apr 08, 2011 4:32 pm

22050Hz is great! Thanks Steve! :D

Roseanna
Posts: 2
Joined: Sat Apr 23, 2011 2:50 pm
Operating System: Please select

Re: raw pcm speed is incorrect

Post by Roseanna » Sat Apr 23, 2011 3:11 pm

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.

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

Re: raw pcm speed is incorrect

Post by steve » Sat Apr 23, 2011 3:36 pm

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")
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Roseanna
Posts: 2
Joined: Sat Apr 23, 2011 2:50 pm
Operating System: Please select

Re: raw pcm speed is incorrect

Post by Roseanna » Sat Apr 23, 2011 11:24 pm

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

bgravato
Posts: 2098
Joined: Wed Jan 13, 2010 8:56 pm
Operating System: Linux Debian

Re: raw pcm speed is incorrect

Post by bgravato » Sun Apr 24, 2011 9:28 am

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.
Include as much details as you can in your post (Audacity version, Operating System, Equipment used, etc).
Please post your question in the appropriate forum (regarding audacity version and operating system).

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

Re: raw pcm speed is incorrect

Post by steve » Sun Apr 24, 2011 11:29 am

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked