An open API service indexing awesome lists of open source software.

https://github.com/node-3d/webaudio-raub

WebAudio for Node.js
https://github.com/node-3d/webaudio-raub

api audio crossplatform node-3d node-addon nodejs sound web-audio web-audio-api webaudio

Last synced: 3 months ago
JSON representation

WebAudio for Node.js

Awesome Lists containing this project

README

          

# WebAudio for Node.js

This is a part of [Node3D](https://github.com/node-3d) project.

[![NPM](https://badge.fury.io/js/webaudio-raub.svg)](https://badge.fury.io/js/webaudio-raub)
[![ESLint](https://github.com/node-3d/webaudio-raub/actions/workflows/eslint.yml/badge.svg)](https://github.com/node-3d/webaudio-raub/actions/workflows/eslint.yml)
[![Test](https://github.com/node-3d/webaudio-raub/actions/workflows/test.yml/badge.svg)](https://github.com/node-3d/webaudio-raub/actions/workflows/test.yml)
[![Cpplint](https://github.com/node-3d/webaudio-raub/actions/workflows/cpplint.yml/badge.svg)](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 `_`.