@tonalis/music-dsl
    Preparing search index...

    Function contains

    • True if pitchClass (0–11 semitones above the tonic) is in the scale.

      Defined for EVERY scale — the membership tier of the two-tier model — including symmetric/atonal scales whose functional queries are undefined. Mirrors Python contains.

      Parameters

      Returns boolean