Protocol for processing audio data from input and writing to file
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