Revision 23:633ec097fa56 AgentList.h
| AgentList.h | ||
|---|---|---|
| 121 | 121 |
/** Perform beat tracking on a list of events (onsets). |
| 122 | 122 |
* @param el The list of onsets (or events or peaks) to beat track |
| 123 | 123 |
*/ |
| 124 |
void beatTrack(EventList el) {
|
|
| 125 |
beatTrack(el, -1.0); |
|
| 124 |
void beatTrack(EventList el, AgentParameters params) {
|
|
| 125 |
beatTrack(el, params, -1.0);
|
|
| 126 | 126 |
} // beatTrack()/1 |
| 127 | 127 |
|
| 128 | 128 |
/** Perform beat tracking on a list of events (onsets). |
| 129 | 129 |
* @param el The list of onsets (or events or peaks) to beat track. |
| 130 | 130 |
* @param stop Do not find beats after <code>stop</code> seconds. |
| 131 | 131 |
*/ |
| 132 |
void beatTrack(EventList el, double stop); |
|
| 132 |
void beatTrack(EventList el, AgentParameters params, double stop);
|
|
| 133 | 133 |
|
| 134 | 134 |
/** Finds the Agent with the highest score in the list, or NULL if beat tracking has failed. |
| 135 | 135 |
* @return The Agent with the highest score |
Also available in: Unified diff