--------------------------------------------------------------------------- Title | ctSpectrum Analyzer v2.0 Date | January 18 / 2003 Author | Murphy McCauley Author Email | MMcCauley@FullSpectrum.Com (Put "[ct]" in Subject) Website | http://www.constantthought.com --------------------------------------------------------------------------- I make no promises that this code will do what you want or even that it will do what I meant it to do. You use it at your own risk. --------------------------------------------------------------------------- (Formerly Deeth Spectrum Analyzer) [About] It's a simple audio spectrum analyzer. It opens a waveform audio input device for 16-bit mono input, gets chunks of audio, runs the FFT on them, and displays the output in a little window. The Visual Basic sourcecode is included. It demonstrates an easy and fairly fast way to do graphics double-buffering with a hidden picturebox, audio input, FFT usage, etc., etc. [New in version 2.0] New version has better coding style, bugs fixed, output improved (true spectra power calculated, better scaling, Blackman window applied), is resizable, is probably faster (the FFT certainly is), uses a double buffer for the audio input (less waiting), has generally better code, and it's now very easy to adjust the sample chunk size and the sample rate. [Aknowledgments] Once again, thanks go to Don Cross for providing the original FFT code. [Requirements] You will need the VB6 runtimes for this to work. You can get them from: ftp://ftp.microsoft.com/Softlib/MSLFILES/VBRUN60.EXE And a soundcard, of course.