FastLED 3.9.15
Loading...
Searching...
No Matches

◆ getNoteConfidence()

float fl::audio::Processor::getNoteConfidence ( )

Definition at line 590 of file audio_processor.cpp.hpp.

590 {
591 return getNoteDetector()->isNoteActive() ? (getNoteDetector()->getLastVelocity() / 255.0f) : 0.0f;
592}
shared_ptr< detector::Note > getNoteDetector() FL_NOEXCEPT

References getNoteConfidence(), and getNoteDetector().

Referenced by getNoteConfidence(), fl::audio::Reactive::getNoteConfidence(), and onDropImpact().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: