Skip to main content

A collection of utilities for working with MIDI files built on top of mido.

Project description

midiutils

Code to preprocess the midi file. Normally, midi files are represented in the number of ticks that occur after the previous note. This code converts the midi file into a list of notes with the start time and end time of each note.

Installation

pip install midiutils-python

from source, clone the repository and run the following command

pip install -e .       # for normal installation
pip install -e .[dev]  # for development installation

Usage

from midiutils import MidiPreprocessor
processor = MidiPreprocessor()
events = processor.get_midi_events('data/cut_liszt.mid', max_note_length=50)

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

midiutils_python-0.0.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file midiutils_python-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for midiutils_python-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 da0375663d058b6225ab6f40f1eab63c8d8c01df6c742730385b5e73010c1800
MD5 51652420cadd730b2f9f17238ca14b23
BLAKE2b-256 c7d3e46d09a579d28247e78b4897e7ac9d4f4d62f18ebb2bc60aeb887be263fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page