jongwook / onsets-and-frames

A Pytorch implementation of Onsets and Frames (Hawthorne 2018)
MIT License
209 stars 66 forks source link

How are tsv files created? #11

Closed KinWaiCheuk closed 4 years ago

KinWaiCheuk commented 4 years ago

If I am not wrong, you store all the annotations to tsv files, and you load the labels directly from these tsv files.

If I have my own dataset with only .midi files, how do I get these annotations? Do you have the scripts to do .midi to tsv files conversions?

jongwook commented 4 years ago

Related code is in midi.py, although there seems to be some problem (see #3) in that implementation regarding the sustain pedal. Use at your own risk! :D