Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...

    Function exportTuningSystem

    • Exports comprehensive data for a specific tuning system

      This function generates a complete export of a tuning system including all possible ajnas, maqamat, their transpositions, and modulation possibilities. The export can be customized through options to include/exclude specific data sets.

      Optimization: This function uses a pure reference architecture with maqamReference and jinsReference dictionaries only. All data is accessible via Object.values() for optimal performance - no redundant arrays that would require double lookups.

      Parameters

      • tuningSystem: default

        The tuning system to export

      • startingNote: string

        The starting note of the tuning system

      • options: ExportOptions

        Export configuration options specifying what data to include

      • centsTolerance: number = 5

        Tolerance in cents for matching cents values (default: 5)

      Returns Promise<ExportedTuningSystem>

      Comprehensive export object containing all requested tuning system data