This is a part of Node3D project.
npm install @node-3d/webaudioNode.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 enoughThis module is WORK IN PROGRESS. Some features are missing for good.
Currently exported classes:
AudioBufferAudioContextAudioParamAnalyserNodeBiquadFilterNodeConvolverNodeGainNodePannerNodeAudioBufferSourceNodeOscillatorNodeAudioScheduledSourceNode
In examples directory, currently working examples are prepended with _.
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/webaudioThis addon is ABI-compatible across Node.js versions. There is no compilation during
npm install.