3d-webaudio-raub
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Node.js 3D WebAudio

This is a part of Node3D project.

NPM ESLint Test

npm i -s 3d-webaudio-raub

WebAudio plugin for Node.js 3D Core. It injects WebAudio API into Node3D's window.

import { init } from '3d-core-raub';
import { init as initWebaudio } from '3d-webaudio-raub';

// Fetch `window` from standard Node3D init
const { window } = init();

// Initialize Webaudio
const { webaudio } = initWebaudio({ window });
// webaudio.AudioContext === window.AudioContext === global.AudioContext

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

For the full contents of currently exported webaudio object, see the docs of webaudio-raub. This plugin re-exports those as is.

Package Sidebar

Install

npm i 3d-webaudio-raub

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

4.27 kB

Total Files

5

Last publish

Collaborators

  • raub