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 11 of 11

0.1.2

* [Octuple Mono](miditok/octuple_mono.py) encoding, like Octuple but without Program embeddings at each note
* save_params now saves the encoding strategy (class name)

0.1.1

* 1 bugfix of crash when using Remi / MuMIDI / Octuple with no tempo tokens

0.1.0

* Tempo and empty tokens are implemented for compatible encodings
* CP Word implement "Ignore" tokens by default as in the original paper
* Removed Chord option from Structured encoding (compatible but breaks the "structure")
* current_midi_metadata in MIDITokenizer base class allows every child method to access directly to these values (tempo changes, time division) without passing them in parameters

0.0.2

* MuMIDI encoding implemented
* Octuple encoding implemented
* load_params method in MIDITokenizer allow to create a tokenizer from parameters saved in a file
* small code improvements and fixes, some methods / variables renamed with better names

0.0.1

* MIDITokenizer base class completed
* First encoding strategies: Remi, CP word, Structured, MIDI-Like
* First additional token types: chords, empty bar
* Docstring completed

Page 11 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.