Audacity imports RAW at twice the speed, sometimes

Audio software developers forum.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

Audacity imports RAW at twice the speed, sometimes

Permanent link to this post Posted by sergioq » Wed Jun 29, 2016 5:15 pm

Hello,

So I have my own app which records voice data in the PCM format at 44100, 16 Bit, and in MONO. There is no header, just raw data. I use Audacity to import the data to check it sometimes. Once in a while it thinks the data is stereo, and I check it back to mono and all is well. But once in a blue moon, it still reads the input at twice the speed.

Just curious if anyone knew what this might be indicative of?

Thanks ahead,

Sergio
sergioq
 
Posts: 2
Joined: Wed Jun 29, 2016 5:06 pm
Operating System: Windows 10

Re: Audacity imports RAW at twice the speed, sometimes

Permanent link to this post Posted by kozikowski » Wed Jun 29, 2016 5:21 pm

In raw capture, you have to tell the system everything. If it thinks the sample rate is off you can get off-speed presentation.

Koz
kozikowski
Forum Staff
 
Posts: 38228
Joined: Thu Aug 02, 2007 5:57 pm
Location: Los Angeles
Operating System: OS X 10.9 Mavericks

Re: Audacity imports RAW at twice the speed, sometimes

Permanent link to this post Posted by sergioq » Wed Jun 29, 2016 5:23 pm

I've run across that, and as long as I tell it the right settings all is well.....but, at least three times that didn't help, and the speed was off. Just trying to figure out why and what it means,
sergioq
 
Posts: 2
Joined: Wed Jun 29, 2016 5:06 pm
Operating System: Windows 10

Re: Audacity imports RAW at twice the speed, sometimes

Permanent link to this post Posted by kozikowski » Thu Jun 30, 2016 12:07 am

at least three times that didn't help

You changed the sample rate and the pitch of the clip did not change?

Koz
kozikowski
Forum Staff
 
Posts: 38228
Joined: Thu Aug 02, 2007 5:57 pm
Location: Los Angeles
Operating System: OS X 10.9 Mavericks


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 5 guests