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

Note/controller state translated to constant per-voice modulation lanes. More...

#include <voice_runtime_facade.hpp>

Public Attributes

int note = 60
int reference_note = 60
std::uint8_t velocity = 127
bool gate = true
float pitch_bend_normalized = 0.0f
float bend_range_semitones = 2.0f
float pressure = 0.0f
float timbre = 0.0f
float expression = 1.0f

Detailed Description

Note/controller state translated to constant per-voice modulation lanes.

Controller values and bend are normalized to [0, 1] and [-1, 1]. Pitch is emitted in cents relative to reference_note; velocity is emitted as velocity / 127. Gate is exactly 0 or 1. The bridge performs no smoothing.

Member Data Documentation

◆ bend_range_semitones

float pulp::audio::VoiceNoteModulationInput::bend_range_semitones = 2.0f

◆ expression

float pulp::audio::VoiceNoteModulationInput::expression = 1.0f

◆ gate

bool pulp::audio::VoiceNoteModulationInput::gate = true

◆ note

int pulp::audio::VoiceNoteModulationInput::note = 60

◆ pitch_bend_normalized

float pulp::audio::VoiceNoteModulationInput::pitch_bend_normalized = 0.0f

◆ pressure

float pulp::audio::VoiceNoteModulationInput::pressure = 0.0f

◆ reference_note

int pulp::audio::VoiceNoteModulationInput::reference_note = 60

◆ timbre

float pulp::audio::VoiceNoteModulationInput::timbre = 0.0f

◆ velocity

std::uint8_t pulp::audio::VoiceNoteModulationInput::velocity = 127

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