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

    Function scaleTonesInDegreeOrder

    • List the pitch classes of a key's scale in ascending scale-degree order.

      The first entry is the root (degree 1); degrees follow the mask bits in offset order rather than sorted pitch-class order.

      Parameters

      • key: KeyLike

        The key/scale to enumerate, as a key name, a key/scale, or a Key.

      Returns number[]

      The member pitch classes ordered by scale degree.