GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - node-3d/plugin-webaudio: WebAudio plugin for Node.js 3D Core

BranchesTags
Open more actions menu

Latest commit

 

History

63 Commits
63 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
examples
examples
 
 
test-consumer
test-consumer
 
 
test
test
 
 
ts
ts
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
oxfmt.config.ts
oxfmt.config.ts
 
 
oxlint.config.ts
oxlint.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
rslib.config.ts
rslib.config.ts
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Node3D WebAudio Extension

This is a part of Node3D project.

NPM Lint Test

npm install @node-3d/plugin-webaudio

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 @node-3d/webaudio. Some WebAudio features may be missing, but it works with Three.js. With positional audio.

Refer to @node-3d/webaudio for the full list of currently implemented API.

import { init } from '@node-3d/core';
import { init as initWebaudio } from '@node-3d/plugin-webaudio';

// 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 @node-3d/webaudio. You can also use it through window.AudioContext or just AudioContext. But the main idea is using it with Three.js, like this.

About

WebAudio plugin for Node.js 3D Core

github.com/node-3d/node-3d

Topics

node-3dpluginwebaudio

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.