0.1.8 • Published 8 months ago

@livekit/noise-cancellation-node v0.1.8

Weekly downloads
-
License
See https://livek...
Repository
-
Last release
8 months ago

LiveKit Noise Cancellation Plugin for Node.js

This package provides noise cancellation capabilities for LiveKit Node.js applications.

Installation

npm install @livekit/noise-cancellation-node

Usage

import * as LivekitNC from '@livekit/noise-cancellation-node';

// Create AudioStream with noise cancellation
const stream = new AudioStream(track, { noiseCancellation: LivekitNC.NoiseCancellation() });

Options

  • NoiseCancellationC(): Standard noise cancellation
  • BackgroundVoiceCancellation(): Voice enhancement (background voice cancellation)
  • TelephonyBackgroundVoiceCancellation(): Voice enhancement (background voice cancellation) for Telephony audio

Architecture

This package uses a multi-package architecture to support platform-specific shared libraries:

  • @livekit/noise-cancellation-node - Main package with TypeScript code
  • @livekit/noise-cancellation-darwin-arm64 - macOS ARM64 binaries and resources
  • @livekit/noise-cancellation-darwin-x64 - macOS x64 binaries and resources
  • @livekit/noise-cancellation-linux-x64 - Linux x64 binaries and resources
  • @livekit/noise-cancellation-linux-arm64 - Linux ARM64 binaries and resources
  • @livekit/noise-cancellation-win32-x64 - Windows x64 binaries and resources

The main package automatically selects and loads the appropriate platform-specific package for your system.

Notes

If you experience crashes when using noise_cancellation (especially on AMD CPUs), it may be due to a failure in OpenBLAS's CPU detection. Manually setting the OPENBLAS_CORETYPE environment variable to a more conservative value (e.g., Haswell) may resolve the issue.

License

See https://livekit.io/legal/terms-of-service

0.1.8

8 months ago

0.1.7

9 months ago

0.1.6

9 months ago

0.1.5

9 months ago

0.1.4

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago