| 101 | } |
| 102 | |
| 103 | void Processor::onBeatPhase(function<void(float)> callback) { |
| 104 | auto detector = getBeatDetector(); |
| 105 | detector->onBeatPhase.add(callback); |
| 106 | } |
| 107 | |
| 108 | void Processor::onOnset(function<void(float)> callback) { |
| 109 | auto detector = getBeatDetector(); |