slSeanWU / MusDr

Evaluation metrics for machine-composed symbolic music. Paper: "The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-Composed Music through Quantitative Measures", ISMIR 2020
MIT License
60 stars 7 forks source link

How to switch my midi file into .csv file? #5

Open MarcusLee-awsome opened 2 years ago

MarcusLee-awsome commented 2 years ago

Would you tell me how to switch my midi file into .csv file?

slSeanWU commented 2 years ago

Hello,

You have to translate your midis into event-based representation (e.g., REMI, another of our work). The following page explains the whole procedure: https://github.com/YatingMusic/compound-word-transformer/blob/main/dataset/Dataset.md

From those "events" you may easily arrange a csv.

binghuang21 commented 2 years ago

Thanks for your work! I use 'Compound-word-transformer' to switch midi file to event-based representation (pkl file). Would you tell me how to switch event-based representation (pkl file) to csv file?

borishanzju commented 2 years ago

Thanks for your work! I use 'Compound-word-transformer' to switch midi file to event-based representation (pkl file). Would you tell me how to switch event-based representation (pkl file) to csv file?

I have the same question

liangyi-2013 commented 4 months ago

same question