Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...
    • Retrieves the first note name from an array of selected pitch class indices.

      This utility function is used in UI state management to determine the starting note when pitch classes are selected. It maps the first selected index to its corresponding note name from the octave one note names array.

      Parameters

      • selectedIndices: number[]

        Array of selected pitch class indices

      Returns string

      The note name corresponding to the first index, or "none" if empty or invalid