Hi all,

I am trying to apply Hamming window on my lengthy sound data soundSample[1000] with window length 100. Then proceed with FFT.

And i found that java does have the package for Hamming window and FFT. As below,

http://code.compartmental.net/minim/javadoc/ddf/minim/analysis/FFT.html
http://marf.sourceforge.net/api/marf/math/Algorithms.Hamming.html

But i hardly find an example that illustrate how to use the package in a java program. So no idea how should i use the method in package.

Please advise and appreciate if reference is provided.

Thank you.

Recommended Answers

All 5 Replies

crossposted here: http://www.java-forums.org/advanced-java/36607-perform-hamming-window-fft-java.html

You should link to all your crossposts, that way, if you find the answer in one of them, it may allow somebody searching for the same answer to find it easier.

Yes. Message noted.

I have another crosspost here..
http://forums.oracle.com/forums/thread.jspa?messageID=9243859#9243859

Anyway, do you have advise on my question????

Many thanks!

minim package:
based on ForwardFFT.pde example
jingle = minim.loadFile("jingle.mp3", 2048);
in this case bufferSize = 2048
and this size is also a size of Hamming window
look at sources

minim package:
based on ForwardFFT.pde example
jingle = minim.loadFile("jingle.mp3", 2048);
in this case bufferSize = 2048
and this size is also a size of Hamming window
look at sources

the minim package not available in Netbean IDE java..

Can advise where can i got the package?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.