Module Duplex.Applications.MidiActions.Bindings
This is a configuration file for the MidiActions application, supplying semantic information about known/common Renoise MIDI mappings.
Possible entries:
name string, matches an entry in GlobalMidiActions
label string, assign label to the control (button)
is_boolean boolean, treat the value as a boolean value
is_integer boolean, treat the value as an integer value
minimum number or function, the smallest possible value
maximum number or function, the biggest possible value
value_func function, return the current value
observable function, return Observable
param function, return DeviceParameter
offset number, offset value by amount
How to use:
Specify a value_func
, and the parameter will be synchronized to your controller at all times.
Param
does the same, but will query the parameter directly, to obtain the min/max settings.
If param
is not defined (only a few entries are actual parameters), you can specify a custom minimum/maximum value.
Specify an observable
to respond to changes from Renoise. This is more efficient than polling the value (as value_func does), but it's not perfect: MidiActions will not able to tell the value, only that it has changed value since the last time it was polled. For this reason, it's optimal to specify both observable
as well as value_func
and/or param
See also Duplex.Applications.MidiActions