0.1.14 • Published 5 years ago

celt v0.1.14

Weekly downloads
24
License
MIT
Repository
github
Last release
5 years ago

node-celt

NodeJS native bindings to libcelt

This module implements bindings for Celt v0.7.0 for Node.js.

celt = require('node-celt');

// Create the encoder.
// Specify 48kHz sampling rate and 10ms frame size.
// NOTE: The decoder must use the same values when decoding the packets.
var rate = 48000;
var frame_size = rate/100;
var encoder = new celt.CeltEncoder( rate );

// Encode and decode.
var encoded = encoder.encode( buffer );
var decoded = encoder.decode( encoded );

Platform support

Supported platforms:

  • Linux x64
  • Linux arm
  • Darwin x64 (mac osx)
  • FreeBSD x64
  • Windows x64

Add new supported platforms by running ./configure in deps/celt-0.7.1 and copying the resulting config.h to deps/config/celt-0.7.1//.

Use the following flags: --enable-static --disable-shared --with-pic

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

6 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago