• 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
Canonical format max amp limits?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Canonical format max amp limits?


  • Subject: Canonical format max amp limits?
  • From: Carlos Eduardo Mello <email@hidden>
  • Date: Tue, 13 Jul 2004 15:28:16 -0300

Hi,

A few days ago I asked about how to set a default output unit to playback my finished audio buffers.
It is working right now, exept for one thing - I couldn't find anywhere in the docs (headers, etc). what is the maximum amplitude value expected for the canonical format. Docs say every sample is a float, but not how big they can be. So I tried the greatest float value for the system, then I tried 32767 (thinking the float was just a way of filling the gaps between 16 bit integers, and I also tried other arbitrary constants. They all produced distortion. The only way it works properly is if I normalize the signal to 1.0 before sending my floats throught the input callback. Is this the expected thing to do? If so, shouldn't it be clearly explained in the docs?
_______________________________________________
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: Canonical format max amp limits?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Core Audio SDK 1.3.1
  • Next by Date: vBigDSP FFT
  • Previous by thread: Re: 3DMixer 2.0
  • Next by thread: Re: Canonical format max amp limits?
  • Index(es):
    • Date
    • Thread