| 141 | } |
| 142 | |
| 143 | void Processor::onMid(function<void(float)> callback) { |
| 144 | auto detector = getFrequencyBands(); |
| 145 | detector->onMidLevel.add(callback); |
| 146 | } |
| 147 | |
| 148 | void Processor::onTreble(function<void(float)> callback) { |
| 149 | auto detector = getFrequencyBands(); |