Encode and Decode Linear Timecode
A pure javascript implementation of a LTC encoder/decoder.
- [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
``shell`
npm install linear-timecode
`javascript`
const ltc = require('linear-timecode');
const sampleRate = 44100;
let decoder = new ltc.Decoder(sampleRate);
or
`javascript`
import { Decoder } from "linear-timecode";
const sampleRate = 44100;
let decoder = new Decoder(sampleRate);
#### Examples
##### Decoding
- Decode from wav file: snippet.
- Decode from live input source: snippet.
- Install dependencies
`shell`
npm install
- Run tests
`shell`
npm test
- Build library
`shell``
npm run build
- Linear Timecode wikipedia.
- Linear Timecode specification.