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

#include <module_descriptor.hpp>

Public Attributes

int id = 0
std::string ident
 enum identifier, e.g. "FREQ_PARAM"
std::string name
 tooltip name, e.g. "Frequency"
std::string label
 panel lettering, e.g. "FREQ" (may be empty)
std::string unit
 tooltip unit, e.g. " Hz"
float min_value = 0.0f
float max_value = 1.0f
float default_value = 0.0f
ControlKind kind = ControlKind::Knob
double x_mm = 0.0
double y_mm = 0.0
float display_base = 0.0f
 Exponential display base for frequency-style params (0 = linear).
float display_multiplier = 1.0f
bool snap = false
 integer-quantized (step counts, divisions)

Member Data Documentation

◆ default_value

float pulp::format::rack::ParamSpec::default_value = 0.0f

◆ display_base

float pulp::format::rack::ParamSpec::display_base = 0.0f

Exponential display base for frequency-style params (0 = linear).

◆ display_multiplier

float pulp::format::rack::ParamSpec::display_multiplier = 1.0f

◆ id

int pulp::format::rack::ParamSpec::id = 0

◆ ident

std::string pulp::format::rack::ParamSpec::ident

enum identifier, e.g. "FREQ_PARAM"

◆ kind

ControlKind pulp::format::rack::ParamSpec::kind = ControlKind::Knob

◆ label

std::string pulp::format::rack::ParamSpec::label

panel lettering, e.g. "FREQ" (may be empty)

◆ max_value

float pulp::format::rack::ParamSpec::max_value = 1.0f

◆ min_value

float pulp::format::rack::ParamSpec::min_value = 0.0f

◆ name

std::string pulp::format::rack::ParamSpec::name

tooltip name, e.g. "Frequency"

◆ snap

bool pulp::format::rack::ParamSpec::snap = false

integer-quantized (step counts, divisions)

◆ unit

std::string pulp::format::rack::ParamSpec::unit

tooltip unit, e.g. " Hz"

◆ x_mm

double pulp::format::rack::ParamSpec::x_mm = 0.0

◆ y_mm

double pulp::format::rack::ParamSpec::y_mm = 0.0

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