|
Control Surface API
2.2.2
|

Public Member Functions | |
| void | addRawValueObserver (DoubleValueChangedCallback callback) |
| String | getFormatted (BeatTimeFormatter formatter) |
| String | getFormatted () |
| void | addTimeObserver (String separator, int barsLen, int beatsLen, int subdivisionLen, int ticksLen, StringValueChangedCallback callback) |
Public Member Functions inherited from DoubleValue | |
| double | get () |
Public Member Functions inherited from Value< DoubleValueChangedCallback > | |
| void | markInterested () |
| void | addValueObserver (ObserverType callback) |
Instances of this interface represent beat time values.
Definition at line 11 of file BeatTimeValue.java.
| 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 addTimeObserver | ( | String | separator, |
| int | barsLen, | ||
| int | beatsLen, | ||
| int | subdivisionLen, | ||
| int | ticksLen, | ||
| StringValueChangedCallback | callback | ||
| ) |
Registers an observer that reports the internal beat time value as formatted text, for example "012:03:00:01".
| separator | the character used to separate the segments of the formatted beat time, typically ":", "." or "-" |
| barsLen | the number of digits reserved for bars |
| beatsLen | the number of digits reserved for beats |
| subdivisionLen | the number of digits reserved for beat subdivisions |
| ticksLen | the number of digits reserved for ticks |
| callback | a callback function that receives a single string parameter |
| String getFormatted | ( | BeatTimeFormatter | formatter | ) |
Gets the current beat time formatted according to the supplied formatter.
| String getFormatted | ( | ) |
Gets the current beat time formatted according to the default beat time formatter.