Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear Timecode

A pure javascript implementation of a LTC encoder/decoder.

Features

  • LTC decoder
    • Support for 24, 25 and 30 fps
    • Support for 29.97 fps
    • Support for drop-frame and color-frame
    • Support for user bits and bgf
  • LTC encoder
    • Support for 24, 25 and 30 fps
    • Support for 29.97 fps
    • 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-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 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

About

A javascript library to encode and decode Linear Timecode (LTC)

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages