• 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
iPhone microphone level metering using kAudioUnitType_Mixer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone microphone level metering using kAudioUnitType_Mixer?


  • Subject: iPhone microphone level metering using kAudioUnitType_Mixer?
  • From: Shaun Guth <email@hidden>
  • Date: Mon, 10 Jan 2011 16:44:24 -0800

I might just be really tired...

Is it possible to use the Mixer Audio Unit to meter the input level from the iPhone microphone?  I have an AUGraph that initializes properly:

AudioUnitGraph 0x7626000:

  Member Nodes:

node 1: 'auou' 'vpio' 'appl', instance 0x5604040 O  

node 2: 'aumx' 'mcmx' 'appl', instance 0x5606450 O  

  Connections:

node   1 bus   1 => node   2 bus   0  [ 1 ch,   8000 Hz, 'lpcm' (0x0000000C) 16-bit little-endian signed integer]


I'm trying to meter the input level from the microphone by connecting my I/O unit to the mixer unit and then querying kMultiChannelMixerParam_PreAveragePower

As it's running though, I'm only getting values of -120.0 -- this is on the iPhone simulator.  I do have a mic hooked up, and I see that it's receiving input in the system preferences.

-- Shaun
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iPhone microphone level metering using kAudioUnitType_Mixer?
      • From: Aran Mulholland <email@hidden>
  • Prev by Date: Creating MIDI Network Session Programmatically
  • Next by Date: Re: iPhone microphone level metering using kAudioUnitType_Mixer?
  • Previous by thread: Re: Latency when starting audio recording stack?
  • Next by thread: Re: iPhone microphone level metering using kAudioUnitType_Mixer?
  • Index(es):
    • Date
    • Thread