?
Solved

From audiosamples to frequency display

Posted on 2005-04-11
3
Medium Priority
?
299 Views
Last Modified: 2013-12-08
Hi,

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!

Regards.
0
Comment
Question by:Felix_at_home
1 Comment
 
LVL 1

Accepted Solution

by:
CyberSwine earned 1000 total points
ID: 13867314
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.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

864 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