Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use aubio framework in iOS?

I am trying to detect beat, pitch, onset, and fast Fourier Transform (FFT) of audio file in iOS and I found that aubio provides these features and iOS framework also available.

So far, I am using The Amazing Audio Engine to receive audio data in terms of Core Audio's AudioBufferList like this:

id<AEAudioReceiver> receiver = [AEBlockAudioReceiver audioReceiverWithBlock:
                               ^(void                     *source,
                                 const AudioTimeStamp     *time,
                                 UInt32                    frames,
                                 AudioBufferList          *audio) {
    // I don't know how to use audio library.
}];

Can I detect beat, pitch, onset, and fast Fourier Transform (FFT) using aubio from this AudioBufferList and how? If I am on the wrong track, please give me any suggestion?

like image 210
Protocole Avatar asked Jan 23 '14 08:01

Protocole


1 Answers

Look at the aubio download page, I believe they've compiled it into framework for iOS and you can import to your Xcode directly.

Reference : http://aubio.org/download#ios

like image 67
Elliot Yap Avatar answered Oct 18 '22 12:10

Elliot Yap