Sign in to follow this  
Followers 0
VAG

FFT Spectrum Analyzer

11 posts in this topic

I am looking for solution to implement FFT Spectrum analyzis for Audio line-in signal using AutoIT. My objective is to read out the frequency of a Sine Tone using the on-board sound card. I have tried to search thru the forum with no much help. Does anyone knows of any UDF which do FFT and can also link to audio hardware channel for realtime monitoring?Posted Image

Share this post


Link to post
Share on other sites



I have seen some AU3 scripts for online monitoring audio just use forum's Search.

For FFT I recommend to search some DLL and call its functions via DllCall(). I think there is no such FFT implemented directly in Autoit.

Share this post


Link to post
Share on other sites

I have seen some AU3 scripts for online monitoring audio just use forum's Search.

For FFT I recommend to search some DLL and call its functions via DllCall(). I think there is no such FFT implemented directly in Autoit.

Hi Zedna, thanks for the info, I have found the audio monitoing part. Posted Image But for the FFT DLL, do you have any suggestions? I google the web and most of them are compiled Spectrum analyzer utilities. The graphical display part may not be important to me. What I need is just a simple lib to help me to read out the freq value.Posted Image

Share this post


Link to post
Share on other sites

Hi Zedna, thanks for the info, I have found the audio monitoing part. Posted Image But for the FFT DLL, do you have any suggestions? I google the web and most of them are compiled Spectrum analyzer utilities. The graphical display part may not be important to me. What I need is just a simple lib to help me to read out the freq value.Posted Image

No I haven't any tip for you. I just wanted generally to tell you to don't reinvent wheel (in Autoit) instead to use some existing solution (some DLL).

Share this post


Link to post
Share on other sites

Here are two that might help:

http://www.autoitscript.com/forum/index.php?showtopic=83344

http://www.autoitscript.com/forum/index.php?showtopic=100572

Share this post


Link to post
Share on other sites

I was looking for that but couldn't find it. I've used that script a lot : )

Yeah I know what you mean, that's what I use in EMP for its only visualization.

@VAG

There's an example in the BASS UDF for recording audio with BASS. Go HERE and get BassEnc. Dunno if it helps you but you may want to check it out.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Yeah I know what you mean, that's what I use in EMP for its only visualization.

@VAG

There's an example in the BASS UDF for recording audio with BASS. Go HERE and get BassEnc. Dunno if it helps you but you may want to check it out.

Hi AdmiralAlkex, thanks for the info. Posted Image I saw your 1st post about "Audo Spectrascope"... it uses _mciSendString to get the audio source.

Then inside BASS UDF, I found _Bass_RecordSetDevice and _Bass_ChannelGetLevel for FFT.Posted Image

I need to allow my FFT Analyzer to work in Win7. Should I use everthing from BASS UDF instead?

Edited by VAG

Share this post


Link to post
Share on other sites

I need to allow my FFT Analyzer to work in Win7. Should I use everthing from BASS UDF instead?

MCI still works in Windows 7. You have everything you need to build your app, now do it .

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0