|
Operator SDK
Build MIDI processing and UI modes for the Operator device
|
Declarative parameter schema embedded in a .opm mode binary. More...
#include <cstdint>#include "config_generated.h"#include "modes/mode_api.h"Namespaces | |
| namespace | op |
| Root namespace for the Operator SDK. | |
Enumerations | |
| enum class | op::modes::op_params::Op : uint8_t { Eq = 0 , Neq = 1 , Gte = 2 , Lte = 3 , Gt = 4 , Lt = 5 } |
| Comparison for a parameter's visible_when gate. More... | |
Declarative parameter schema embedded in a .opm mode binary.
A mode declares its parameters once as a data table of ParamSpec entries. The firmware reads that table to render a generic settings screen, persist the values, and move values between cores, so a mode gets a full parameter UI without writing any UI code. ParamSpec is packed and size-locked for ABI stability, and every value is stored as an int32_t.
|
strong |
Comparison for a parameter's visible_when gate.
The gate compares the watched parameter's current value against the gate's target value using one of these operators. Written at the call site through the op::params::Op alias, for example op::params::Op::Eq.