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

Canonical automation value shared by graph, Processor, and timeline delivery. More...

#include <parameter.hpp>

Public Member Functions

constexpr float effective () const noexcept
constexpr BaseOffsetValue without_offset () const noexcept

Public Attributes

float base = 0.0f
float offset = 0.0f

Detailed Description

Canonical automation value shared by graph, Processor, and timeline delivery.

The host writes the base value; modulators contribute an additive offset. Keeping the pair explicit prevents a surface from replacing the authored value when it only meant to update modulation.

Member Function Documentation

◆ effective()

float pulp::state::BaseOffsetValue::effective ( ) const
inlineconstexprnoexcept

◆ without_offset()

BaseOffsetValue pulp::state::BaseOffsetValue::without_offset ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ base

float pulp::state::BaseOffsetValue::base = 0.0f

◆ offset

float pulp::state::BaseOffsetValue::offset = 0.0f

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