python-midi / libmidi

libmidi is a MIDI library written from scratch with object oriented programming and proper typing in mind, while trying to keep overhead as minimal as possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libmidi

PyPi version Codacy Badge Documentation Status

libmidi is a MIDI library written from scratch with object oriented programming and proper typing in mind, while trying to keep overhead as minimal as possible.

This is supposed to be a replacement to Mido, which seems dead development-wise and it has a log of bugs.

It follows the official MIDI 1.0 specifications

Requires Python 3.8 or greater

Installation

pip3 install libmidi

Instructions

# Open a file
from libmidi.types import MidiFile

MidiFile.from_file("midi.mid")

Complete documentation is at Read the Docs

License

#
# Copyright (C) 2022 Sebastiano Barezzi
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#

About

libmidi is a MIDI library written from scratch with object oriented programming and proper typing in mind, while trying to keep overhead as minimal as possible


Languages

Language:Python 100.0%