Skip to content

Commit

Permalink
passing versions constants to 2.1.4, doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Natooz committed Aug 25, 2023
1 parent 5e6bd01 commit 9ebc683
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions docs/midi_tokenizer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion miditok/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9ebc683

Please sign in to comment.