{"id":24118365,"url":"https://github.com/fantasyui-com/musical-notation","last_synced_at":"2025-06-14T14:08:12.972Z","repository":{"id":57305616,"uuid":"151408695","full_name":"fantasyui-com/musical-notation","owner":"fantasyui-com","description":"Simple and lightweight musical notation based on beat sequencers and inspired by good ideas.","archived":false,"fork":false,"pushed_at":"2021-07-13T16:31:28.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T16:59:56.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fantasyui-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-03T12:25:43.000Z","updated_at":"2021-07-13T16:31:31.000Z","dependencies_parsed_at":"2022-09-09T18:00:58.179Z","dependency_job_id":null,"html_url":"https://github.com/fantasyui-com/musical-notation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fantasyui-com/musical-notation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fmusical-notation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fmusical-notation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fmusical-notation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fmusical-notation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fantasyui-com","download_url":"https://codeload.github.com/fantasyui-com/musical-notation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fantasyui-com%2Fmusical-notation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259827661,"owners_count":22917713,"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-01-11T08:19:19.043Z","updated_at":"2025-06-14T14:08:12.944Z","avatar_url":"https://github.com/fantasyui-com.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# musical-notation\nSimple and lightweight musical notation based on beat sequencers and inspired by good ideas.\n\nThis is it:\n\n```\n\n[----][-x--][----][-x--]\n[----][-x--][----][-x--]\n[-x--][-x--][-x--][-x--]\n[-x--][----][-x--][----]\n[-x--][----][-x--][----]\n\n```\n\nHyphen means empty space\nbrackets help you see divisions\nand x marks the spot.\n\n## About\n\nThis is a javascript library that converts the above notation to a multidimensional array, a matrix.\n\n```JavaScript\n\ninput = `\n  [----][-x--][----][-x--]\n  [----][-x--][----][-x--]\n  [-x--][-x--][-x--][-x--]\n  [-x--][----][-x--][----]\n  [-x--][----][-x--][----]\n`;\n\n```\n\n```JavaScript\n\noutput = [\n  [ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ],\n  [ 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ],\n  [ 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0 ],\n  [ 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 ],\n  [ 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 ]\n]\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasyui-com%2Fmusical-notation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffantasyui-com%2Fmusical-notation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffantasyui-com%2Fmusical-notation/lists"}