# thestk/rtmidi

A set of C++ classes that provide a common API for realtime MIDI input/output across Linux (ALSA & JACK), Macintosh OS X (CoreMIDI) and Windows (Multimedia)

Repository: https://github.com/thestk/rtmidi
Canonical: https://ross.abutalabs.com/products/rtmidi
Language: C++
License: NOASSERTION
License Family: other
Last push: 2025-11-27T14:24:14+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 54, release rhythm 8, longevity 100
- inputs: {"age_days": 4709, "days_push": 279, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1202, forks 302 (observed 2026-08-28T04:03:58.456211+00:00)

## What it is
RtMidi is a set of C++ classes providing a common cross-platform API for realtime MIDI input and output across Linux (ALSA, JACK), macOS (CoreMIDI, JACK), Windows, Web MIDI, iOS, and Android. It simplifies MIDI device enumeration and message handling with a minimal two-file integration design.

## Use cases
- send and receive MIDI messages in a C++ application
- enumerate MIDI devices across platforms
- build a MIDI sequencer or synthesizer
- read input from a MIDI keyboard controller
- write cross-platform music software with one MIDI API

## When to choose
- you need realtime MIDI I/O in C++ on multiple operating systems
- you want a minimal dependency (one header and one source file)
- you need MIDI device enumeration with a simple object-oriented API

## When to avoid
- you need MIDI timing or scheduling features (RtMidi sends messages immediately)
- you are working in a language other than C++ without bindings
- you need higher-level music abstractions rather than raw MIDI bytes

## Facets
- artifact type: library
- maturity: stable
- function: audio-processing, sdk
- domain: cross-platform, developer-tools
- platform: windows, cpp, cross-platform
- tags: midi, realtime, alsa, coremidi, jack, music, hardware-interface, audio, linux, macos, ios, android

## Member repositories
- thestk/rtmidi (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:58.456211+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-30T06:20:38.411301+00:00, confidence not recorded.
  - readme: https://github.com/thestk/rtmidi (fetched 2026-08-28T04:03:58.456211+00:00, sha 0f51bdcbd204)
- Data as of 2026-08-30T08:39:29.467469+00:00.
