webaudio-raub

Web Audio for Node.js

Usage no npm install needed!

<script type="module">
  import webaudioRaub from 'https://cdn.skypack.dev/webaudio-raub';
</script>

README

WebAudio for Node.js

This is a part of Node3D project.

NPM CodeFactor

npm i webaudio-raub

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

Synopsis

Node.js addon implementing the Web Audio Api.

Note: this addon uses N-API, and therefore is ABI-compatible across different Node.js versions. Addon binaries are precompiled and there is no compilation step during the npm i command.

Usage

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

const { AudioContext } = require('webaudio-raub'); // usually this is enough

Currently exported classes:

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

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