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

A single per-note expression event. More...

#include <mpe_buffer.hpp>

Public Types

enum class  Kind : uint8_t {
  NoteOn , NoteOff , PitchBend , Pressure ,
  Timbre
}

Public Attributes

int32_t sample_offset = 0
 Sample position within the current block.
Kind kind = Kind::NoteOn
MpeNoteState state
 Snapshot at event time.

Detailed Description

A single per-note expression event.

state is a snapshot of the note's full MPE state at the time the event was produced, so a plugin can read any field without tracking deltas itself.

Member Enumeration Documentation

◆ Kind

enum class pulp::midi::MpeExpressionEvent::Kind : uint8_t
strong
Enumerator
NoteOn 
NoteOff 
PitchBend 
Pressure 
Timbre 

Member Data Documentation

◆ kind

Kind pulp::midi::MpeExpressionEvent::kind = Kind::NoteOn

◆ sample_offset

int32_t pulp::midi::MpeExpressionEvent::sample_offset = 0

Sample position within the current block.

◆ state

MpeNoteState pulp::midi::MpeExpressionEvent::state

Snapshot at event time.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/midi/include/pulp/midi/mpe_buffer.hpp