Results 1 to 5 of 5
Thread: Spectrum Analyzer
- 05-04-2010, 09:02 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 9
- Rep Power
- 0
Spectrum Analyzer
Cordial Greetings:
I want to implement an application like Spectrum Analyzer of Winamp.
For an Array of bytes from audio file (AudioInputStream).
Someone knows that?
I need code for understand and make it.
Sample, etc.
Like this...
http://www.relisoft.com/freeware/freq.html
Thanks.Last edited by joseluisbz; 05-04-2010 at 09:06 AM.
- 05-04-2010, 10:12 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
What you've tried actually, do you have any idea or design for that?
Step down your application into several. As the first thing checkout how to do such kind of dynamic graphical stuff with Java. Refer to Swing, you can have a better idea. Take start on that way.
- 05-04-2010, 05:16 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 9
- Rep Power
- 0
Thanks for your response.
But, My interest is not the technology for graphics, else the algorithm and sample code for calculate the data for generate the graphic.
Thank you.
- 05-04-2010, 05:44 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
That's what I told you lol. That's the way you have to follow. Because I don't think it's possible to find the exact implementation you want on anywhere, even on the web.
- 05-07-2010, 06:35 AM #5
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
To convert from time samples to the frequency domain, use an FFT (fast Fourier transform). There are FFT libraries for Java freely available, so you don't have to write one. With most FFT libraries, you have to swap the lower and upper halves of the transformed data to create a representation that makes sense to humans. With some libraries you need to replicate the output, flip it, and precede the output with that flipped version. If you want to play in the frequency domain, you really need to learn what FFT's are all about.
Similar Threads
-
Index out of bounds Numeric analyzer.
By Sean_J in forum New To JavaReplies: 3Last Post: 03-17-2010, 03:06 PM -
Lucene Analyzer that can handle C++ vs C#
By maxschlein in forum LuceneReplies: 0Last Post: 12-11-2009, 06:03 PM -
Using Memory Analyzer to examine the heap
By Bolo33 in forum EclipseReplies: 0Last Post: 06-30-2009, 02:28 AM -
Dependency Analyzer 1.0.3-rc0
By levent in forum Java SoftwareReplies: 0Last Post: 07-30-2007, 04:34 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks