| 146 | } |
| 147 | |
| 148 | void Processor::onTreble(function<void(float)> callback) { |
| 149 | auto detector = getFrequencyBands(); |
| 150 | detector->onTrebleLevel.add(callback); |
| 151 | } |
| 152 | |
| 153 | void Processor::onFrequencyBands(function<void(float, float, float)> callback) { |
| 154 | auto detector = getFrequencyBands(); |