0.5.0 • Published 3 years ago

@typescord/opus v0.5.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@typescord/opus Build Prebuild

Native bindings to libopus v1.3

Usage

const { Opus } = require('@typescord/opus');

// Create the encoder.
// Specify 48kHz sampling rate and 2 channel size.
const opus = new Opus(48000, 2);

// Encode and decode.
const encoded = opus.encode(buffer);
const decoded = opus.decode(encoded);

Platform support

⚠ Node.js 12.0.0 or newer is required.

  • Linux x64 & ia32
  • Linux arm (RPi 1 & 2)
  • Linux arm64 (RPi 3)
  • Windows x64
  • macOS x64
0.5.0

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago