MCPcopy Create free account
hub / github.com/FastLED/FastLED / onFrequencyBands

Method onFrequencyBands

src/fl/audio/audio_processor.cpp.hpp:153–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void Processor::onFrequencyBands(function<void(float, float, float)> callback) {
154 auto detector = getFrequencyBands();
155 detector->onLevelsUpdate.add(callback);
156}
157
158void Processor::onEqualizer(function<void(const detector::Equalizer&)> callback) {
159 auto detector = getEqualizerDetector();

Callers 4

runProfilerFunction · 0.80
prewarmFFTCacheFunction · 0.80
runProfilerFunction · 0.80
runProfilerFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected