Bitwig Studio Control Surface API
5.0.11
|
Public Member Functions | |
double | get () |
double | getRaw () |
default double | getAsDouble () |
StringValue | displayedValue () |
void | addValueObserver (int range, IntegerValueChangedCallback callback) |
void | addRawValueObserver (DoubleValueChangedCallback callback) |
![]() | |
void | markInterested () |
void | addValueObserver (ObserverType callback) |
Instances of this interface represent numeric values that have an upper and lower limit.
void addRawValueObserver | ( | DoubleValueChangedCallback | callback | ) |
Add an observer which receives the internal raw of the parameter as floating point.
callback | a callback function that receives a single numeric parameter with double precision. |
void addValueObserver | ( | int | range, |
IntegerValueChangedCallback | callback | ||
) |
Adds an observer which receives the normalized value of the parameter as an integer number within the range [0..range-1].
range | the range used to scale the value when reported to the callback |
callback | a callback function that receives a single double parameter |
StringValue displayedValue | ( | ) |
Value that represents a formatted text representation of the value whenever the value changes.
double get | ( | ) |
The current value normalized between 0..1 where 0 represents the minimum value and 1 the maximum.
double getRaw | ( | ) |
Gets the current value.