Interface TimeSignatureValue

All Superinterfaces:
Subscribable, Supplier<String>, Value<StringValueChangedCallback>

public interface TimeSignatureValue extends Value<StringValueChangedCallback>, Supplier<String>
Instances of this interface represent time signature values.
Since:
API version 1
  • Method Details

    • get

      String get()
      Gets the current value.
      Specified by:
      get in interface Supplier<String>
      Since:
      API version 2
    • set

      void set(String name)
      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.
      Use numerator() 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

      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.
      Use denominator() 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.
      Use ticks() 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

      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