Re: capture audio-in
Re: capture audio-in
- Subject: Re: capture audio-in
- From: Brian Willoughby <email@hidden>
- Date: Mon, 2 Feb 2009 14:25:27 -0800
Hi Mark. I think your question was answered recently. Check the CoreAudio Mailing List archives. There are CoreAudio samples which collect audio from an input device. You don't really need any special programming tricks or AudioUnit development to do this. Some of the examples open an output device to gain access to the corresponding input device, but you might want to skip that and open the input device directly.
As for the audio analysis and pitch detection, there are sites like MusicDSP.org which are dedicated to such algorithms. This list is for the CoreAudio API. You might also look into the Performance Optimization list that Apple hosts - it is dedicated to Apple's vector API which could serious speed up pitch detection. You'll have to combine multiple technologies to do what you want, but the CoreAudio aspects should not be tricky at all.
Brian Willoughby Sound Consulting
On Feb 2, 2009, at 13:07, Mark A. Richman wrote: I guess "intercept" is a misnomer in my case. I simply need to capture and analyze audio in realtime (I'm making a guitar tuner app). On Mon, Feb 2, 2009 at 3:57 PM, Brian Willoughby <email@hidden> wrote: In the pitch detection case, there's no need to intercept audio input because multiple applications can have the same input device open and get the same data. You do not need AudioUnit code to open the audio input and get data. In the Skype pre-process case, you would need to alter the data for another application, so you need to point Skype to your audio data instead of the usual input. I'm not sure whether Soundflower has the same features for input as it does for output. Perhaps the easiest approach would be to write the Skype developers and ask them to support AudioUnit plugins on the input audio. That way you could process the audio without writing any code (assuming that all the processing you need is available in existing AUs).
On Feb 2, 2009, at 10:43, Mark A. Richman wrote: I had the same question (to process audio realtime for pitch detection), and I've been looking at the SpeakHere and aurioTouch samples. If anyone else has a recommendation, please let me know as well! I am looking to avoid Audio Units, since I'd like to use my code on both the Mac and iPhone.
|
_______________________________________________
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