{"id":28101218,"url":"https://github.com/6r1d/rmr","last_synced_at":"2026-04-16T07:30:55.942Z","repository":{"id":53748959,"uuid":"343943218","full_name":"6r1d/rmr","owner":"6r1d","description":"RMR (or \"RtMIDI, reduced\") is a C-only rewrite of RtMIDI's Alsa part","archived":false,"fork":false,"pushed_at":"2021-03-17T13:19:22.000Z","size":206,"stargazers_count":4,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T19:12:03.334Z","etag":null,"topics":["alsa","linux","midi"],"latest_commit_sha":null,"homepage":"https://rmr.readthedocs.io/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/6r1d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-02T23:36:16.000Z","updated_at":"2022-10-15T21:01:02.000Z","dependencies_parsed_at":"2022-08-27T09:41:33.801Z","dependency_job_id":null,"html_url":"https://github.com/6r1d/rmr","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/6r1d/rmr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6r1d%2Frmr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6r1d%2Frmr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6r1d%2Frmr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6r1d%2Frmr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/6r1d","download_url":"https://codeload.github.com/6r1d/rmr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6r1d%2Frmr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505761,"owners_count":23618966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alsa","linux","midi"],"created_at":"2025-05-13T18:53:53.611Z","updated_at":"2026-04-16T07:30:50.915Z","avatar_url":"https://github.com/6r1d.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/docs-sphinx-blue.svg)](https://rmr.readthedocs.io/)\n[![](https://readthedocs.org/projects/rmr/badge/?version=latest\u0026style=flat)](https://rmr.readthedocs.io/)\n![](https://img.shields.io/github/v/release/6r1d/rmr?include_prereleases?style=flat)\n[![](https://img.shields.io/github/license/6r1d/rmr?style=flat)](https://github.com/6r1d/rmr/blob/main/LICENSE)\n[![GitHub Issues](https://img.shields.io/github/issues/6r1d/rmr.svg)](https://github.com/6r1d/rmr/issues)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/6r1d/rmr.svg)](http://isitmaintained.com/project/6r1d/rmr \"Percentage of issues still open\")\n[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/6r1d/rmr.svg)](https://isitmaintained.com/project/6r1d/rmr \"Average time to resolve an issue\")\n\nHello and welcome to RMR's readme.\n\nRMR or \"RtMIDI, reduced\" is a simplified rewrite of [RtMIDI](https://github.com/thestk/rtmidi)'s Alsa part: C++ → C + GLib library.\nIt allows to interface C programs using [MIDI](https://en.wikipedia.org/wiki/MIDI) standard.\nThere is no compatibility with API calls and struct members from [RtMIDI](https://github.com/thestk/rtmidi).\n\n**Warning**: I might change API a lot, this project **is not stable**. Use RMR at your own risk.\n\n## Documentation\n\n[Latest documentation](https://rmr.readthedocs.io/en/latest/index.html) is available on [Read the Docs](https://readthedocs.org/).\n\n## Motivation\n\nThis is my personal, derivative project. I want to use RMR on Linux embedded devices and learn more about [MIDI](https://en.wikipedia.org/wiki/MIDI) and [Alsa](https://www.alsa-project.org/wiki/Main_Page) while changing the code.\nI also want to know the library internals well when I am using it so it can be as predictable for me as possible.\n\nIt will be great if you will discuss it with me in [issues](https://github.com/6r1d/rmr/issues), recommend code improvements, etc.\n\n## Changes\n\n* C++ → C\n* use [GLib](https://developer.gnome.org/glib/stable) [asynchronous queues](https://developer.gnome.org/glib/stable/glib-Asynchronous-Queues.html) and [arrays](https://developer.gnome.org/glib/stable/glib-Arrays.html) when needed (mostly input code: arrays for variably sized SysEx messages and queues for inter-thread message passing)\n* removed [OOP](https://en.wikipedia.org/wiki/Object-oriented_programming) parts and use structs to reduce overhead\n* changed [OOP](https://en.wikipedia.org/wiki/Object-oriented_programming) methods to simple functions to reduce overhead\n* currently uses `do {} while (0);` for error handling in many cases\n* use of `GNU make` for examples and tests\n* documentation using Sphinx and Hawkmoth\n\n## Future plans\n\n### Jack\n\nOne day, I might try and rewrite [JACK](https://jackaudio.org/) API and add it to RMR, I like using it for audio, but I don't use it for MIDI yet.\n\n## Legal and ethical\n\nThe RMR is MIT-licensed.\nIf you create a pull request, it will also be very nice of you to add a PR for the original RtMIDI repo and I'm ready to help with that.\nInitially, I wanted it to have the same non-binding license clause, but that way, GitHub can not detect the license.\n(Please inform me in the issues if there's anything wrong with it.)\n\n## Other great [RtMIDI](https://github.com/thestk/rtmidi) forks\n\n* [RtMIDI17](https://github.com/jcelerier/RtMidi17): [C++17](https://en.wikipedia.org/wiki/C%2B%2B17)\n* [libremidi](https://github.com/jcelerier/libremidi): [C++17](https://en.wikipedia.org/wiki/C%2B%2B17), based on RtMIDI and [ModernMIDI](https://github.com/ddiakopoulos/modern-midi), [should handle](https://github.com/thestk/rtmidi/issues/214#issuecomment-792327899) large SysEx messages better\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6r1d%2Frmr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F6r1d%2Frmr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6r1d%2Frmr/lists"}