reaper-osc
    Preparing search index...

    Class Beat

    Represents a beat value in Reaper

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Parameters

      • measure: number

        The measure of the beat

      • beat: number

        The beat in the measure

      • fraction: number

        The beat fraction (must be >= 0 and < 100)

      Returns Beat

    Accessors

    • get beat(): number

      Indicates the beat portion of the beat (mm)

      Returns number

    • get fraction(): number

      Indicates the fraction portion of the beat (bb)

      Returns number

    • get measure(): number

      Indicates the measure of the beat (xx)

      Returns number

    Methods

    • Converts the beat into its string representation in the format mm.bb.xx

      Returns string

    • Parses a string into a Beat

      Parameters

      • value: string

        String value in the format mm.bb.xx

      Returns Beat

      The parsed beat

      Throws an error when the format is invalid