This project is based on web-audio-engine, which is now archived. It aims to be able to use the APIS web methods in Node and add mocks of the missing functions of the initial project.
Install
npm install audio-context-mock
Usage
const AudioContext = require("audio-context-mock");
const context = new AudioContext();
API
createMediaElementSource
const audioSourceNode = context.createMediaElementSource();
createMediaStreamDestination
const destination = audioCtx.createMediaStreamDestination();
createMediaStreamSource
const audioSourceNode = context.createMediaStreamSource();
Contributing
Contributions welcome !