I have a directX application which reads real time audio from a sound card (mic) and calculates FFT for it. Frequency of sound per .5 second.
I need to create a spectrum Analyzer kind of component. Any way I could do this using DirectX (Direct 3D maybe). I am not looking for 3rd party component.
--Yatharth

Spectrum Analyzer for Real time Audio.
Wenbin Zhang
Hi guys, i cant remember the url but if u type 'bass .net' into google, you will get the url there, they offer a free .net wrapper, which allows you to get the audio data from it, you can also apply 3d sound effects and stuff.
the wrapper is free so long, as it is not used in programs which are charged for, if you charge for your program make sure to apply for a license.
SanJain
You could draw the bars using the Sprite class and orient the origin at the bottom -- then change the Y scaling with the value of the freq range, I think.
Riki0410
Martijn Iseger
There's surprisingly little work done on high-level sound APIs in MDX. You can have a look at one of these .NET DirectShow wrappers:
http://directshownet.sourceforge.net/
http://www.kohsuke.org/dotnet/directshowTypelib/
http://www.codeproject.com/cs/media/directshownet.asp
And a commercial 3rd party component (100$ shareware license), which probably does what you need in a simple fashion: BASS from un4seen.com.
tseiy
hi i am currently coding an app, which uses the audio data, howevever i do not have the directX SDK, i am attempting to do it from ordinary windows api's/dll's which is proving almost impossible!!!
do you think that i should just get the directX sdk and be done with it, also you said that you could do the FFT calculations, if u no how to obtain the data without usin DX could you tell me plz, that would be great.
if there really isn't much alternative to DX being needed, i will download the SDK.
LFWanennburg
I need to do this without windows vista. Something like the display of the normal sound recorder will also do. I just need to understand how to do the graphics, I can do all the FFT calculations etc.
matshelander