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

◆ getNoteDetector()

shared_ptr< detector::Note > fl::audio::Processor::getNoteDetector ( )
private

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

874 {
875 if (!mNoteDetector) {
876 // Share the detector::Pitch instance between Processor and detector::Note
877 auto pitchDetector = getPitchDetector();
880 }
881 return mNoteDetector;
882}
shared_ptr< detector::Note > mNoteDetector
shared_ptr< detector::Pitch > getPitchDetector() FL_NOEXCEPT
void registerDetector(shared_ptr< Detector > detector) FL_NOEXCEPT
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414

References getNoteDetector(), getPitchDetector(), fl::make_shared(), mNoteDetector, and registerDetector().

Referenced by getCurrentNote(), getNoteConfidence(), getNoteDetector(), and getNoteVelocity().

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