Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...
    • Extends a selection of pitch classes to include related pitches across octaves.

      This function analyzes the selected pitch classes and accurately extends the selection to include equivalent pitches in other octaves based on frequency relationships. It's used to create comprehensive pitch collections when working with scales that span multiple octaves.

      The algorithm determines a frequency cutoff point and then includes matching pitch class indices from appropriate octaves, maintaining the harmonic relationships while extending the available pitch range.

      Parameters

      • allPitchClasses: default[]

        Complete array of all available pitch classes

      • selectedPitchClasses: default[]

        Currently selected pitch classes to extend

      Returns default[]

      Extended array of pitch classes including related octave equivalents