{"id":27068310,"url":"https://github.com/a740g/midi-player-64","last_synced_at":"2026-01-27T21:11:48.494Z","repository":{"id":115303416,"uuid":"527708770","full_name":"a740g/MIDI-Player-64","owner":"a740g","description":"Cross-platform MIDI player \u0026 library for QB64-PE","archived":false,"fork":false,"pushed_at":"2025-01-26T07:52:19.000Z","size":7937,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T15:14:24.707Z","etag":null,"topics":["basic","basic-programming","fmidi","game-development","library","midi","midi-player","qb64","qb64-pe","qbasic","qbasic64","quickbasic","quickbasic64","retro","rtmidi"],"latest_commit_sha":null,"homepage":"","language":"QuickBASIC","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/a740g.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2022-08-22T19:42:11.000Z","updated_at":"2025-04-08T08:37:09.000Z","dependencies_parsed_at":"2023-11-09T00:24:31.476Z","dependency_job_id":"91e69b7a-b65d-4bb6-a9cc-24186a0b6d0f","html_url":"https://github.com/a740g/MIDI-Player-64","commit_stats":null,"previous_names":["a740g/midi-player-64","a740g/winmidi-player-64"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/a740g/MIDI-Player-64","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a740g%2FMIDI-Player-64","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a740g%2FMIDI-Player-64/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a740g%2FMIDI-Player-64/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a740g%2FMIDI-Player-64/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a740g","download_url":"https://codeload.github.com/a740g/MIDI-Player-64/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a740g%2FMIDI-Player-64/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28823190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T18:44:20.126Z","status":"ssl_error","status_checked_at":"2026-01-27T18:44:09.161Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["basic","basic-programming","fmidi","game-development","library","midi","midi-player","qb64","qb64-pe","qbasic","qbasic64","quickbasic","quickbasic64","retro","rtmidi"],"created_at":"2025-04-05T20:37:04.354Z","updated_at":"2026-01-27T21:11:48.471Z","avatar_url":"https://github.com/a740g.png","language":"QuickBASIC","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MIDI PLAYER 64\n\n[MIDI Player 64](https://github.com/a740g/MIDI-Player-64) is a [QB64-PE](https://www.qb64phoenix.com/) compatible MIDI player library built using the [rtmidi](https://github.com/thestk/rtmidi) and [fmidi](https://github.com/jpcima/fmidi) libraries.\n\n![Screenshot 1](screenshots/screenshot1.png)\n![Screenshot 2](screenshots/screenshot2.png)\n\n## FEATURES\n\n- Simplified API designed for quick integration into projects.\n- Works with both 64-bit and 32-bit versions of QB64-PE.\n- No shared library dependencies, offering a simpler setup compared to solutions requiring DLLs.\n- Runs on Windows, Linux, and macOS.\n- Includes an example to demonstrate library usage.\n\n## USAGE\n\n1. Clone this repository to a directory of your choice:\n\n    ```bash\n    git clone https://github.com/a740g/MIDI-Player-64.git\n    cd MIDIPlayer64\n    ```\n\n2. Initialize the submodules:\n\n    ```bash\n    git submodule update --init --recursive\n    ```\n\n3. Open `MIDIPlayer64.bas` in the QB64-PE IDE.\n\n4. Press `F5` to compile and run\n\nTo use the library in your project, add the [Toolbox64](https://github.com/a740g/Toolbox64) repository as a [Git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)\n\n## API\n\nThe library provides the following functions and subroutines:\n\n```VB\nFUNCTION MIDI_GetErrorMessage$\nFUNCTION MIDI_GetPortCount~\u0026\nFUNCTION MIDI_GetPortName$ (portIndex AS _UNSIGNED LONG)\nFUNCTION MIDI_SetPort%% (portIndex AS _UNSIGNED LONG)\nFUNCTION MIDI_GetPort~\u0026\nFUNCTION MIDI_PlayFromMemory%% (buffer AS STRING)\nSUB MIDI_PlayFromMemory (buffer AS STRING)\nFUNCTION MIDI_PlayFromFile%% (fileName AS STRING)\nSUB MIDI_PlayFromFile (fileName AS STRING)\nSUB MIDI_Stop\nFUNCTION MIDI_IsPlaying%%\nSUB MIDI_Loop (loops AS LONG)\nFUNCTION MIDI_IsLooping%%\nSUB MIDI_Pause (state AS _BYTE)\nFUNCTION MIDI_IsPaused%%\nFUNCTION MIDI_GetTotalTime#\nFUNCTION MIDI_GetCurrentTime#\nSUB MIDI_SetVolume (volume AS SINGLE)\nFUNCTION MIDI_GetVolume!\nSUB MIDI_SeekToTime (seekTime AS DOUBLE)\nFUNCTION MIDI_GetFormat$\n```\n\n## NOTES\n\n- Requires the latest version of [QB64-PE](https://github.com/QB64-Phoenix-Edition/QB64pe/releases/latest)\n- When cloning this repository, submodules are not cloned automatically. Run:\n\n    ```bash\n    git submodule update --init --recursive\n    ```\n\n- This library supports MIDI playback through the system's MIDI output device instead of a software synthesizer.\n\n## ASSETS\n\n- [Icon](https://www.iconarchive.com/artist/grafikartes.html) by [Paulo Freitas](https://behance.net/grafikartes)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa740g%2Fmidi-player-64","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa740g%2Fmidi-player-64","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa740g%2Fmidi-player-64/lists"}