Interface TimeSignatureValue
- All Superinterfaces:
Subscribable,Supplier<String>,Value<StringValueChangedCallback>
Instances of this interface represent time signature values.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionReturns an object that provides access to the time signature denominator.get()Gets the current value.Deprecated.Deprecated.Usenumerator()instead.getTicks()Deprecated.Useticks()instead.Returns an object that provides access to the time signature numerator.voidUpdates the time signature according to the given string.ticks()Returns an object that provides access to the time signature tick subdivisions.Methods 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
-
get
String get()Gets the current value. -
set
Updates the time signature according to the given string.- Parameters:
name- a textual representation of the new time signature value, formatted as `numerator/denominator[, ticks]`- Since:
- API version 1
-
getNumerator
Deprecated.Usenumerator()instead.Returns an object that provides access to the time signature numerator.- Returns:
- an integer value object that represents the time signature numerator.
- Since:
- API version 1
-
numerator
SettableIntegerValue numerator()Returns an object that provides access to the time signature numerator.- Returns:
- an integer value object that represents the time signature numerator.
- Since:
- API version 5
-
getDenominator
Deprecated.Usedenominator()instead.Returns an object that provides access to the time signature denominator.- Returns:
- an integer value object that represents the time signature denominator.
- Since:
- API version 1
-
denominator
SettableIntegerValue denominator()Returns an object that provides access to the time signature denominator.- Returns:
- an integer value object that represents the time signature denominator.
- Since:
- API version 5
-
getTicks
Deprecated.Useticks()instead.Returns an object that provides access to the time signature tick subdivisions.- Returns:
- an integer value object that represents the time signature ticks.
- Since:
- API version 1
-
ticks
SettableIntegerValue ticks()Returns an object that provides access to the time signature tick subdivisions.- Returns:
- an integer value object that represents the time signature ticks.
- Since:
- API version 5
-
denominator()instead.