Re: Question about data format
Re: Question about data format
- Subject: Re: Question about data format
- From: Bob Lang <email@hidden>
- Date: Fri, 15 Jul 2005 23:21:24 +0100
Hi Jeffrey
The "canonical" format for Core Audio is 32 bit float, as described
in this document:
http://developer.apple.com/documentation/MusicAudio/Reference/
CoreAudio/core_audio_intro/chapter_2_section_2.html
Bob
--
On 15 Jul 2005, at 23:02, Jeffrey L. Cowgill. Jr. wrote:
Hi,
I am writing a program to record data (audio) from the default
audio device. In this case I am using the powerbooks line-in. I
am then sending it to a program called Matlab, but the byte
ordering seems to be wrong when it arrives in Matlab. I assumed
that the data array I recorded into is Uint32 and is interleaved
stereo. Could I be wrong? The device is set to 44100 at 32 bit.
The number of bytes I record seem to match up with 32 bit at 44100
for 2 seconds. 2 seconds being the amount of time I recorded. So
now I am stuck and wondering if anyone out there might have an idea.
Thanks,
Jeff Cowgill
Wright State University
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blueyonder.co.uk
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden