Core Audio Spectrum Analyzer
Core Audio Spectrum Analyzer
- Subject: Core Audio Spectrum Analyzer
- From: Rohan Jyoti <email@hidden>
- Date: Thu, 09 Jun 2011 21:56:58 -0400
Hello, I am in need for some assistance in how to go about making a spectrum analyzer using Core Audio and vDSP (part of Apple's Accelerate Library).
I know C/C++ and just recently learned Objective-C for Cocoa Development. However, I am somewhat lost as to how to use Core Audio to accomplish aforementioned task. Note that I am new to Mac OS X development.
My task is along the lines of:
-Say a song is playing on iTunes
-Use Core Audio to get array of floats from currently playing sound on default sound device
-Use Apple's vDSP to apply a window function and then perform a Fourier Transformation
-Convert to logarithmic scale and build max values (peak)
-Create bar spectrum analyzer
An example is the spectrum analyzer found in iTunes (in the currently playing song info). Only difference is that I want my spectrum analyzer to be stand-alone based on the default sound out.
I have done extensive research (Base library, PortAudio, RTAudio, FFTW...); however, I would like to accomplish this using Apple's native Core Audio and Accelerate Library. I would really appreciate any guidance as to how to get started. My main concern is with using Core Audio to extract floats (so they can be processed by fft) from default out sound device. Thanks in advance. _______________________________________________
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