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

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.