ipalibowhyte
ipalibowhyte

Reputation: 1563

What logic is used for creating an Equalizer meter

Basically i'm gonna be working on an iOS music app which when a song is being played, it shows the fancy Equalizer meter, Something like this but with all the animation of bars going up and down:

Equalizer meter

After looking into this and not finding enough resource, I really want to carry this as a project perhaps making a web version using j query.

I'm not really asking for specific code, i just want to know how the animation works in general ?

Thanks a million !!!

Upvotes: 3

Views: 3738

Answers (1)

Rafał Sroka
Rafał Sroka

Reputation: 40028

Checkout the Cocoa Waveform Audio Player Control project. It's a cocoa audio player component which displays the waveform of the audio file.

Also, there is already a lot of questions on this topic:

iOS FFT Accerelate.framework draw spectrum during playback

Using the Apple FFT and Accelerate Framework

iOS FFT Draw spectrum

Animation would be pretty straight forward. It is just animating changes of the height of rectangles.

Upvotes: 3

Related Questions