@libraz/libcantus - v0.9.3
    Preparing search index...

    Function avoidNotes

    • List a scale's avoid notes over a chord.

      An avoid note is a non-chord scale tone that lies a semitone directly above a chord tone; sounding it against the chord clashes. The scale is rooted on the chord root. If the scale does not contain the chord, no avoid notes exist.

      Parameters

      Returns number[]

      The avoid-note pitch classes, sorted ascending in [0, 11].