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)
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: