FastLED 3.10.8
Loading...
Searching...
No Matches

◆ Note() [2/4]

fl::audio::detector::Note::Note ( shared_ptr< Pitch > pitchDetector)
explicit

Definition at line 28 of file note.cpp.hpp.

29 : mPitchDetector(pitchDetector)
30 , mOwnsPitchDetector(false)
32 , mLastVelocity(0)
33 , mNoteActive(false)
34 , mCurrentPitch(0.0f)
35 , mPitchBend(0.0f)
36 , mNoteOnEnergy(0.0f)
37 , mNoteOnTime(0)
39 , mNoteOnThreshold(0.6f)
40 , mNoteOffThreshold(0.4f)
44{}
shared_ptr< Pitch > mPitchDetector
Definition note.h:69
static constexpr u8 NO_NOTE
Definition note.h:110

References fl::FL_NO_EXCEPT, mCurrentNote, mCurrentPitch, mLastUpdateTime, mLastVelocity, mMinNoteDuration, mNoteActive, mNoteChangeThreshold, mNoteOffThreshold, mNoteOnEnergy, mNoteOnThreshold, mNoteOnTime, mOwnsPitchDetector, mPitchBend, mPitchDetector, mVelocitySensitivity, and NO_NOTE.