• 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
Protocol for processing audio data from input and writing to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Protocol for processing audio data from input and writing to file


  • Subject: Protocol for processing audio data from input and writing to file
  • From: Joey Green <email@hidden>
  • Date: Mon, 21 Jun 2010 16:49:52 -0500

I'm wanting to take in audio data from mic, add some effect to the audio data and then spit the processed audio data back out to the speakers. I have thought of a couple ways to do this, but I'm not sure if any would work. 

Also, I think my processing will be too slow to process on the fly in or out

Scenario one
1. Read input from mic with remoteio AU
2. add my effect to the audio data
3. save the audio data in a buffer
4. once I'm done, read back my buffer and run it through another remoteio to play through mic


Scenario two
1. Read input from mic using audio queue
2. once I'm done, run the audio queue through an effect AU and save it out to another buffer
3. once done run that buffer through remoteIO AU or an audio queue


Am I thinking of this correctly? Should I be trying something else?
 _______________________________________________
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: Protocol for processing audio data from input and writing to file
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Error Code -50 (paramErr) on AUGraphNodeInfo
  • Next by Date: Re: Question: What is the impact of changing .cpp AudioUnitEffectsource to .mm
  • Previous by thread: Re: Question: What is the impact of changing .cpp AudioUnitEffect source to .mm
  • Next by thread: Re: Protocol for processing audio data from input and writing to file
  • Index(es):
    • Date
    • Thread