From audiosamples to frequency display

Posted on 2005-04-11
Last Modified: 2013-12-08

I've set up the Samplegrabber. I use it to display bitmaps. If there is only audio I use the samples to print some easy spectrum to show.

What I want is to make, based on the audiosamples, is (1) a equalizer display (some frequencies and the level) and (2) just a first visualisation (like in the mediaplayer) to get an idea how it is done.

So the question is, can someone give some links or better sourcekode examples how this is done. I'm using Delphi but VB and C examples will do!

Question by:Felix_at_home
    1 Comment
    LVL 1

    Accepted Solution

    To calculate the frequency band levels for your equalizer display, unless you have a component to do it for you, what you want to use is most likely the FFT (Fast Fourier Transform). It is a commonly used algorithm that converts a series of samples (called "time domain data") into a series of frequency band states (called "frequency domain data"). Actually it can convert the samples back as well since the operation is the same both ways. If this is what you need, let me know and I'll try to help you.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
    Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now