Ardour
9.0-pre0-582-g084a23a80d
|
#include <transform.h>
Public Types | |
enum | Source { NOWHERE , THIS_NOTE , PREV_NOTE , INDEX , N_NOTES , LITERAL , RANDOM } |
Public Member Functions | |
Value () | |
Value (Source s) | |
Value (const Variant &v) | |
Value (double v) | |
Variant | eval (const Context &context) const |
Public Attributes | |
Source | source |
Source of value. More... | |
Variant | value |
Value for LITERAL. More... | |
Property | prop |
Property for all other sources. More... | |
Value in a transformation expression.
Definition at line 70 of file transform.h.
enum ARDOUR::Transform::Value::Source |
Value source. Some of these would be better modeled as properties, like note.index or sequence.size, but until the sequence stuff is more fundamentally property based, we special-case them here.
Enumerator | |
---|---|
NOWHERE | Null. |
THIS_NOTE | Value from this note. |
PREV_NOTE | Value from the previous note. |
INDEX | Index of the current note. |
N_NOTES | Total number of notes to process. |
LITERAL | Given literal value. |
RANDOM | Random normal. |
Definition at line 74 of file transform.h.
|
inline |
Definition at line 84 of file transform.h.
|
inline |
Definition at line 85 of file transform.h.
|
inline |
Definition at line 86 of file transform.h.
|
inline |
Definition at line 87 of file transform.h.
Property ARDOUR::Transform::Value::prop |
Property for all other sources.
Definition at line 94 of file transform.h.
Source ARDOUR::Transform::Value::source |
Source of value.
Definition at line 92 of file transform.h.
Variant ARDOUR::Transform::Value::value |
Value for LITERAL.
Definition at line 93 of file transform.h.