New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

linear-timecode

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linear-timecode

Encode and Decode Linear Timecode

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
183
83%
Maintainers
1
Weekly downloads
 
Created
Source

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

Usage

Installation

  • Package is not yet published to npm.
npm install gitlab:patopest/linear-timecode-js

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

Keywords

timecode

FAQs

Package last updated on 26 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts