Interface Parameter
- All Superinterfaces:
AbsoluteHardwarControlBindable,DoubleSupplier,HardwareBindable,ObjectProxy,RangedValue,RelativeHardwarControlBindable,SettableRangedValue,Subscribable,Value<DoubleValueChangedCallback>
- All Known Subinterfaces:
RemoteControl,Send
Instances of this interface represent ranged parameters that can be controlled with automation in Bitwig
Studio.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddNameObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.voidaddValueDisplayObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.voidDeletes all automation for this parameter.Boolean value that is true if the parameter has automation data.Gets the modulated value of this parameter.name()The name of the parameter.voidreset()Resets the value to its default.voidRestores control of this parameter to automation playback.voidsetIndication(boolean shouldIndicate) Specifies if this value should be indicated as mapped in Bitwig Studio, which is visually shown as colored dots or tinting on the parameter controls.voidSpecifies a label for the mapped hardware parameter as shown in Bitwig Studio, for example in menu items for learning controls.voidtouch(boolean isBeingTouched) Touch (or un-touch) the value for automation recording.value()Gets the current value of this parameter.Methods inherited from interface com.bitwig.extension.controller.api.ObjectProxy
createEqualsValue, existsMethods inherited from interface com.bitwig.extension.controller.api.RangedValue
addRawValueObserver, addValueObserver, discreteValueCount, discreteValueNames, displayedValue, get, getAsDouble, getOrigin, getRawMethods inherited from interface com.bitwig.extension.controller.api.SettableRangedValue
addBinding, addBinding, addBindingWithRange, addBindingWithRange, addBindingWithRangeAndSensitivity, addBindingWithSensitivity, inc, inc, incRaw, set, set, setImmediately, setRawMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribeMethods inherited from interface com.bitwig.extension.controller.api.Value
addValueObserver, markInterested
-
Method Details
-
value
SettableRangedValue value()Gets the current value of this parameter.- Since:
- API version 2
-
modulatedValue
RangedValue modulatedValue()Gets the modulated value of this parameter.- Since:
- API version 2
-
name
StringValue name()The name of the parameter.- Since:
- API version 2
-
addNameObserver
@Deprecated void addNameObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Adds an observer which reports changes to the name of the automated parameter. The callback will get called at least once immediately after calling this method for reporting the current name.- Parameters:
maxChars- maximum length of the string sent to the observertextWhenUnassigned- the default text to usecallback- a callback function that receives a single string parameter- Since:
- API version 1
-
addValueDisplayObserver
@Deprecated void addValueDisplayObserver(int maxChars, String textWhenUnassigned, StringValueChangedCallback callback) Deprecated.Use} insteadinvalid @link
{@link #value()#displayedValue()Adds an observer which sends a formatted text representation of the value whenever the value changes. The callback will get called at least once immediately after calling this method for reporting the current state.- Parameters:
maxChars- maximum length of the string sent to the observertextWhenUnassigned- the default text to usecallback- a callback function that receives a single string parameter- Since:
- API version 1
-
reset
void reset()Resets the value to its default.- Since:
- API version 1
-
touch
void touch(boolean isBeingTouched) Touch (or un-touch) the value for automation recording.- Parameters:
isBeingTouched- `true` for touching, `false` for un-touching- Since:
- API version 1
-
setIndication
void setIndication(boolean shouldIndicate) Specifies if this value should be indicated as mapped in Bitwig Studio, which is visually shown as colored dots or tinting on the parameter controls.- Parameters:
shouldIndicate- `true` in case visual indications should be shown in Bitwig Studio, `false` otherwise- Since:
- API version 1
-
setLabel
Specifies a label for the mapped hardware parameter as shown in Bitwig Studio, for example in menu items for learning controls.- Parameters:
label- the label to be shown in Bitwig Studio- Since:
- API version 1
-
restoreAutomationControl
void restoreAutomationControl()Restores control of this parameter to automation playback.- Since:
- API version 1
-
hasAutomation
BooleanValue hasAutomation()Boolean value that is true if the parameter has automation data.- Since:
- API version 19
-
deleteAllAutomation
void deleteAllAutomation()Deletes all automation for this parameter.- Since:
- API version 19
-
invalid @link
{@link #value()#displayedValue()