Releases: Natooz/MidiTok
Releases · Natooz/MidiTok
v1.0.1 CP Word bugfix
- 7558381 Bugfix when no tempo tokens were used
v1.0.0 Rests and improvements
Big update, tokens saved with v0.1.8 and before will not be compatible anymore (except with Structured encoding)
- New
Rest
tokens for Remi, MIDI-Like and CP Word ! See readme for details Empty
tokens are removed (replaced by rests)SOS
andEOS
tokens added by default in vocabularies,add_sos_eos_to_seq
adds them to your sequences- More advanced tests ! (still to be improved !)
- e10277f 5b596c7
Velocity
andTempo
tokens are represented by their value in vocabularies, instead of indexes before which added unnecessary extra steps - efbe4a0 e10277f
quantize_notes
optimized, and now quantize also velocities and remove out of range pitches - 67802e0
detect_chords
optimized,samples_scopes
,simul_notes_limit
andonly_known_chord
parameters added - 8b2b0f8 MIDI time division check when tokenizing a dataset
- 2c27d7d Bugfix in Structured
- e10277f Bugfix in Midi-Like
- More minor bug fixes hidden in commits 👀
v0.1.8 Bugfixs
v0.1.7 octuple/mumidi bugfix
- bugfix in save params for octuple/mumidi 0ef15d9
Bugfix in save/load tokenizer params
- Bugfix in save/load tokenizer params 222b099
Dataset tokenization bugfix
Bugfix
Code cleanup
No new features, is mostly a cleanup release:
- Methods
track_to_events
andevents_to_tracks
methods are removed from everywhere to make place fortrack_to_tokens
andtokens_to_track
which make more sens when overridden - Less redundant code and overridden methods
token_to_track
systematically returns aInstrument
object and a list ofTempoChange
objects which might be the one by defaults when no Tempo tokens are used in an encoding- Bugfix in Octuple, OctupleMono and MuMIDI: Bar tokens where not created last in the vocabulary dictionary which might lead to mismatching vocabularies when saving and loading back token files
- Updated docstring with some corrections
Octuple "mono"
- Octuple Mono encoding, like Octuple but without Program embeddings at each note
save_params
now saves the encoding strategy (class name)
Tempo bugfix
- #1 bugfix of crash when using Remi / MuMIDI / Octuple with no tempo tokens