If you just want to get some audio data from your microphone, this is what you're looking for!
var getUserMedia = ;var MicrophoneStream = ;;
new MicrophoneStream(stream, opts)-> Readable Stream
opts is an option object, with defaults:
objectMode: falsebufferSize: null
It is recommended for authors to not specify this buffer size and allow the implementation to pick a good buffer size to balance between latency and audio quality.
pipe()'ing to other streams.
Stops the recording. Note: Some versions of Firefox leave the recording icon in place after recording has stopped.
One-time event with details of the audio format. Example:
channels: 1bitDepth: 32sampleRate: 48000signed: truefloat: true
Buffer (from a
data event or from calling
.read()) back to the original Float32Array DataView format. (The underlying audio data is not copied or modified.)