Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
void | setAdjustValueMatcher (AbsoluteHardwareValueMatcher matcher) |
DoubleValue | value () |
void | disableTakeOver () |
AbsoluteHardwareControlBinding | addBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue) |
AbsoluteHardwareControlBinding | setBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue) |
![]() | |
HardwareButton | hardwareButton () |
void | setHardwareButton (HardwareButton button) |
StringValue | targetName () |
DoubleValue | targetValue () |
StringValue | targetDisplayedValue () |
DoubleValue | modulatedTargetValue () |
StringValue | modulatedTargetDisplayedValue () |
BooleanValue | isUpdatingTargetValue () |
BooleanValue | hasTargetValue () |
Represents a hardware control that can input and absolute value (for example, a slider, knob or foot pedal).
AbsoluteHardwareControlBinding addBindingWithRange | ( | AbsoluteHardwarControlBindable | target, |
double | minNormalizedValue, | ||
double | maxNormalizedValue | ||
) |
Adds a new binding from this hardware control to the supplied target.
void disableTakeOver | ( | ) |
Determines if this hardware control should immediately take over the parameter it is bound to rather than respecting the user's current take over mode.
This is useful for motorized sliders for example, where the slider is already at the value of the bound parameter.
void setAdjustValueMatcher | ( | AbsoluteHardwareValueMatcher | matcher | ) |
Sets the AbsoluteHardwareValueMatcher that can be used to detect when the user adjusts the hardware control's value.
AbsoluteHardwareControlBinding setBindingWithRange | ( | AbsoluteHardwarControlBindable | target, |
double | minNormalizedValue, | ||
double | maxNormalizedValue | ||
) |
Convenience methods that ensures there is only a single binding to the supplied target. This is equivalent to calling clearBindings() and then addBindingWithRange(AbsoluteHardwarControlBindable, double, double)
DoubleValue value | ( | ) |
The current value of this hardware control (0..1)