webaudio-raub
Version:
Web Audio for Node.js
45 lines (32 loc) • 1.54 kB
Markdown
# WebAudio for Node.js
This is a part of [Node3D](https://github.com/node-3d) project.
[](https://badge.fury.io/js/webaudio-raub)
[](https://github.com/node-3d/webaudio-raub/actions/workflows/eslint.yml)
[](https://github.com/node-3d/webaudio-raub/actions/workflows/test.yml)
[](https://github.com/node-3d/webaudio-raub/actions/workflows/cpplint.yml)
```console
npm i -s webaudio-raub
```
> This addon is ABI-compatible across Node.js versions. **There is no compilation** during `npm i`.
**Node.js** addon implementing the
[Web Audio Api](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API).
Simply require any class you like from the module and then follow the
[doc](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API):
```js
const { AudioContext } = require('webaudio-raub'); // 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 `_`.