Hiyve Components - v1.0.0
    Preparing search index...

    Function staffPosition

    • Where a note sits on a clef's staff, counted in lines and spaces from the bottom line: 0 is the bottom line, 1 the first space, 8 the top line, −2 the first ledger line below and 10 the first above. Accidentals do not move a note.

      Parameters

      • clef: Clef
      • note: Pick<Pitch, "step" | "octave">

      Returns number