• 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: How to access the output samples of a multichannel mixer unit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to access the output samples of a multichannel mixer unit


  • Subject: Re: How to access the output samples of a multichannel mixer unit
  • From: Charlie Roberts <email@hidden>
  • Date: Tue, 28 Jun 2011 12:37:45 -0700

You could assign a callback to the input of remoteIO (or another mixer) that uses AURender to explicitly tell your mixer to render into a bufferlist. The nodes in the graph would not actually be connected, which sort of implies there's little point in using a graph in the first place.

After much pain and suffering with AUGraphs in iOS, I've come to the conclusion that it's best to avoid them for anything that falls outside of the use cases that are documented by Apple (run a audio file into iPodEQ etc,) Everything else is a headache. There's no sample code that I've found online of any graph with any complexity for iOS (more than three nodes). My quality of life improved exponentially when I gave up on AUGraph and just started manually passing buffers to processing functions inside of a callback attached to the remoteIO unit.

That said, I'd love for someone on this list to prove me wrong and show me the light... I long for iOS AUGraph blessedness to shine down upon me. - Charlie

On Tue, Jun 28, 2011 at 7:40 AM, Daniel Lam <email@hidden> wrote:
Hi Everyone,

I found the following question from the mailing list archive, which is exactly what I'm after.. Would anyone be able to shed some light?

"I would like to know how to access the output samples of a multichannel mixer unit in iOS.
I am feeding the inputs of the mixer in a AU graph with callback functions which produce sounds. The sounds are mixed together and I would like to manipulate the sample values of the mixed signal. As I can't use custom AUs to connect to on iOS, is there some kind of output callback function or any other way to access the output samples of the mixer?"

Cheers,
Daniel


 _______________________________________________
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: How to access the output samples of a multichannel mixer unit
      • From: Brian Willoughby <email@hidden>
References: 
 >How to access the output samples of a multichannel mixer unit (From: Daniel Lam <email@hidden>)

  • Prev by Date: How to access the output samples of a multichannel mixer unit
  • Next by Date: core audio book
  • Previous by thread: How to access the output samples of a multichannel mixer unit
  • Next by thread: Re: How to access the output samples of a multichannel mixer unit
  • Index(es):
    • Date
    • Thread