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

Method onBeatPhase

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected