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

Method onBeat

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

Source from the content-addressed store, hash-verified

96}
97
98void Processor::onBeat(function<void()> callback) {
99 auto detector = getBeatDetector();
100 detector->onBeat.add(callback);
101}
102
103void Processor::onBeatPhase(function<void(float)> callback) {
104 auto detector = getBeatDetector();

Callers 7

FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80
beat.hppFile · 0.80
runProfilerFunction · 0.80
prewarmFFTCacheFunction · 0.80
runProfilerFunction · 0.80
runProfilerFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected