Catalog npm
Back to packageRELEASE DETAILS

2.0.1

npm

3d-webaudio-raub

WebAudio plugin for Node.js 3D Core

3daudiographicslabsoundnode3dpluginsoundwebaudionodeweb-audio
Published22 Nov 2023
Direct dependencies8
Transitive dependenciesNot calculated

README

Current package documentation

Node.js 3D WebAudio

This is a part of Node3D project.

NPM ESLint Test

npm i -s 3d-webaudio-raub

Example

This plugin injects WebAudio API into Node3D's window. It ain't much, but it's honest work.

The WebAudio implementation is provided by webaudio-raub. Some WebAudio features may be missing, but it works with Three.js. With positional audio.

Refer to webaudio-raub for the full list of currently implemented API.

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

Here, webaudio is directly re-exported webaudio-raub. You can also use it through window.AudioContext or just AudioContext. But the main idea is using it with Three.js, like this.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 8

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
webaudio-raub
Environment
{
  "local_name": "webaudio-raub",
  "alias": false,
  "peer_metadata": null
}
^4.0.0runtime
three
Environment
{
  "local_name": "three",
  "alias": false,
  "peer_metadata": null
}
^0.158.0development
eslint
Environment
{
  "local_name": "eslint",
  "alias": false,
  "peer_metadata": null
}
^8.51.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.2.2development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.8.3development
3d-core-raub
Environment
{
  "local_name": "3d-core-raub",
  "alias": false,
  "peer_metadata": null
}
^4.2.0development
@types/three
Environment
{
  "local_name": "@types/three",
  "alias": false,
  "peer_metadata": null
}
^0.158.1development
eslint-plugin-node
Environment
{
  "local_name": "eslint-plugin-node",
  "alias": false,
  "peer_metadata": null
}
^11.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "8f6b45c36bf5393d21719e303513899ec31880d1",
  "tarball": "https://registry.npmjs.org/3d-webaudio-raub/-/3d-webaudio-raub-2.0.1.tgz",
  "fileCount": 5,
  "integrity": "sha512-eCBBvI8fGzj60CR/yhgvIVUH3QgubVitghTpZ35U1pdHiiIaHYb5OlGlbm4eaham9EtCEOdZ/EZeQhSeMEX4zA==",
  "signatures": [
    {
      "sig": "MEQCIDmRMLZDahrJBi4LEqHwH2i3/ROveGs34bAkdPnHG1RGAiA/O5+ziGUW4dkLXOaCqn6jBdRDh8eg/fEijFLZI6IZRg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 4273
}

Repository

PENDING
node-3d/3d-webaudio-raub

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
raub/node-3d-webaudio

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f8efe84bfa6f9ed970609cd06807851c07a8be9d5fdbbcb90f36556dd9243ab5

Other collected versions

3.0.013 Mar2.0.021 Nov1.1.03 Oct1.0.120 Jan1.0.014 Jan0.0.320 MayView all collected versions →