linear-timecode
v0.1.0
Published
Encode and Decode Linear Timecode
Maintainers
Readme
Linear Timecode
A pure javascript implementation of a LTC encoder/decoder.
Features
- [x] LTC decoder
- [x] Support for 24, 25 and 30 fps
- [ ] Support for 29.97 fps
- [x] Support for drop-frame and color-frame
- [ ] Support for user bits and bgf
- [x] LTC encoder
- [x] Support for 24, 25 and 30 fps
- [ ] Support for 29.97 fps
- [x] Support for drop-frame and color-frame
- [ ] Support for user bits and bgf
- [ ] Volume control
- [ ] Rise and fall time control
Usage
Installation
npm install linear-timecodeUsage
const ltc = require('linear-timecode');
const sampleRate = 44100;
let decoder = new ltc.Decoder(sampleRate);or
import { Decoder } from "linear-timecode";
const sampleRate = 44100;
let decoder = new Decoder(sampleRate);Examples
Decoding
Development
- Install dependencies
npm install- Run tests
npm test- Build library
npm run buildUseful links
- Linear Timecode wikipedia.
- Linear Timecode specification.
