{"id":15707291,"url":"https://github.com/miek/midiproxy","last_synced_at":"2025-05-12T19:46:15.409Z","repository":{"id":86355332,"uuid":"67225015","full_name":"miek/midiproxy","owner":"miek","description":"Proxies a MIDI connection for sniffing both sides of the communication","archived":false,"fork":false,"pushed_at":"2016-09-03T11:34:54.000Z","size":15,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T02:51:56.702Z","etag":null,"topics":["midi","proxy","python","reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-02T13:31:42.000Z","updated_at":"2023-06-12T10:20:27.000Z","dependencies_parsed_at":"2023-07-08T09:15:32.321Z","dependency_job_id":null,"html_url":"https://github.com/miek/midiproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miek%2Fmidiproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miek%2Fmidiproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miek%2Fmidiproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miek%2Fmidiproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miek","download_url":"https://codeload.github.com/miek/midiproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253809957,"owners_count":21967829,"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":["midi","proxy","python","reverse-engineering"],"created_at":"2024-10-03T20:39:26.626Z","updated_at":"2025-05-12T19:46:15.387Z","avatar_url":"https://github.com/miek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# midiproxy\nProxies a MIDI connection for sniffing both sides of the communication\n\nThis program connects to the input and output of a target device, creates virtual input and output ports then relays messages between them. It also prints out the messages to stdout which is useful for reverse-engineering vendor-specific messages.\n\n## Prerequisites\n\n * [Mido](https://github.com/olemb/mido/)\n * [python-rtmidi](https://pypi.python.org/pypi/python-rtmidi)\n\n## Example usage\n\n### Get a list of potential target devices:\n\n    $ ./midiproxy -h\n    usage: midiproxy [-h]\n                     {KMidimon 129:0,Midi Through 14:0,RtMidiIn Client\n                     130:0,RtMidiIn Client 132:0,nanoKONTROL2 36:0}\n    \n    Proxy MIDI connection\n    \n    positional arguments:\n      {KMidimon 129:0,Midi Through 14:0,RtMidiIn Client 130:0,RtMidiIn Client 132:0,nanoKONTROL2 36:0}\n                            Target device name\n    \n    optional arguments:\n      -h, --help            show this help message and exit\n\n### Run the proxy:\n\n    $ ./midiproxy \"nanoKONTROL2 36:0\"\n    \n### Check the ports are up:\n\n    $ aconnect -l\n    [...]\n    client 131: 'RtMidiIn Client' [type=user]\n        0 'Proxy Input     '\n    client 132: 'RtMidiOut Client' [type=user]\n        0 'Proxy Output    '\n    client 133: 'RtMidiIn Client' [type=user]\n        0 'RtMidi Input    '\n        Connected From: 36:0\n    client 134: 'RtMidiOut Client' [type=user]\n        0 'RtMidi Output   '\n        Connecting To: 36:0[real:0]\n\n### Connect an application to the proxy:\n\n![Application port configuration](https://raw.githubusercontent.com/miek/midiproxy/master/img/app-ports.png)\n\n### Log some messages:\n\n    $ ./midiproxy \"nanoKONTROL2 36:0\"\n    =\u003e F0 7E 7F 06 01 F7\n    \u003c= F0 7E 00 06 02 42 13 01 00 00 03 00 01 00 F7\n    =\u003e F0 42 40 00 01 13 00 1F 12 00 F7\n    \u003c= F0 42 40 00 01 13 00 5F 42 00 F7\n\n`=\u003e` signifies a message sent from the application to the target device\n\n`\u003c=` signifies a message sent from the target device to the application\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiek%2Fmidiproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiek%2Fmidiproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiek%2Fmidiproxy/lists"}