• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Native" sample format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: "Native" sample format
      • From: Jens Bauer <email@hidden>
References: 
 >"Native" sample format (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: AU from scratch
  • Next by Date: Re: Documentation confusing
  • Previous by thread: "Native" sample format
  • Next by thread: Re: "Native" sample format
  • Index(es):
    • Date
    • Thread