Skip to content

node-3d/webaudio

Repository files navigation

WebAudio for Node.js

This is a part of Node3D project.

NPM Lint Test Cpplint

npm install @node-3d/webaudio

Node.js addon implementing the Web Audio Api.

Import any class you like from the module and then follow the doc:

import { AudioContext } from '@node-3d/webaudio'; // usually this is enough

This module is WORK IN PROGRESS. Some features are missing for good.

Currently exported classes:

  • AudioBuffer
  • AudioContext
  • AudioParam
  • AnalyserNode
  • BiquadFilterNode
  • ConvolverNode
  • GainNode
  • PannerNode
  • AudioBufferSourceNode
  • OscillatorNode
  • AudioScheduledSourceNode

In examples directory, currently working examples are prepended with _.

Binary Origin

Release archives are built by this repository's public GitHub Actions workflows.

Attestations: https://github.com/node-3d/webaudio/attestations

To verify a downloaded archive:

gh release download <tag> -R node-3d/webaudio -p <platform>.gz
gh attestation verify <platform>.gz -R node-3d/webaudio

This addon is ABI-compatible across Node.js versions. There is no compilation during npm install.