Package at.ofai.music.worm
Class TempoInducer
- java.lang.Object
-
- at.ofai.music.worm.TempoInducer
-
public class TempoInducer extends java.lang.Object
CLASS TempoInducer finds tempo (rate) but not beat times (phase) of a performance. It implements a real-time incremental tempo induction algorithm, keeps track of multiple hypotheses, and allows switching between these hypotheses by the user. It assumes time is measured on a discrete scale (the timeBase), where an amplitude (rms?) value is supplied for each time point and the estimate of the tempo at this point is returned (method getTempo()). Constants define the maximum, minimum and default tempos in terms of the corresponding interbeat interval (IBI), and the length of time over which tempo is induced (MEMORY).
-
-
Field Summary
Fields Modifier and Type Field and Description boolean
onset
-
Constructor Summary
Constructors Constructor and Description TempoInducer(double tb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
getTempo(double amp)
void
switchLevels(boolean faster)
-