Miditok

Latest version: v3.0.5.post1

Safety actively analyzes 714875 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 11

0.1.8

* Bugfix c7fcabdba16e9215b088ecda78bd054e68aa8696 position value with non divisible time division
* Bugfix bada26de68142e91c1dbbc55e7529aca7aa80d10 and ad1ef6ef697fbc694eeaf56ada1647c1c4061708 now checking drum pitches are valid for MuMIDI

0.1.7

* bugfix in save params for octuple/mumidi 0ef15d986940b6687fabe9520567e6780d302e0a

0.1.6

* Bugfix in save/load tokenizer params 222b099

0.1.5

* bugfix 3 dataset tokenization method bug due to v0.1.3 changes, credits ms3744

0.1.4

* bugfix 2 saving path of dataset tokenization method, credits ms3744

0.1.3

No new features, is mostly a cleanup release:
* Methods track_to_events and events_to_tracks methods are removed from everywhere to make place for track_to_tokens and tokens_to_track which make more sens when overridden
* Less redundant code and overridden methods
* token_to_track systematically returns a Instrument object and a list of TempoChange 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

Page 10 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.