{"id":19528765,"url":"https://github.com/patopesto/linear-timecode-js","last_synced_at":"2025-07-01T16:05:48.469Z","repository":{"id":253963584,"uuid":"723978241","full_name":"patopesto/linear-timecode-js","owner":"patopesto","description":"A javascript library to encode and decode Linear Timecode (LTC)","archived":false,"fork":false,"pushed_at":"2024-08-20T14:33:02.000Z","size":2870,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T16:07:34.224Z","etag":null,"topics":["javascript","linear-timecode","smpte","smpte-timecode","timecode"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/patopesto.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-27T06:31:16.000Z","updated_at":"2024-08-20T14:31:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f8c7314-b4bb-4fe8-9f8a-a3934dcc7f11","html_url":"https://github.com/patopesto/linear-timecode-js","commit_stats":null,"previous_names":["patopesto/linear-timecode-js"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patopesto%2Flinear-timecode-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patopesto%2Flinear-timecode-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patopesto%2Flinear-timecode-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patopesto%2Flinear-timecode-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patopesto","download_url":"https://codeload.github.com/patopesto/linear-timecode-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240783113,"owners_count":19856773,"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":["javascript","linear-timecode","smpte","smpte-timecode","timecode"],"created_at":"2024-11-11T01:19:57.587Z","updated_at":"2025-02-26T02:40:47.316Z","avatar_url":"https://github.com/patopesto.png","language":"JavaScript","readme":"# Linear Timecode\n\nA pure javascript implementation of a LTC encoder/decoder.\n\n\n## Features\n\n- [x] LTC decoder\n    - [x] Support for 24, 25 and 30 fps\n    - [ ] Support for 29.97 fps\n    - [x] Support for drop-frame and color-frame\n    - [ ] Support for user bits and bgf\n- [x] LTC encoder\n    - [x] Support for 24, 25 and 30 fps\n    - [ ] Support for 29.97 fps\n    - [x] Support for drop-frame and color-frame\n    - [ ] Support for user bits and bgf\n    - [ ] Volume control\n    - [ ] Rise and fall time control\n\n\n\n## Usage\n\n### Installation\n\n\n```shell\nnpm install linear-timecode\n```\n\n### Usage\n\n```javascript\nconst ltc = require('linear-timecode');\nconst sampleRate = 44100;\nlet decoder = new ltc.Decoder(sampleRate);\n```\n\nor\n\n```javascript\nimport { Decoder } from \"linear-timecode\";\nconst sampleRate = 44100;\nlet decoder = new Decoder(sampleRate);\n```\n\n\n#### Examples\n\n##### Decoding\n\n- Decode from wav file: [snippet](https://gitlab.com/patopest/linear-timecode-js/-/snippets/3624978).\n- Decode from live input source: [snippet](https://gitlab.com/patopest/linear-timecode-js/-/snippets/3624979).\n\n\n## Development\n\n- Install dependencies\n\n```shell\nnpm install\n```\n\n- Run tests\n\n```shell\nnpm test\n```\n\n- Build library\n\n```shell\nnpm run build\n```\n\n\n## Useful links\n\n- Linear Timecode [wikipedia](https://en.wikipedia.org/wiki/Linear_timecode).\n- Linear Timecode [specification](https://pub.smpte.org/pub/st12-1/st0012-1-2014.pdf).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatopesto%2Flinear-timecode-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatopesto%2Flinear-timecode-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatopesto%2Flinear-timecode-js/lists"}