Interface BeatTimeFormatter


public interface BeatTimeFormatter
Defines a formatter for a beat time that can convert a beat time to a string for display to the user.
Since:
API version 2
  • Method Summary

    Modifier and Type
    Method
    Description
    formatBeatTime(double beatTime, boolean isAbsolute, int timeSignatureNumerator, int timeSignatureDenominator, int timeSignatureTicks)
    Formats the supplied beat time as a string in the supplied time signature.
  • Method Details

    • formatBeatTime

      String formatBeatTime(double beatTime, boolean isAbsolute, int timeSignatureNumerator, int timeSignatureDenominator, int timeSignatureTicks)
      Formats the supplied beat time as a string in the supplied time signature.
      Parameters:
      beatTime - The beat time to be formatted
      isAbsolute - If true the beat time represents an absolute time (such as a time on the arranger) otherwise it represents a beat time duration (such as the length of a clip).
      Since:
      API version 2