From 9ebc683cd44afa0d10042ba668f6aede100b9c2a Mon Sep 17 00:00:00 2001 From: Nathan Fradet <56734983+Natooz@users.noreply.github.com> Date: Fri, 25 Aug 2023 12:37:39 +0200 Subject: [PATCH] passing versions constants to 2.1.4, doc update --- docs/midi_tokenizer.rst | 6 ------ miditok/constants.py | 2 +- setup.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/midi_tokenizer.rst b/docs/midi_tokenizer.rst index 27b3a627..06f33355 100644 --- a/docs/midi_tokenizer.rst +++ b/docs/midi_tokenizer.rst @@ -156,9 +156,3 @@ To load a tokenizer from saved parameters, just use the ``params`` argument when .. code-block:: python tokenizer = REMI(params=Path("to", "params.json")) - -Limitations ------------------------- - -Some tokenizations using Bar tokens (:ref:`REMI`, :ref:`CPWord` and :ref:`MuMIDI`) only considers a 4/x time signature for now. This means that each bar is considered covering 4 beats. -:ref:`REMIPlus` and :ref:`Octuple` supports it. diff --git a/miditok/constants.py b/miditok/constants.py index b1ee298f..122c098f 100644 --- a/miditok/constants.py +++ b/miditok/constants.py @@ -2,7 +2,7 @@ """ -CURRENT_VERSION_PACKAGE = "2.1.3" # used when saving the config of a tokenizer +CURRENT_VERSION_PACKAGE = "2.1.4" # used when saving the config of a tokenizer MIDI_FILES_EXTENSIONS = [".mid", ".midi", ".MID", ".MIDI"] diff --git a/setup.py b/setup.py index 07ff2fbf..dab45fd7 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ author="Nathan Fradet", url="https://github.com/Natooz/MidiTok", packages=find_packages(exclude=("tests",)), - version="2.1.3", + version="2.1.4", license="MIT", description="A convenient MIDI tokenizer for Deep Learning networks, with multiple encoding strategies", long_description=long_description,