Re: Protocol for processing audio data from input and writing to file
Re: Protocol for processing audio data from input and writing to file
- Subject: Re: Protocol for processing audio data from input and writing to file
- From: William Stewart <email@hidden>
- Date: Mon, 21 Jun 2010 15:07:09 -0700
If you aren't doing a real-time process, then I would use AVAudioRecorder and Player
On Jun 21, 2010, at 2:49 PM, Joey Green wrote:
> 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
_______________________________________________
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