• 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: SubGraphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SubGraphs


  • Subject: Re: SubGraphs
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 23 Feb 2009 08:49:00 -0800


On Feb 22, 2009, at 10:55 PM, Russ Fellman wrote:

I was reading some of the posts on SubGraphs but the youngest I could find was 2006. I would like to make a mixer that would be able to have effects placed anywhere along the signal path in the main graph and be dynamically controlled. Is this possible?

I may be misunderstanding, but you don't need to use subgraphs to do this. Just create graph nodes for all the audio units (inputs, outputs, effects, mixers) and tell the graph how to connect their inputs and outputs together.


I haven't used subgraphs, but my understanding is that they're just a way to hide complexity by encapsulating an entire graph as a single node so you can easily use it in other graphs. But you can always do the same thing using a single graph.

In your case it sounds like you want a graph such as

track 1 --> effect A --> effect B --> ... \
track 2 --> effect C --> effect D --> ... --Mixer --> Output
track 3 --> effect E --> effect F --> ... /

I do basically this in the audio app I'm working on, just without the effects (for now...) The only tricky part is feeding the audio files into the graph. There is a standard audio unit that will play audio from a file region, but it doesn't work for offline (non-realtime) usage so I can't use it in my app unfortunately.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >SubGraphs (From: Russ Fellman <email@hidden>)

  • Prev by Date: Will AVAudioPlayer play mono files on iPhone?
  • Next by Date: Re: Driver seems a little dizzy while running more than on media player
  • Previous by thread: SubGraphs
  • Next by thread: Set Volume for Recorder Queue
  • Index(es):
    • Date
    • Thread