Skip to content

v3.1.0 Control changes + Key Signatures + BEAT tokenizer

Latest

Choose a tag to compare

@Natooz Natooz released this 30 Sep 04:07
6e23fca

Highlights

  • Introducing support of Control Changes and Key Signature tokens @MinLee0210
  • Implementation of the BEAT tokenizer @MinLee0210
  • Time signature tokens are now enabled by default for all tokenizers. This change is motivated that disabling it for tokenizer with bar-based time representations result in inconsistent time / rhythm for music pieces with non 4/* time signatures
  • Minor fixes (see below)

What's Changed

  • Fix backwards compatibility with older PerTok versions by @JLenzy in #243
  • Added a small change to allow removal of drum tracks when splitting by @adricl in #247
  • Adding parallelisation to splitting files in Miditok by @adricl in #260
  • Fixed linting issues by @adricl in #268
  • patch get_bars_ticks() by @malcolmsailor in #264
  • Fix MusicTokenizer HF Hub support and improve UX by @ilya16 in #275
  • fix: cast np_get_closest result to scalar before int() in Structured (NumPy 2.x) by @e7mac in #276
  • Fix CI: drop Python 3.9 from test matrix and enforce ruff format by @MinLee0210 in #287
  • Fix Python 2-style except syntax and TYPE_CHECKING-only imports used at runtime by @MinLee0210 in #286
  • Apply get_bars_ticks()'s only_notes_onsets off-by-one fix to get_beats_ticks() by @yottanami in #284
  • Add key signature tokenization by @MinLee0210 in #289
  • Fixes test by @Natooz in #293
  • Add control change tokenization by @MinLee0210 in #290
  • Add BEAT tokenization with uniform temporal steps by @MinLee0210 in #291

New Contributors

Full Changelog: v3.0.6...v3.1.0