public class BeatRootOnsetEventHandler extends java.lang.Object implements OnsetHandler
| Constructor and Description |
|---|
BeatRootOnsetEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleOnset(double time,
double salience) |
void |
trackBeats(OnsetHandler beatHandler)
Guess the beats using the populated list of onsets.
|
public void handleOnset(double time,
double salience)
handleOnset in interface OnsetHandlerpublic void trackBeats(OnsetHandler beatHandler)
beatHandler - Use this handler to get the time of the beats. The salience of
the beat is not calculated: -1 is returned.