{"id":27867597,"url":"https://github.com/icculus/sdl_native_midi","last_synced_at":"2025-05-04T22:50:24.983Z","repository":{"id":287301435,"uuid":"964246242","full_name":"icculus/SDL_native_midi","owner":"icculus","description":"Cross-platform code to play MIDI files through system facilities.","archived":false,"fork":false,"pushed_at":"2025-04-17T15:05:45.000Z","size":42,"stargazers_count":15,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-04T16:50:38.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icculus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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,"zenodo":null},"funding":{"github":["icculus"],"patreon":"icculus"}},"created_at":"2025-04-10T23:09:40.000Z","updated_at":"2025-05-01T23:32:50.000Z","dependencies_parsed_at":"2025-04-11T02:33:48.218Z","dependency_job_id":"27d348dd-114d-44d1-8b6a-718a3abbe2aa","html_url":"https://github.com/icculus/SDL_native_midi","commit_stats":null,"previous_names":["icculus/sdl_native_midi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2FSDL_native_midi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2FSDL_native_midi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2FSDL_native_midi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icculus%2FSDL_native_midi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icculus","download_url":"https://codeload.github.com/icculus/SDL_native_midi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252411805,"owners_count":21743604,"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":"2025-05-04T22:50:24.425Z","updated_at":"2025-05-04T22:50:24.974Z","avatar_url":"https://github.com/icculus.png","language":"C","funding_links":["https://github.com/sponsors/icculus","https://patreon.com/icculus"],"categories":[],"sub_categories":[],"readme":"# SDL_native_midi\n\nThis is the code to play MIDI files through various system-level APIs,\nextracted from SDL2_mixer and cleaned up a little.\n\nThis is not heavily-maintained, and is barely tested, but we wanted to make it\navailable for anyone that might be relying on it, as it has been removed from\nSDL3_mixer (which still plays MIDI files, but doesn't use OS-provided\nfacilities, since the OS plays outside our mixer).\n\nThis will, in theory, play MIDI files with whatever your platform offers,\nincluding maybe to actual MIDI hardware attached to the machine.\n\nCurrently supported platforms:\n\n- Windows\n- macOS\n- Linux (via ALSA)\n- Haiku\n\nThere is also a \"dummy\" platform that fails to init, but can be used on other\nplatforms so you can still link your program.\n\nIt's safe to compile all the files on all platforms. If you compile the macOS\ncode on Windows, the preprocessor will remove the entire source file, etc.\nThere is nothing to configure, just compile all the files and link against\nSDL3. You don't have to use the included CMake file.\n\nThis code likely has bugs, possibly obvious ones; please don't hesitate to\nfile a bug report and we'll help, but we aren't actively using this code to\nfind them ourselves.\n\n## Linux\n\nLinux builds will need access to the ALSA headers (On Ubuntu, you can\nrun `sudo apt-get install libasound-dev`). They do not need to link to ALSA\ndirectly.\n\n## macOS\n\nmacOS builds will need to link against the AudioToolbox, AudioUnit, and\nCoreServices frameworks.\n\n## Windows\n\nWindows builds will need to link against the system winmm library.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Fsdl_native_midi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficculus%2Fsdl_native_midi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficculus%2Fsdl_native_midi/lists"}