Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 !!!

like image 433
ipalibowhyte Avatar asked Jan 26 '26 14:01

ipalibowhyte


1 Answers

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.

like image 185
Rafa de King Avatar answered Jan 28 '26 03:01

Rafa de King



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!