Documentation
    Preparing search index...

    Function joinVoices

    • Joins an array of voices to a comma separated string in reverse order. Needed to make the top voice (0-indexed) stay at the top when rendering on a Piano (right hand).

      Parameters

      • voices: string[][]

        The array of voices (e.g. [["G3", "B3"], ["C3", "G3"]])

      Returns string

      The joined voices string