/**
* Instantiates a new sound minim.
*/
public SoundMinim(float silenceThreshold) {
minim = new Minim(this);
//in = minim.getLineIn( Minim.STEREO, 512 );
in = minim.getLineIn( Minim.MONO, 1024 );
// a beat detection object that is FREQ_ENERGY mode that
// expects buffers the length of song's buffer size