Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: trying to log samples



On Feb 3, 2005, at 07:10 PM, Michael Hanna wrote:

after fiddling with the mic input data, I'm just curious as to what the sample values actually are. Are the values amplitude information? If the value is between 1 and -1, what does the negative value connotate? If PCM is the direct result of the analog movement of the mic diaphragm, does all that mean is that the diaphragm moved in the opposite direction as the positive value? So taking the absolute value will always give me the amplitude?

They are PCM, just like if they were integers. Typically if you have 16-bit integer audio, you use values between -32768 and 32767 -- same thing with the floating point values you receive from CoreAudio, just that the range is +/- 1.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Newbie: trying to log samples (From: Michael Hanna <email@hidden>)
 >Re: Newbie: trying to log samples (From: Michael Thornburgh <email@hidden>)
 >Re: Newbie: trying to log samples (From: Michael Hanna <email@hidden>)
 >Re: Newbie: trying to log samples (From: kelly jacklin <email@hidden>)
 >Re: Newbie: trying to log samples (From: Michael Hanna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.