{"id":15899709,"url":"https://github.com/ernestum/pymidi2key","last_synced_at":"2025-04-02T19:21:36.801Z","repository":{"id":50421088,"uuid":"519019945","full_name":"ernestum/PyMidi2Key","owner":"ernestum","description":"A simple tool to convert midi events to key presses","archived":false,"fork":false,"pushed_at":"2022-07-28T23:50:55.000Z","size":19,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T09:46:57.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ernestum.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":"2022-07-28T23:21:14.000Z","updated_at":"2022-09-21T10:11:42.000Z","dependencies_parsed_at":"2022-09-19T09:40:54.196Z","dependency_job_id":null,"html_url":"https://github.com/ernestum/PyMidi2Key","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/ernestum%2FPyMidi2Key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FPyMidi2Key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FPyMidi2Key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernestum%2FPyMidi2Key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ernestum","download_url":"https://codeload.github.com/ernestum/PyMidi2Key/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246875867,"owners_count":20848053,"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":[],"created_at":"2024-10-06T10:22:35.949Z","updated_at":"2025-04-02T19:21:36.772Z","avatar_url":"https://github.com/ernestum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyMidi2Key\nA simple tool to convert midi events to key presses.\nIt is inspired by [midi2input](https://gitlab.com/enetheru/midi2input/) but I hope to provide mostly the same functionality with a lot less LOC so it is ralistically long-term maintainable.\n\n## Installation Notes\n\nTo make the midi module of pygame work I had to do:\n\n```bash\nsudo mkdir /usr/lib/alsa-lib/\nsudo ln /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so /usr/lib/alsa-lib/libasound_module_conf_pulse.so\n```\n\nRead more about it here: https://stackoverflow.com/questions/64638256/pygame-midi-libasound-module-conf-pulse-so-error-unable-to-open-slave\n\n## Configuration\n\nJust add your code to `handle_event()`.\nFor you convenience, each midi event is printed as a bool expression to match it, ready to copy-paste into `handle_event`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernestum%2Fpymidi2key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernestum%2Fpymidi2key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernestum%2Fpymidi2key/lists"}