linear-timecode

0.0.3 • Public • Published

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
  • [ ] LTC encoder

Usage

Installation

npm install linear-timecode

Usage

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 ltc.Decoder(sampleRate);

Examples

Decoding
  • Decode from wav file: snippet.
  • Decode from live input source: snippet.

Development

  • Install dependencies
npm install
  • Run tests
npm test
  • Build library
npm run build

Useful links

Package Sidebar

Install

npm i linear-timecode

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

22.1 kB

Total Files

5

Last publish

Collaborators

  • patopesto