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

A track-owned named control that a performer sets and that drives parameters through ordinary modulation routes. More...

#include <modulation.hpp>

Public Member Functions

bool valid () const noexcept
 Returns whether id is a usable, non-sentinel document identity.
bool operator== (const MacroControl &) const =default

Public Attributes

ItemId id
std::string name
float value = 0.0f

Detailed Description

A track-owned named control that a performer sets and that drives parameters through ordinary modulation routes.

A macro is a modulation source rather than a second automation mechanism: it holds one authored position, and every parameter it reaches it reaches by a route with its own depth. That is what "one macro, many destinations, each scaled differently" means in a document.

Member Function Documentation

◆ operator==()

bool pulp::timeline::MacroControl::operator== ( const MacroControl & ) const
default

◆ valid()

bool pulp::timeline::MacroControl::valid ( ) const
inlinenoexcept

Returns whether id is a usable, non-sentinel document identity.

Member Data Documentation

◆ id

ItemId pulp::timeline::MacroControl::id

◆ name

std::string pulp::timeline::MacroControl::name

◆ value

float pulp::timeline::MacroControl::value = 0.0f

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