• 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: Gain difference from Mac OS 9 to Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gain difference from Mac OS 9 to Mac OS X


  • Subject: Re: Gain difference from Mac OS 9 to Mac OS X
  • From: Jeff Moore <email@hidden>
  • Date: Mon, 24 Jun 2002 13:12:20 -0700

On Monday, June 24, 2002, at 11:38 AM, Andrew Taylor wrote:

We have a speech recognition application.
We use standard Sound Manager calls to open a device, get/set the input channel gain and collect the input sound.

Input characteristics are quite simple: 16 bit integer, 16 khz, mono.

On Mac OS 9, we can set the gain so that USB microphones deliver enough volume to do the processing we need to do.

On ALL versions of Mac OS X, this same method does not work. We can't set the gain high enough to collect the same sound input levels.

What has changed in Sound Manager to deliver this different behavior and what can I do about it?

On Mac OS 9, the depending on which hardware you have, the driver would do more or less work to make all the audio devices appear the same. On Mac OS X, we've taken the opposite tack. We want the drivers to represent their hardware as it is. Fundamentally, this is one of the things that has changed between the two OS's.

That said, the input gain selectors in the Sound Input Manager have full access to the hardware volume range. The curve may be slightly different (meaning that the same value will generate different volume levels on the two OS's), but the same amount of gain is in the hardware. The hardware certainly hasn't changed between the two OS's, so you may have been relying on some additional work that the driver on 9 was doing on your behalf (and without your knowledge or any warning).

--

Jeff Moore
Core Audio
Apple
_______________________________________________
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: Gain difference from Mac OS 9 to Mac OS X
      • From: Martin Hairer <email@hidden>
References: 
 >Gain difference from Mac OS 9 to Mac OS X (From: Andrew Taylor <email@hidden>)

  • Prev by Date: Gain difference from Mac OS 9 to Mac OS X
  • Next by Date: Mono input from "Stereo" Mic?
  • Previous by thread: Gain difference from Mac OS 9 to Mac OS X
  • Next by thread: Re: Gain difference from Mac OS 9 to Mac OS X
  • Index(es):
    • Date
    • Thread