Revision 23:633ec097fa56 BeatTracker.h
| BeatTracker.h | ||
|---|---|---|
| 56 | 56 |
* @param events The onsets or peaks in a feature list |
| 57 | 57 |
* @return The list of beats, or an empty list if beat tracking fails |
| 58 | 58 |
*/ |
| 59 |
static EventList beatTrack(EventList events) {
|
|
| 60 |
return beatTrack(events, EventList()); |
|
| 59 |
static EventList beatTrack(AgentParameters params, EventList events) {
|
|
| 60 |
return beatTrack(params, events, EventList());
|
|
| 61 | 61 |
} |
| 62 | 62 |
|
| 63 | 63 |
/** Perform beat tracking. |
| ... | ... | |
| 65 | 65 |
* @param beats The initial beats which are given, if any |
| 66 | 66 |
* @return The list of beats, or an empty list if beat tracking fails |
| 67 | 67 |
*/ |
| 68 |
static EventList beatTrack(EventList events, EventList beats); |
|
| 68 |
static EventList beatTrack(AgentParameters params, |
|
| 69 |
EventList events, EventList beats); |
|
| 69 | 70 |
|
| 70 | 71 |
|
| 71 | 72 |
// Various get and set methods |
Also available in: Unified diff