Natooz / MidiTok

MIDI / symbolic music tokenizers for Deep Learning models 🎶
https://miditok.readthedocs.io/
MIT License
665 stars 81 forks source link

Adding pitch interval option #103

Closed Natooz closed 10 months ago

Natooz commented 10 months ago

This PR adds an option to represent pitch intervals. In short: successives notes (in time) will be possible to be represented with pitch intervals instead of absolute pitch tokens (as done until now). A comprehensive documentation will follow in the docs.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (062345a) 90.44% compared to head (c77d2be) 90.70%.

Files Patch % Lines
miditok/tokenizations/remi.py 90.24% 4 Missing :warning:
miditok/tokenizations/mmm.py 93.61% 3 Missing :warning:
miditok/tokenizations/midi_like.py 96.36% 2 Missing :warning:
miditok/tokenizations/tsd.py 95.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #103 +/- ## ========================================== + Coverage 90.44% 90.70% +0.25% ========================================== Files 33 33 Lines 4586 4757 +171 ========================================== + Hits 4148 4315 +167 - Misses 438 442 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.