• 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
HighLevel Overview Offline Rendering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HighLevel Overview Offline Rendering


  • Subject: HighLevel Overview Offline Rendering
  • From: Barry Duggan <email@hidden>
  • Date: Tue, 15 May 2012 14:03:44 +0100

I'm currently using ExtAudioFileWriteAsync in a mic line callback to write captured samples to disk. I have been performing some fft in the mic callback prior to calling ExtAudioFileWriteAsync. As you can imagine this obliterates my cpu and so I'm looking into using offline rendering to do my fft stuff. I would appreciate a little guidance on how to approach this because I can find no useful IOS literature on how to achieve this.

I found a reference to kAudioUnitSubType_OfflineEffect and as far as I can tell this is my only option. Is this true?

In terms of use case what would be the most realistic?

1) Continue to write my files asynchronously from the mic callback. Then when recording is complete process this file offline with the audio unit I mentioned.
    If this approach is reasonable how would I set up the unit to process an audio file and report back when its complete?

2) Move the the ExtAudioFileWriteAsync to a render callback of the kAudioUnitSubType_OfflineEffect unit and call AudioUnitRender on this unit from the mic callback?

Like I said google searches seem to be a bit light on information about this subject so any acedotal / high level description / or simple example code  would be great to get my started down the right path.

Thanks,
Barry.
 _______________________________________________
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

  • Prev by Date: Why does this code crash in AUGraphInitialize?
  • Next by Date: is there anything at a lower level than core audio on Mac OS?
  • Previous by thread: Re: Why does this code crash in AUGraphInitialize?
  • Next by thread: is there anything at a lower level than core audio on Mac OS?
  • Index(es):
    • Date
    • Thread