Minim
core | ugens | analysis
 

BeatDetect

isRange

Description

In frequency energy mode this returns true if at least threshold bands of the bands included in the range [low, high] have registered a beat. In sound energy mode this always returns false.

Signature

boolean isRange(int low, int high, int threshold)

Parameters

low — int: the index of the lower band
high — int: the index of the higher band
threshold — int: the smallest number of bands in the range [low, high] that need to have registered a beat for this to return true

Returns

boolean: true if at least threshold bands of the bands included in the range [low, high] have registered a beat

Related

BeatDetect

Example

None available

Usage

Web & Application