1.0.0 • Published 5 years ago

@rikard.io/microphoneinput v1.0.0

Weekly downloads
1
License
WTFPL
Repository
github
Last release
5 years ago

#MicrophoneInput.js A simple wrapper for handling Microphone input through the WebAudio API.

Tested in Chrome 75+ and Safari 12.1.1+

Install

$ npm -i -D @rikardio/microphoneinput $ yarn add -D @rikardio/microphoneinput

Usage

import MicrophoneInput from '@rikardio/MicrophoneInput.js';
...
let audioContext = new AudioContext();
let microphoneInput = new MicrophoneInput(audioContext);
microphoneInput.connect([audioNode for processing]);

Licence: WTFPL

1.0.0

5 years ago