Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
ParamNode Class Reference
Inheritance diagram for ParamNode:
Collaboration diagram for ParamNode:

Public Member Functions

 ParamNode (ParamNode const &other)=default
 
 ParamNode (ParamNode &&other)=default
 
ParamNodeoperator= (ParamNode const &rhs)=default
 
ParamNodeoperator= (ParamNode &&rhs)=default
 
- Public Member Functions inherited from Positionable
 Positionable (Positionable const &other)=default
 
 Positionable (Positionable &&other)=default
 
Positionableoperator= (Positionable const &other)=default
 
Positionableoperator= (Positionable &&other)=default
 

Public Attributes

int32_t value {0}
 
bool interpolated {false}
 
- Public Attributes inherited from Positionable
int32_t pos {0}
 

Member Data Documentation

◆ interpolated

bool ParamNode::interpolated {false}

Whether the value should be interpolated from the previous node to this one.

When false, the value should change only when this node is actually reached.

◆ value

int32_t ParamNode::value {0}

The value at this node.

For patch cables, this is stored in the range [-2^30, 2^30-1] while for all other parameter types the full range is used (even for unipolar parameters!). This means when converting automation from patch cables to non-patch cables, lshiftAndSaturate<1>() must be used while conversion in the opposite direction (non-patch-cable to patch-cable) a right shift by 1 is required.


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