{"id":16901877,"url":"https://github.com/ttys026/midi-canvas","last_synced_at":"2026-04-20T04:04:50.803Z","repository":{"id":229609125,"uuid":"774224402","full_name":"ttys026/midi-canvas","owner":"ttys026","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-27T02:23:05.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T22:34:42.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ttys026.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":"2024-03-19T06:59:01.000Z","updated_at":"2024-03-25T09:48:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1463b5f-2c45-44ce-9be5-a547f5a22da5","html_url":"https://github.com/ttys026/midi-canvas","commit_stats":null,"previous_names":["ttys026/midi-canvas"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys026/midi-canvas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fmidi-canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fmidi-canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fmidi-canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fmidi-canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys026","download_url":"https://codeload.github.com/ttys026/midi-canvas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fmidi-canvas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271755444,"owners_count":24815408,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T18:02:07.561Z","updated_at":"2026-04-20T04:04:50.774Z","avatar_url":"https://github.com/ttys026.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Midi Canvas\n\n### install\n\n```bash\nnpm i --save midi-canvas\n```\n\n### usage\n\n```javascript\nmidi.current = new MidiCanvas({\n  midis: [{ src: \"base64\" }],\n  audio: \"url\",\n  width: \"100%\",\n  height: 150,\n  container: document.body,\n});\n\nmidi.current.audio.ontimeupdate = () =\u003e {\n  const time = midi.current?.audio?.currentTime || 0;\n  setProgress(time);\n};\nmidi.current.audio.onplay = () =\u003e setPlaying(true);\nmidi.current.audio.onpause = () =\u003e setPlaying(false);\n\nmidi.current.audio.play();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys026%2Fmidi-canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys026%2Fmidi-canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys026%2Fmidi-canvas/lists"}