| 111 | } |
| 112 | |
| 113 | void Processor::onTempoChange(function<void(float, float)> callback) { |
| 114 | auto detector = getBeatDetector(); |
| 115 | detector->onTempoChange.add(callback); |
| 116 | } |
| 117 | |
| 118 | void Processor::onTempo(function<void(float)> callback) { |
| 119 | auto detector = getTempoAnalyzer(); |