{"id":19816948,"url":"https://github.com/flyingfathead/moonlighter","last_synced_at":"2026-06-09T02:05:23.465Z","repository":{"id":209357268,"uuid":"723824869","full_name":"FlyingFathead/moonlighter","owner":"FlyingFathead","description":"Miniature beep-boop MIDI player for Python","archived":false,"fork":false,"pushed_at":"2023-11-27T15:06:03.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T12:07:06.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/FlyingFathead.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":"2023-11-26T21:23:20.000Z","updated_at":"2024-07-24T21:57:50.000Z","dependencies_parsed_at":"2023-11-26T22:29:36.000Z","dependency_job_id":"d4cde337-43d5-44f7-90e0-7f6baee0e864","html_url":"https://github.com/FlyingFathead/moonlighter","commit_stats":null,"previous_names":["flyingfathead/moonlighter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fmoonlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fmoonlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fmoonlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlyingFathead%2Fmoonlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlyingFathead","download_url":"https://codeload.github.com/FlyingFathead/moonlighter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241170256,"owners_count":19921572,"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-11-12T10:11:10.407Z","updated_at":"2026-06-09T02:05:23.405Z","avatar_url":"https://github.com/FlyingFathead.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# moonlighter\nMiniature beep-boop MIDI player for Python. Good for audio alerts, debugging and such!\n\n## Usage\nSingle-line install for *nix + Git Bash (installs all required Python packages, downloads 'Moonlight Sonata' and plays all three movements of it):\n```bash\ngit clone https://github.com/FlyingFathead/moonlighter/ \u0026\u0026 cd moonlighter \u0026\u0026 python moonlighter.py --deploy\n```\n\n## Slow deployment:\nFirst, clone the repo with:\n```bash\ngit clone https://github.com/FlyingFathead/moonlighter\n```\nthen:\n```bash\ncd moonlighter\n```\ninstall the prerequisite `pip` packages:\n```bash\npip install -U numpy sounddevice soundfile mido pydub requests\n```\n(`requests` is only used by `--deploy`, but it's a recommended module)\n\nPlay with your favorite midi file:\n```bash\npython moonlighter.py /path/to/your/midi/file.mid\n```\n\n## Other features\nDump the midi to mp3:\n```bash\npython moonlighter.py /path/to/your/midi/file.mid --dump output.mp3\n```\nAdjust the beeps and boops, a.k.a. note length (in seconds):\n```bash\npython moonlighter.py /path/to/your/midi/file.mid --notelength 0.1\n```\n_(adjusts the note length to 0.1 sec)_\n\n# Changelog\n- `v1.16` - bug fixes, all three movements\n- `v1.08` - small bug fixes (mp3 export bug)\n- `v1.07` - Note length adjustment with `--notelength` added\n\n# Info\n- by FlyingFathead (w/ ghostcode by ChaosWhisperer)\n- https://github.com/FlyingFathead/moonlighter/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyingfathead%2Fmoonlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyingfathead%2Fmoonlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyingfathead%2Fmoonlighter/lists"}