lib/minim/src/ddf/minim/analysis/BeatDetect.java
/**
	 * In frequency energy mode this returns true when a beat has been detect in
	 * the <code>i<sup>th</sup></code> frequency band. In sound energy mode
	 * this always returns false.
	 * 
	 * @param i
	 *           int: the frequency band to query
	 * @return boolean: true if a beat has been detected in the requested band
	 * 
	 * @example Analysis/SoundEnergyBeatDetection
	 * 
	 * @related BeatDetect
	 */
In frequency energy mode this returns true when a beat has been detect in
the ith frequency band. In sound energy mode
this always returns false.

@param i
int: the frequency band to query
@return boolean: true if a beat has been detected in the requested band




In frequency energy mode this returns true when a beat has been detect in the ith frequency band . In sound energy mode this always returns false . @param i int : the frequency band to query @return boolean : true if a beat has been detected in the requested band
public boolean isOnset(int i)
	{
		if (algorithm == SOUND_ENERGY)
		{
			return false;
		}
		return fIsOnset[i];
	}
public boolean isOnset ( int i ) { if ( algorithm == SOUND_ENERGY ) { return false ; } return fIsOnset [ i ] ; }
In frequency energy mode this returns true when a beat has been detect in
 the <code>i<sup>th</sup></code> frequency band.
In frequency energy mode this returns true when a beat has been detect in the <code > i<sup > th< / sup > < / code > frequency band .