• 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: iOS - Audiounit - Volume balance between left & right channels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS - Audiounit - Volume balance between left & right channels


  • Subject: Re: iOS - Audiounit - Volume balance between left & right channels
  • From: "Dave O'Neill" <email@hidden>
  • Date: Sat, 01 Nov 2014 06:45:32 -0700

You just need to set those properties on the input scope of the desired channel(element).

float pan = 0;  //  -1  -> 1
AudioUnitSetParameter (MixerUnit, kMultiChannelMixerParam_Pan, kAudioUnitScope_Input, channel, pan, 0);

On Sat, Nov 1, 2014 at 4:54 AM, Clement Prem <email@hidden> wrote:

I created an AUGraph to play music from iTunes library. I added mixer unit and effect unit to the AUGraph in the following order

FilePlayerUnit->MixerUnit->EffectUnit->OutputUnit

Now I am trying to change the volume balance between left and right channel. 

How can I increase, decrease or mute volume in a single channel. Is it possible to do this with FilePlayer Unit that plays music files from local storage?


Regards
Clement


 _______________________________________________
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

 _______________________________________________
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: iOS - Audiounit - Volume balance between left & right channels
      • From: Clement Prem <email@hidden>
References: 
 >iOS - Audiounit - Volume balance between left & right channels (From: Clement Prem <email@hidden>)

  • Prev by Date: iOS - Audiounit - Volume balance between left & right channels
  • Next by Date: Re: iOS - Audiounit - Volume balance between left & right channels
  • Previous by thread: iOS - Audiounit - Volume balance between left & right channels
  • Next by thread: Re: iOS - Audiounit - Volume balance between left & right channels
  • Index(es):
    • Date
    • Thread