Arabic Maqām Network - TypeScript Library Documentation - v0.1.0
    Preparing search index...
    • Generates comprehensive analytics for all tuning systems and writes the results to a JSON file.

      This function computes analytics for every available tuning system, combining the results into a single dataset that can be used for comparative analysis. The output is written to 'public/data/analytics-[timestamp].json' for use by the web application.

      The analytics include metrics such as:

      • Number of possible ajnas and maqamat per tuning system
      • Transposition possibilities
      • Modulation counts
      • Total number of available suyur (melodic progressions)

      Parameters

      • useTimestamp: boolean = true

        Whether to include timestamp in filename (default: true)

      • showProgress: boolean = true

        Whether to show progress logging (default: true)

      Returns string

      The path of the created file