• 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
multi input mixer volume control on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multi input mixer volume control on iOS


  • Subject: multi input mixer volume control on iOS
  • From: Dean Reyburn <email@hidden>
  • Date: Thu, 10 May 2012 10:27:41 -0400

I'm working on an ios app which has an audio unit mixer with two inputs. Almost everything is working thanks to Chris Adamson's book "Learning Core Audio" which I can't recommend highly enough.

My problem is, I need to separately control the relative volume of the two inputs before they are mixed. I can easily control the total output volume after mixing.

I'm mixing pre-recorded audio and processed live feedback audio from the microphone.

On page 189 Chris describes a mixer with two inputs, which is almost exactly the same situation. He mentions it's possible to control the volume property of the two input busses. However that's not supported by the mixer since I'm on iOS I'm using this type of mixer:

  kAudioUnitSubType_MultiChannelMixer;

On MacOS X the "matrix" mixer can adjust two inputs independently:

  kAudioUnitSubType_MatrixMixer

But according to the headers and Apple's docs, that doesn't work on iOS.

I could add a gain mixer into the chain just before the two channel mixer, but that would slow things down and add complication. Isn't there an easier way to do this with core audio built in mixers?

Thanks in advance...

-Dean

 || ||| || ||| || ||| || ||| || ||| || ||| || ||| || ||| || ||| || |||
 RPS, Inc.              contact: <http://www.reyburn.com/contact.html>
 Dean Reyburn, RPT
 2695 Indian Lakes Road            web page: <http://www.reyburn.com/>
 Cedar Springs, Michigan, 49319 USA
 Sales & support: 1-888-SOFT-440 (or 616-340-7277)   Fax: 616-696-8121


 _______________________________________________
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: multi input mixer volume control on iOS
      • From: Chris Adamson <email@hidden>
  • Prev by Date: iOS detect digital audio output
  • Next by Date: Re: multi input mixer volume control on iOS
  • Previous by thread: iOS detect digital audio output
  • Next by thread: Re: multi input mixer volume control on iOS
  • Index(es):
    • Date
    • Thread