@discordjs/opus

Opus bindings for Node

no longer supported
Last updated 6 years ago by crawl .
MIT · Original npm · Tarball · package.json
$ cnpm install @discordjs/opus 
SYNC missed versions from official npm registry.

@discordjs/opus Build Prebuild

Native bindings to libopus v1.3

Usage

const { OpusEncoder } = require('@discordjs/opus');

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

// Encode and decode.
const encoded = encoder.encode(buffer);
const decoded = encoder.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)
  • macOS x64
  • macOS arm64
  • Windows x64

Current Tags

  • 0.10.0                                ...           latest (a year ago)

15 Versions

  • 0.10.0                                ...           a year ago
  • 0.9.0                                ...           3 years ago
  • 0.8.0                                ...           4 years ago
  • 0.7.0 [deprecated]           ...           4 years ago
  • 0.6.0 [deprecated]           ...           5 years ago
  • 0.5.3 [deprecated]           ...           5 years ago
  • 0.5.2 [deprecated]           ...           5 years ago
  • 0.5.0 [deprecated]           ...           5 years ago
  • 0.4.0 [deprecated]           ...           5 years ago
  • 0.3.3 [deprecated]           ...           5 years ago
  • 0.3.2 [deprecated]           ...           6 years ago
  • 0.3.1 [deprecated]           ...           6 years ago
  • 0.2.1 [deprecated]           ...           6 years ago
  • 0.2.0 [deprecated]           ...           6 years ago
  • 0.1.0 [deprecated]           ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (3)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |