Module xParameter
Abstract device-parameter class, supports relative values (xMidiMessage) .
PLANNED Parameter pickup (remember last set value)
Functions
set_value (param, val, mode, val_min, val_max, msg_type) | Apply a value, optionally with a specific mode |
increment_value (param, val) | Increment value by "number of steps" |
decrement_value (param, val) | Decrement value by "number of steps" |
Functions
- set_value (param, val, mode, val_min, val_max, msg_type)
-
Apply a value, optionally with a specific mode
Parameters:
- param
- DeviceParameter
- val
- number
- mode
- xMidiMessage.MODE - absolute/relative + number of bits
- val_min
- int, smallest possible value (derived from mode if not specified)
- val_max
- int, largest possible value (derived from mode if not specified)
- msg_type
- xMidiMessage.TYPE (required for 14-bit relative msgs)
- param
- increment_value (param, val)
-
Increment value by "number of steps"
Parameters:
- param
- val
- decrement_value (param, val)
-
Decrement value by "number of steps"
Parameters:
- param
- val