# mido/mido

MIDI Objects for Python

Repository: https://github.com/mido/mido
Canonical: https://ross.abutalabs.com/products/mido
Homepage: https://mido.readthedocs.io
Language: Python
License: MIT
License Family: permissive
Topics: python, midi, midifile
Last push: 2026-06-27T13:13:18+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 4819, "days_push": 67, "days_rel": 677, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1638, forks 284 (observed 2026-08-28T04:05:15.065955+00:00)

## What it is
Mido is a Python library for working with MIDI messages, ports, and files. It provides convenient message objects, a reusable MIDI stream parser, full MIDI file read/write support, and backends for RtMidi, PortMidi, and Pygame.

## Use cases
- read and write MIDI files in python
- send MIDI messages to a hardware synth
- parse incoming MIDI from a controller
- play back a .mid file through a MIDI port
- convert MIDI files to SYX files
- stream MIDI over the network between computers

## When to choose
- you need to manipulate MIDI messages or files in Python
- you want a portable, backend-agnostic MIDI port API
- you need low-level access to every message in a MIDI file including meta messages

## When to avoid
- you need real-time audio synthesis or DAW functionality
- you are building a non-Python application
- you need low-latency professional audio-grade MIDI timing guarantees

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, sdk
- domain: media, developer-tools
- platform: python, cross-platform
- tags: midi, midifile, music, audio-ports, sysex, audio

## Member repositories
- mido/mido (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.065955+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:46:33.915533+00:00, confidence not recorded.
  - readme: https://github.com/mido/mido (fetched 2026-08-28T04:05:15.065955+00:00, sha b4f522f94547)
  - registry_pypi: https://pypi.org/pypi/mido/json (fetched 2026-08-29T11:20:17.668155+00:00, sha 05f7d2d4c046)
- Data as of 2026-08-30T08:39:29.467469+00:00.
