dataCompilation

dataCompilations

pyampact.dataCompilation.data_compilation(res, nmat, audio_file)[source]

This function takes the results of the alignment and the note matrix and compiles the data into a JSON object that can be used to insert the audio analysis into the score. :param res: The results of the alignment :param nmat: The note matrix :param audio_file: The audio file :return: A JSON object that contains the data