| 106 | } |
| 107 | |
| 108 | void Processor::onOnset(function<void(float)> callback) { |
| 109 | auto detector = getBeatDetector(); |
| 110 | detector->onOnset.add(callback); |
| 111 | } |
| 112 | |
| 113 | void Processor::onTempoChange(function<void(float, float)> callback) { |
| 114 | auto detector = getBeatDetector(); |