Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » How to make a audio frequency displayer?

This thread is locked; no one can reply to it. rss feed Print
How to make a audio frequency displayer?
divyesh ladva
Member #16,557
September 2016

I want to make a Microsoft media player clone. It will only play audio files more specifically mp3 and wav files. I want some help on how to make visualizations, like in the image I attached. I don't know much of allegro audio functions. Sorry for that. Thanks for help ;)

Arthur Kalliokoski
Second in Command
February 2005
avatar

I attached a zipfile that has source to something similar, meant to tune a guitar by finding the highest value of an FFT for a given note. It doesn't even compile anymore but it might give you some ideas.

They all watch too much MSNBC... they get ideas.

Chris Katko
Member #1,881
January 2002
avatar

FFT is definitely what's used to make that. Read up on FFT.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Elias
Member #358
May 2000

ex_mixer_pp which comes with Allegro also could be useful.

--
"Either help out or stop whining" - Evert

Go to: