Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::midi::MpeGlideDetector Class Reference

Glide/legato detector — observes MPE note-on events and reports when a new note on the same channel overlaps an existing held note. More...

#include <mpe_synth_voice.hpp>

Public Member Functions

bool observe_note_on (const MpeNoteState &note)
 Returns true if note.channel already has an active note at the time of a new note-on, signaling a legato/glide gesture.
void observe_note_off (const MpeNoteState &note)
void reset ()
bool channel_held (uint8_t ch) const

Detailed Description

Glide/legato detector — observes MPE note-on events and reports when a new note on the same channel overlaps an existing held note.

Member Function Documentation

◆ channel_held()

bool pulp::midi::MpeGlideDetector::channel_held ( uint8_t ch) const
inline

◆ observe_note_off()

void pulp::midi::MpeGlideDetector::observe_note_off ( const MpeNoteState & note)
inline

◆ observe_note_on()

bool pulp::midi::MpeGlideDetector::observe_note_on ( const MpeNoteState & note)
inline

Returns true if note.channel already has an active note at the time of a new note-on, signaling a legato/glide gesture.

◆ reset()

void pulp::midi::MpeGlideDetector::reset ( )
inline

The documentation for this class was generated from the following file: