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

Constant note-on metadata for MIDI-buffer dispatch. More...

#include <synthesiser.hpp>

Public Attributes

uint8_t voice_group = 0
bool choke_group = false
float choke_fade_ms = 0.0f
int8_t priority = 0
 Steal priority for VoiceStealStrategy::Priority.

Detailed Description

Constant note-on metadata for MIDI-buffer dispatch.

This lets callers assign generated events to a channel-scoped voice group without rebuilding the buffer or giving up sample-accurate event offsets.

Member Data Documentation

◆ choke_fade_ms

float pulp::midi::SynthesiserNoteOnPolicy::choke_fade_ms = 0.0f

◆ choke_group

bool pulp::midi::SynthesiserNoteOnPolicy::choke_group = false

◆ priority

int8_t pulp::midi::SynthesiserNoteOnPolicy::priority = 0

Steal priority for VoiceStealStrategy::Priority.

◆ voice_group

uint8_t pulp::midi::SynthesiserNoteOnPolicy::voice_group = 0

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