{"id":18314353,"url":"https://github.com/pc9795/music-theory","last_synced_at":"2025-04-09T12:41:27.879Z","repository":{"id":121080571,"uuid":"353953176","full_name":"pc9795/music-theory","owner":"pc9795","description":"Music theory :musical_note: with Python :snake:","archived":false,"fork":false,"pushed_at":"2021-04-02T11:06:09.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-15T06:41:28.120Z","etag":null,"topics":["chords","music-theory","python","scales"],"latest_commit_sha":null,"homepage":"","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/pc9795.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":"2021-04-02T08:17:01.000Z","updated_at":"2021-04-18T14:46:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f280ed1-733e-448a-ab21-7b090f7d3b14","html_url":"https://github.com/pc9795/music-theory","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/pc9795%2Fmusic-theory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc9795%2Fmusic-theory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc9795%2Fmusic-theory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pc9795%2Fmusic-theory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pc9795","download_url":"https://codeload.github.com/pc9795/music-theory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045220,"owners_count":21038552,"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":["chords","music-theory","python","scales"],"created_at":"2024-11-05T16:32:13.597Z","updated_at":"2025-04-09T12:41:27.857Z","avatar_url":"https://github.com/pc9795.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Music Theory\n\n## Examples\n\nGet notes for any of the configured scales\n```\nprint(get_notes(scale=Scales.DORIAN, key=Notes.D, with_intervals=True))\n\n\u003e\u003e\u003e [D(1), tone(2), E(2), semitone(1), F(3), tone(2), G(4), tone(2), A(5), tone(2), B(6), semitone(1), C(7), tone(2), D(8/1)]\n```\n\nGet chords for major scale in any key\n```\nprint(get_chords(key=Notes.C))\n\n\u003e\u003e\u003e [C([C, E, G]), Dm([D, F, A]), Em([E, G, B]), F([F, A, C]), G([G, B, D]), Am([A, C, E]), Bdim([B, D, F])] \n```\n\nNote analysis\n```\nprint(get_notes(scale=Scales.DORIAN, key=Notes.D, with_intervals=True, octaves=2, filter_pos=[1, 3, 5]))\n\n\u003e\u003e\u003e [D(1), minor-second(1), F(3), major-second(2), A(5)]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpc9795%2Fmusic-theory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpc9795%2Fmusic-theory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpc9795%2Fmusic-theory/lists"}