web-audio-buffer-queue

Web Audio API source node that streams (Audio)Buffers from a queue or Node-style Stream

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
web-audio-buffer-queue
1501.1.06 years ago7 years agoMinified + gzip package size for web-audio-buffer-queue in KB

Readme

web-audio-buffer-queue
This module provides a Web Audio API source node that streams (Audio)Buffers from a queue or Node-style Stream.

Usage

import BufferQueueNode from 'web-audio-buffer-queue'

var node = new BufferQueueNode({
  audioContext: audioContext
})
node.connect(audioContext.destination)

node.write(bufferContainingPCMSamples)

See src/index.js for detailed documentation.

License

ISC