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

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.

Jump to Post

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

Jump to Post

All 5 Replies

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.