After a long hard work for 3 months I finally made a cool Spectrum Analyzer for my Media player. It looks like Jet Audio's spectrum analyzer. Wheepee..............
tell me how many of you are interested in this code. Then I will paste the code here .
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Hey guys thanks a lot for taking interest in my code. Today I am going out and will return after a week. At present I don't have time to post it so be patient and wait until I return.I promise you all that I will post it as soon as I come back. Sorry fot that.
Hey friends, I wanted to share my work with you all but unfortunately I lost one of the main module of the code which was used to access the sound card and get the sound samples. The only code remaining with me is for displaing the frequency on LED bar graph which is of no use without the module. I'll have to re-write the module. I also have the screen shot of the working project: Take a look.
I bet u need a fusion powered shuttle to reach my place...
Posts
963
oh really? May 2000???
I'm sure the module he meant actually doesn't work for older
sound cards, but winamp does. I guess winamp acquire the
sound frequency data from the file instead of the sound card...
PSC has lots of these codes, but all are using some sort of
advance feature of modern sound cards...
ASM,C,C++,BASIC,VB,JAVA,VBS,HTML,ASP,PHP,mySQL,VB.NET,MATLAB
Programming is fun, but only if you're not on a tight deadline
So I consider all those working engineers sad people
I've written a spectrum analyzer for sound, just use the waveOut and waveIn functions to read the levels into an array of data and display the results, i've seen loads of demo's on that codeplanet site.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
I think using using WaveIn and WaveOut will just display average the amplitude of Wave Sample whereas a Spectrum Analyzer removes the amplitudes of individual frequency component of the complex audio signal (from 20Hz to 20kHz) and disiplays them individually in the form of array or Bar Graphs. You have to use FFT (Fast Fourier Transform) for removing Frequency comonents from any complex waveforms.