@libraz/libcantus - v1.1.0
    Preparing search index...

    Function naturalPitchClassOf

    • The pitch class of a diatonic letter with no accidental (C = 0, D = 2, ...).

      Parameters

      • letter: number

        A letter number or signed letter offset; reduced to [0, 6].

      Returns number

      The natural pitch class of that letter.