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

Method onPitch

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

Source from the content-addressed store, hash-verified

236}
237
238void Processor::onPitch(function<void(float)> callback) {
239 auto detector = getPitchDetector();
240 detector->onPitch.add(callback);
241}
242
243void Processor::onPitchWithConfidence(function<void(float, float)> callback) {
244 auto detector = getPitchDetector();

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