• 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
Real-Time Effects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Real-Time Effects


  • Subject: Real-Time Effects
  • From: Dominic Feira <email@hidden>
  • Date: Thu, 17 Feb 2005 21:54:40 -0500

I am in the middle of playing with some "real-time" effects.

Previously my code looked like this:

[ AUHAL ] ----- [Giant Ring Buffer] ---
[ Mixer ] ---- [ Encoder ] ---- [ File ]
[ Ring Buffer ] ---------

I would like to add some "real-time" effects to the audio coming in from the AUHAL. My question is this. Should the input from the AUHAL go into a ring buffer from which I apply the effects? Or can the effects (AUGraph of AUs) be applied directly in the AUHAL callback? I want to apply them in the callback, but my instincts tell me that this isn't a good idea.

What I currently have working (without problem so far) is this:

[ AUHAL ] ------ [ Effects ] -----
[ Mixer ] ------ [ Giant Ring Buffer ] ---- [ Encoder ] ---- [ File ]
[ Ring Buffer ] ----

The second (non giant) ring buffer is audio data from a file that is loaded ahead of time. The AUHAL callback triggers the renger on the Mixer that pulls the data.

I think it should probably be like this

[ AUHAL ] -------- [ Ring Buffer ] ------- [ AUGraph ] ...

And then run the AUGraph in another thread.

Any comments/ ideas welcome.

Dominic Feira / Code Monkey / Ambrosia Software, Inc.

_______________________________________________
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: Re: Core audio driver
  • Next by Date: Re: kStereoMixerParam_PreAveragePower
  • Previous by thread: Re: Time in CoreAudio/AudioUnits
  • Next by thread: Coreaudio newbie
  • Index(es):
    • Date
    • Thread