{"id":17041663,"url":"https://github.com/xlab/midievent","last_synced_at":"2025-03-23T01:20:39.915Z","repository":{"id":147149499,"uuid":"67873141","full_name":"xlab/midievent","owner":"xlab","description":"Package midievent provides MIDI event type mappings for Go-lang.","archived":false,"fork":false,"pushed_at":"2016-09-10T13:51:09.000Z","size":1427,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T04:31:16.747Z","etag":null,"topics":["golang","midi","midi-controller","midi-events"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/xlab.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":"2016-09-10T13:40:22.000Z","updated_at":"2020-05-14T10:25:10.000Z","dependencies_parsed_at":"2023-06-28T19:16:10.298Z","dependency_job_id":null,"html_url":"https://github.com/xlab/midievent","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/xlab%2Fmidievent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fmidievent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fmidievent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xlab%2Fmidievent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xlab","download_url":"https://codeload.github.com/xlab/midievent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245041673,"owners_count":20551441,"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","midi-controller","midi-events"],"created_at":"2024-10-14T09:13:08.188Z","updated_at":"2025-03-23T01:20:39.894Z","avatar_url":"https://github.com/xlab.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"midievent [![GoDoc](https://godoc.org/github.com/xlab/midievent?status.svg)](https://godoc.org/github.com/xlab/midievent)\n=========\n\nPackage `midievent` provides MIDI event type mappings for Go-lang. See docs:\n\n* [MIDI_Code.pdf](/docs/MIDI_Code.pdf)\n* [MIDI_Message_Table.pdf](/docs/MIDI_Message_Table.pdf)\n\n## Install\n\n```\n$ go get github.com/xlab/midievent\n```\n\n## Use\n\n```go\nfor ev := range midiIn.Source() {\n    msg := portmidi.Message(ev.Message)\n    if midievent.IsNoteOn(midievent.Event(msg.Status())) {\n        n := int(msg.Data1())\n        log.Printf(\"note %d (%.3fHz)\", n, noteToFreq(n))\n    }\n}\n```\n\n## License\n\nCC0 (public domain).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fmidievent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxlab%2Fmidievent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxlab%2Fmidievent/lists"}