{"id":13648294,"url":"https://github.com/hoffa/pyogi","last_synced_at":"2025-04-22T07:31:10.463Z","repository":{"id":61131295,"uuid":"148866534","full_name":"hoffa/pyogi","owner":"hoffa","description":"A simpler music notation for casual piano learners","archived":false,"fork":false,"pushed_at":"2024-10-28T23:32:15.000Z","size":25537,"stargazers_count":133,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-09T22:38:49.619Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoffa.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}},"created_at":"2018-09-15T03:40:03.000Z","updated_at":"2024-07-23T00:45:01.000Z","dependencies_parsed_at":"2024-01-23T03:44:46.773Z","dependency_job_id":"7b792604-861a-4190-aac1-97a0533c964b","html_url":"https://github.com/hoffa/pyogi","commit_stats":null,"previous_names":["hoffa/pyogi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoffa%2Fpyogi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoffa%2Fpyogi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoffa%2Fpyogi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoffa%2Fpyogi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoffa","download_url":"https://codeload.github.com/hoffa/pyogi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195033,"owners_count":21390230,"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-08-02T01:04:07.239Z","updated_at":"2025-04-22T07:31:09.410Z","avatar_url":"https://github.com/hoffa.png","language":"Python","readme":"# pyogi\n\n[![Tests](https://github.com/hoffa/notation/actions/workflows/build.yml/badge.svg)](https://github.com/hoffa/notation/actions/workflows/build.yml)\n[![CC BY-NC-ND 4.0](https://img.shields.io/badge/license-CC%20BY--NC--ND%204.0-blue)](https://creativecommons.org/licenses/by-nc-nd/4.0/)\n\nA simpler music notation for casual piano learners.\n\n## Why?\n\nI'm bad at piano but I'm trying to learn by myself, and I find modern music notation overwhelming.\n\nFor example:\n\n1. Why does the note corresponding to a line on the [staff](\u003chttps://en.wikipedia.org/wiki/Staff_(music)\u003e) depend on (1) the [clef](https://en.wikipedia.org/wiki/Clef), (2) the [key signature](https://en.wikipedia.org/wiki/Key_signature), and (3) the [accidental](\u003chttps://en.wikipedia.org/wiki/Accidental_(music)\u003e) next to a note? I need to look in 3 places just to know which key to press.\n1. Why have both C♯ and D♭ when they correspond to the same key?\n1. Why aren't staff lines for different [octaves](https://en.wikipedia.org/wiki/Octave) consistent? If a note is on a solid line, the same note one octave higher is on a blank line.\n\n## Example\n\n\u003cdetails\u003e\n  \u003csummary\u003eSchubert's Allegretto in Pyogi notation\u003c/summary\u003e\n\n  ![](testdata/output/svg/schubert-allegretto.svg)\n  \n\u003c/details\u003e\n\nSee the [`testdata/output/pdf`](testdata/output/pdf) directory for more examples.\n\n## The notation in 1 minute\n\n- Thick lines are [C notes](\u003chttps://en.wikipedia.org/wiki/C_(musical_note)\u003e).\n- The higher the note, the higher the pitch.\n- White notes are naturals.\n- Black notes are sharps.\n\nThere are no explicit flats, rests, note values, time signatures, key signatures, etc. Play what sounds good.\n\n## Usage\n\nConvert a [MusicXML](https://en.wikipedia.org/wiki/MusicXML) file to a PDF in Pyogi notation:\n\n```bash\nmake init\n.venv/bin/python src/main.py score.mxl\n```\n\n## Development\n\nSet up dependencies:\n\n```bash\nmake init\n```\n\nRun tests:\n\n```bash\nmake test\n```\n\nIf the rendering changes, tests can be quickly updated with:\n\n```bash\nUPDATE=1 make test\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoffa%2Fpyogi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoffa%2Fpyogi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoffa%2Fpyogi/lists"}