{"id":18076061,"url":"https://github.com/kbinani/midi","last_synced_at":"2025-04-12T08:11:41.951Z","repository":{"id":57514156,"uuid":"80010397","full_name":"kbinani/midi","owner":"kbinani","description":"SMF (Standard MIDI File) parser for Go","archived":false,"fork":false,"pushed_at":"2017-01-27T11:36:46.000Z","size":10,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T07:57:54.280Z","etag":null,"topics":["golang","midi"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kbinani.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":"2017-01-25T11:58:32.000Z","updated_at":"2024-10-02T14:43:40.000Z","dependencies_parsed_at":"2022-09-26T17:51:02.158Z","dependency_job_id":null,"html_url":"https://github.com/kbinani/midi","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/kbinani%2Fmidi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbinani%2Fmidi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbinani%2Fmidi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbinani%2Fmidi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbinani","download_url":"https://codeload.github.com/kbinani/midi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537140,"owners_count":21120711,"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":["golang","midi"],"created_at":"2024-10-31T11:08:37.669Z","updated_at":"2025-04-12T08:11:41.928Z","avatar_url":"https://github.com/kbinani.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"midi\n====\n\n[![Build Status](https://travis-ci.org/kbinani/midi.svg?branch=master)](https://travis-ci.org/kbinani/midi)\n[![codecov.io](https://codecov.io/github/kbinani/midi/branch/master/graph/badge.svg)](https://codecov.io/github/kbinani/midi)\n[![](https://img.shields.io/badge/godoc-reference-5272B4.svg)](https://godoc.org/github.com/kbinani/midi)\n[![](https://img.shields.io/badge/license-MIT-428F7E.svg?style=flat)](https://github.com/kbinani/midi/blob/master/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kbinani/midi)](https://goreportcard.com/report/github.com/kbinani/midi)\n\n* Go library to parse Standard MIDI file.\n\ntodo\n====\n- [x] Extract tempo change table\n- [ ] Extract time signature table\n- [ ] Writing SMF file\n\nexample\n=======\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/kbinani/midi\"\n)\n\nfunc main() {\n\tf, err := os.Open(\"test.mid\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer f.Close()\n\n\tfile, err := midi.Read(f)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfor i, track := range file.Tracks {\n\t\tfmt.Printf(\"track#%d: %5d events\\n\", i, len(track.Events))\n\t}\n}\n```\n\nlicense\n=======\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbinani%2Fmidi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbinani%2Fmidi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbinani%2Fmidi/lists"}