Control Surface API  1.1.11
BeatTime Interface Reference
Inheritance diagram for BeatTime:

Public Member Functions

void addTimeObserver (String separator, int barsLen, int beatsLen, int subdivisionLen, int ticksLen, Callable callback)
void addRawValueObserver (Callable callback)
void setRaw (double value)
void incRaw (double delta)

Detailed Description

Instances of this interface represent beat time values.

Since:
Bitwig Studio 1.0

Definition at line 10 of file BeatTime.java.


Member Function Documentation

void addRawValueObserver ( Callable  callback)

Adds an observer which receives the internal raw value of the parameter as floating point value.

Parameters:
callbacka callback function that receives a single floating point parameter with double precision.
Since:
Bitwig Studio 1.0
Deprecated:

Implements RangedValue.

void addTimeObserver ( String  separator,
int  barsLen,
int  beatsLen,
int  subdivisionLen,
int  ticksLen,
Callable  callback 
)

Registers an observer that reports the internal beat time value as formatted text, for example "012:03:00:01".

Parameters:
separatorthe character used to separate the segments of the formatted beat time, typically ":", "." or "-"
barsLenthe number of digits reserved for bars
beatsLenthe number of digits reserved for beats
subdivisionLenthe number of digits reserved for beat subdivisions
ticksLenthe number of digits reserved for ticks
callbacka callback function that receives a single string parameter
Since:
Bitwig Studio 1.0
void incRaw ( double  delta)

Increments / decrements the internal (raw) value by the given delta.

Parameters:
deltathe amount that gets added to the internal value.
Since:
Bitwig Studio 1.0
Deprecated:

Implements RangedValue.

void setRaw ( double  value)

Sets the internal (raw) value.

Parameters:
valuea numeric value with double-precision. Range is undefined.
Since:
Bitwig Studio 1.0
Deprecated:

Implements RangedValue.

List of all members.


The documentation for this interface was generated from the following file:
 All Classes Functions Variables