• 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: Converting an AUGraph to offline mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting an AUGraph to offline mode


  • Subject: Re: Converting an AUGraph to offline mode
  • From: Brian Willoughby <email@hidden>
  • Date: Mon, 21 Mar 2011 15:05:41 -0700

That's a decent suggestion, Jean-Daniel, but it isn't worth the money. I do not want to charge my client just so that Apple can document a feature of CoreAudio. If it were a critical feature, and not more of a documentation issue, then I probably would have already been talking to DTS, who I have tried to work with before.

Basically, I have worked around the issue by not using the offline feature at all. But the reason I bring the question here to the mailing list is that nobody will use offline graphs if this sort of question is not answered. In other words, I assume that it will benefit Apple to answer this question openly, especially where at least a couple of other engineers have expressed an interest in knowing how to do the same thing. It is more important for me to get this documented publicly than it would be to have my current project use offline instead of online bounce.

Brian Willoughby
Sound Consulting


On Mar 21, 2011, at 11:02, Jean-Daniel Dupas wrote:
What bout opening a DTS incident ? This is probably a better way to get an answer than bumping this subject again and again.

Le 21 mars 2011 à 18:55, tahome izwah a écrit :
Any word on this?

--th

2011/2/17 Brian Willoughby <email@hidden>:
This will be the fifth time I've asked. At least two other prominent
members of the mailing list are also interested in an answer.


On Jan 11, 2011, at 19:15, Brian Willoughby wrote:
Is there really nobody who can tell me whether it's possible to use an
AUGraph for offline rendering, when the graph contains a mixture of
AudioUnits that do not directly support offline mode?


On Jan 3, 2011, at 11:37, Brian Willoughby wrote:
Can anyone comment on the feasibility of using AUGraph to render in
offline mode when combining AudioUnits of both the offline and non-offline
variety? As I mention, some of the Apple AUs do not support offline mode,
and thus do not seem to play well in the graph (unless I'm missing
something).


On Dec 28, 2010, at 04:56, Brian Willoughby wrote:
Perhaps I should preface my question by pointing out that I want to
include AudioUnits in my AUGraph which do not support
kAudioUnitProperty_OfflineRender with those that do. So, another way to
phrase my question is: Can you combine offline and non-offline AUs in the
same graph for use in offline mode? If not, how are normal effects supposed
to be used when bouncing a file if some of the plugins in the graph are
offline and some do not support that mode?


On Dec 28, 2010, at 04:45, Brian Willoughby wrote:
I have an AUGraph that is rendering properly to a file. I would like to
convert this to offline mode, but it doesn't seem that AUGraph passes
through the kAudioOfflineUnitRenderAction_* flags. In other words, when I
call AudioUnitRender(), I start by passing in
kAudioOfflineUnitRenderAction_Preflight and loop until
kAudioOfflineUnitRenderAction_Complete is set, then I pass in
kAudioOfflineUnitRenderAction_Render until
kAudioOfflineUnitRenderAction_Complete is set. My AUGraph has a Matrix
Mixer feeding High Pass Filter and Peak Limiter and ending with the Generic
Output. The head of this AUGraph is a callback which uses
ExtAudioFileRead() after checking the AudioUnitRenderActionFlags, but it
seems that I never get any flags but 0.


The example offline host code only sets up a single AudioUnit, not a
full AUGraph. So, I'm wondering what an AUHost is supposed to do when there
is a whole graph of AudioUnits that need to be run offline, e.g., for
bouncing to disk. Don't tell me that you must setup separate callbacks for
every AU and call them independently for offline mode!


What I had hoped was that my flags would be passed through from
AudioUnitRender() to the head of my graph, where my callback can use the
ExtAudioFile to determine when to set the _Complete bit. Apparently, the
Apple AUs overwrite the flags on return, or perhaps do not even pass them
down when pulling their input data on render.


Has anyone worked with a full AUGraph in offline mode? I'd appreciate
any comments or guidelines. The CoreAudio Mailing List archives do not seem
to cover this combination.

_______________________________________________
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: 
 >Re: Converting an AUGraph to offline mode (From: tahome izwah <email@hidden>)
 >Re: Converting an AUGraph to offline mode (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Help: XCode 3.2 breaks XCode 3.1 projects (Artemiy Pavlov)
  • Next by Date: Re: Help: XCode 3.2 breaks XCode 3.1 projects (Artemiy Pavlov)
  • Previous by thread: Re: Converting an AUGraph to offline mode
  • Next by thread: Re: how to change pitch in real time
  • Index(es):
    • Date
    • Thread