Skip to content

Releases: Natooz/MidiTok

v1.0.1 CP Word bugfix

21 Sep 16:13
Compare
Choose a tag to compare
  • 7558381 Bugfix when no tempo tokens were used

v1.0.0 Rests and improvements

21 Sep 15:46
Compare
Choose a tag to compare

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 and EOS 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 and Tempo 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 and only_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

06 Sep 08:50
Compare
Choose a tag to compare
  • Bugfix c7fcabd position value with non divisible time division
  • Bugfix bada26d and ad1ef6e now checking drum pitches are valid for MuMIDI

v0.1.7 octuple/mumidi bugfix

29 Aug 16:35
Compare
Choose a tag to compare
  • bugfix in save params for octuple/mumidi 0ef15d9

Bugfix in save/load tokenizer params

27 Aug 08:53
Compare
Choose a tag to compare
  • Bugfix in save/load tokenizer params 222b099

Dataset tokenization bugfix

26 Aug 21:06
Compare
Choose a tag to compare
  • bugfix #3 dataset tokenization method bug due to v0.1.3 changes, credits @ms3744

Bugfix

25 Aug 07:05
de360a9
Compare
Choose a tag to compare
  • bugfix #2 saving path of dataset tokenization method, credits @ms3744

Code cleanup

24 Aug 17:52
Compare
Choose a tag to compare

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

Octuple "mono"

24 Aug 10:26
Compare
Choose a tag to compare
  • Octuple Mono encoding, like Octuple but without Program embeddings at each note
  • save_params now saves the encoding strategy (class name)

Tempo bugfix

20 Aug 16:39
Compare
Choose a tag to compare
  • #1 bugfix of crash when using Remi / MuMIDI / Octuple with no tempo tokens