JamesOwers / midi_degradation_toolkit

A toolkit for generating datasets of midi files which have been degraded to be 'un-musical'.
MIT License
38 stars 5 forks source link

Degraded excerpts may not start from time 0. #59

Closed apmcleod closed 5 years ago

apmcleod commented 5 years ago

This would introduce all sorts of complications if we shift the degraded excerpts to 0, including:

Still, it would be easy for a model to discover that any excerpt not beginning at 0 is degraded.

One possible solution would be to add some random amount of space (Say between 0 and 100 ms) to the start of each excerpt upon the creation of the excerpt. ie, here: https://github.com/JamesOwers/midi_degradation_toolkit/blob/master/make_dataset.py#L458