Re: "Native" sample format
Re: "Native" sample format
- Subject: Re: "Native" sample format
- From: James Coker <email@hidden>
- Date: Wed, 10 Dec 2003 12:41:14 -0700
The native format is 32-bit floating point, but you can always
move to double-precision when necessary (filter coefficients).
Of course, you'll take a big performance hit for that, unless
you're running on a G5....
Jim
On Wednesday, December 10, 2003, at 06:37 AM, Jens Bauer wrote:
Hi all,
What's the native format of a sample ?
-Is it a 32bit signed integer ?
I'm asking this question, because I'd like to write my code, so
CoreAudio doesn't have to convert my data, before feeding them to the
soundcard.
I've been thinking about using floats, but since that floats are only
32bit, they're getting unprecise (but ofcourse, as long as I need 24
bits only, I don't know whether the data are actually ruined).
I'd prefer doubles, so I'm sure that I won't get that problem.
Unfortunately, there's no such format, so is the most precise format
32-bit ?
I know that most people can't hear these differences, but if I'm going
to sample some data for other purposes than sound, it could be quite
neat to have them as exact as possible, however, I'm also going to
write sound applications. ;)
Love,
Jens
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.