{"id":16254542,"url":"https://github.com/tim-smart/mtc","last_synced_at":"2025-04-08T13:15:26.237Z","repository":{"id":136212546,"uuid":"161581058","full_name":"tim-smart/mtc","owner":"tim-smart","description":"Transform stream that parses MTC messages and outputs SMPTE objects.","archived":false,"fork":false,"pushed_at":"2018-12-13T03:53:22.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T09:23:55.044Z","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/tim-smart.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":"2018-12-13T03:52:59.000Z","updated_at":"2022-04-16T08:57:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfc668c5-e7dd-4660-8592-41d7b0c5bcb0","html_url":"https://github.com/tim-smart/mtc","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/tim-smart%2Fmtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fmtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fmtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tim-smart%2Fmtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tim-smart","download_url":"https://codeload.github.com/tim-smart/mtc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247847611,"owners_count":21006100,"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":"2024-10-10T15:22:46.982Z","updated_at":"2025-04-08T13:15:26.210Z","avatar_url":"https://github.com/tim-smart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @tim-smart/mtc\n\nA transform stream that consumes MIDI messages and outputs timecode objects.\n\n## Usage\n\n```typescript\nimport { MTCStream } from \"@tim-smart/mtc\";\nimport { Input } from \"easymidi\";\n\nconst input = new Input(\"Network MIDI device\");\nconst mtc = new MTCStream();\n\ninput._input.on(\"message\", (delta: number, msg: number[]) =\u003e {\n  const msgBuffer = Buffer.from(msg);\n  mtc.write(msgBuffer);\n});\n\nmtc.on(\"data\", timecode =\u003e {\n  console.log(timecode.toString());\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Fmtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftim-smart%2Fmtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftim-smart%2Fmtc/lists"}