{"id":22427244,"url":"https://github.com/node-3d/3d-webaudio-raub","last_synced_at":"2026-02-12T08:07:47.214Z","repository":{"id":29859292,"uuid":"122980014","full_name":"node-3d/3d-webaudio-raub","owner":"node-3d","description":"WebAudio plugin for Node.js 3D Core","archived":false,"fork":false,"pushed_at":"2025-03-13T13:08:55.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T06:31:50.747Z","etag":null,"topics":["node-3d","plugin","webaudio"],"latest_commit_sha":null,"homepage":"https://github.com/node-3d/node-3d","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-26T14:18:06.000Z","updated_at":"2025-03-13T13:05:48.000Z","dependencies_parsed_at":"2025-03-27T06:37:19.330Z","dependency_job_id":null,"html_url":"https://github.com/node-3d/3d-webaudio-raub","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":"0.38095238095238093","last_synced_commit":"fbe25aacc0b12e50fa2412c7c164a5f18d3bf882"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-webaudio-raub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-webaudio-raub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-webaudio-raub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2F3d-webaudio-raub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-3d","download_url":"https://codeload.github.com/node-3d/3d-webaudio-raub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736723,"owners_count":21153637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node-3d","plugin","webaudio"],"created_at":"2024-12-05T20:11:16.255Z","updated_at":"2026-02-12T08:07:42.183Z","avatar_url":"https://github.com/node-3d.png","language":"JavaScript","readme":"# Node.js 3D WebAudio\n\nThis is a part of [Node3D](https://github.com/node-3d) project.\n\n[![NPM](https://badge.fury.io/js/3d-webaudio-raub.svg)](https://badge.fury.io/js/3d-webaudio-raub)\n[![ESLint](https://github.com/node-3d/3d-webaudio-raub/actions/workflows/eslint.yml/badge.svg)](https://github.com/node-3d/3d-webaudio-raub/actions/workflows/eslint.yml)\n[![Test](https://github.com/node-3d/3d-webaudio-raub/actions/workflows/test.yml/badge.svg)](https://github.com/node-3d/3d-webaudio-raub/actions/workflows/test.yml)\n\n```console\nnpm i -s 3d-webaudio-raub\n```\n\n![Example](examples/screenshot.jpg)\n\nThis plugin injects WebAudio API into Node3D's `window`. It ain't much, but it's honest work.\n\nThe WebAudio implementation is provided by [webaudio-raub](https://github.com/node-3d/webaudio-raub).\nSome WebAudio features may be missing, but it works with Three.js. With positional audio.\n\nRefer to [webaudio-raub](https://github.com/node-3d/webaudio-raub) for the full list\nof currently implemented API.\n\n```typescript\nimport { init } from '3d-core-raub';\nimport { init as initWebaudio } from '3d-webaudio-raub';\n\n// Fetch `window` from standard Node3D init\nconst { window } = init();\n\n// Initialize Webaudio\nconst { webaudio } = initWebaudio({ window });\n// webaudio.AudioContext === window.AudioContext === global.AudioContext\n```\n\nHere, `webaudio` is directly re-exported [webaudio-raub](https://github.com/node-3d/webaudio-raub).\nYou can also use it through `window.AudioContext` or just `AudioContext`. But the main idea is\nusing it with Three.js, [like this](https://threejs.org/docs/#api/en/audio/PositionalAudio).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2F3d-webaudio-raub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-3d%2F3d-webaudio-raub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2F3d-webaudio-raub/lists"}