Per-note metadata maintained by the Synthesiser when a voice is activated. More...
#include <synthesiser.hpp>
Public Attributes | |
| uint8_t | channel = 0 |
| MIDI channel (0–15). | |
| uint8_t | note = 0 |
| MIDI note number (0–127). | |
| uint8_t | velocity = 0 |
| Note-on velocity (1–127; 0 → note off). | |
| int8_t | priority = 0 |
| User-supplied priority for Priority steal. | |
| uint8_t | voice_group = 0 |
| Optional channel-scoped choke group (0 = none). | |
| uint32_t | note_id = 0 |
| Monotonic id; younger > older. | |
| bool | active = false |
| Voice is sounding (held or releasing). | |
| bool | releasing = false |
| Note-off received; voice in release tail. | |
| bool | sustained = false |
| Note-off deferred by sustain pedal (CC64). | |
| bool | sostenuto = false |
| Note captured by sostenuto pedal (CC66). | |
| bool | soft_pedal = false |
| Soft pedal (CC67) is active for this note. | |
Per-note metadata maintained by the Synthesiser when a voice is activated.
Subclasses read this via voice.note().
| bool pulp::midi::SynthesiserNote::active = false |
Voice is sounding (held or releasing).
| uint8_t pulp::midi::SynthesiserNote::channel = 0 |
MIDI channel (0–15).
| uint8_t pulp::midi::SynthesiserNote::note = 0 |
MIDI note number (0–127).
| uint32_t pulp::midi::SynthesiserNote::note_id = 0 |
Monotonic id; younger > older.
| int8_t pulp::midi::SynthesiserNote::priority = 0 |
User-supplied priority for Priority steal.
| bool pulp::midi::SynthesiserNote::releasing = false |
Note-off received; voice in release tail.
| bool pulp::midi::SynthesiserNote::soft_pedal = false |
Soft pedal (CC67) is active for this note.
| bool pulp::midi::SynthesiserNote::sostenuto = false |
Note captured by sostenuto pedal (CC66).
| bool pulp::midi::SynthesiserNote::sustained = false |
Note-off deferred by sustain pedal (CC64).
| uint8_t pulp::midi::SynthesiserNote::velocity = 0 |
Note-on velocity (1–127; 0 → note off).
| uint8_t pulp::midi::SynthesiserNote::voice_group = 0 |
Optional channel-scoped choke group (0 = none).