Documentation
    Preparing search index...

    Function tonePositionToNormalizedPosition

    • Converts the Tone transport position to match the score time signature.

      Parameters

      • position: `${number}:${number}:${number}`

        The current position

      • timeSignature: TimeSignature

        The score time signature

      Returns string

      Since Tone.js converts all time signatures to simple (e.g. 6/8 to 3/4), we need to convert the transport position to update the score progress position