lib/minim/src/ddf/minim/analysis/BeatDetect.java
/**
	 * In frequency energy mode this returns true if a beat corresponding to the
	 * frequency range of a hi hat has been detected. This has been tuned to work
	 * well with dance / techno music and may not perform well with other styles
	 * of music. In sound energy mode this always returns false.
	 * 
	 * @return boolean: true if a hi hat beat has been detected
	 * 
	 * @example Analysis/FrequencyEnergyBeatDetection
	 * 
	 * @related BeatDetect
	 */
In frequency energy mode this returns true if a beat corresponding to the
frequency range of a hi hat has been detected. This has been tuned to work
well with dance / techno music and may not perform well with other styles
of music. In sound energy mode this always returns false.

@return boolean: true if a hi hat beat has been detected




In frequency energy mode this returns true if a beat corresponding to the frequency range of a hi hat has been detected . This has been tuned to work well with dance / techno music and may not perform well with other styles of music . In sound energy mode this always returns false . @return boolean : true if a hi hat beat has been detected
public boolean isHat()
	{
		if (algorithm == SOUND_ENERGY)
		{
			return false;
		}
		int lower = spect.avgSize() - 7 < 0 ? 0 : spect.avgSize() - 7;
		int upper = spect.avgSize() - 1;
		return isRange(lower, upper, 1);
	}
public boolean isHat ( ) { if ( algorithm == SOUND_ENERGY ) { return false ; } int lower = spect . avgSize ( ) - 7 < 0 ? 0 : spect . avgSize ( ) - 7 ; int upper = spect . avgSize ( ) - 1 ; return isRange ( lower , upper , 1 ) ; }
In frequency energy mode this returns true if a beat corresponding to the
 frequency range of a hi hat has been detected.
In frequency energy mode this returns true if a beat corresponding to the frequency range of a hi hat has been detected .