JSPM

web-audio-buffer-queue

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 117
  • Score
    100M100P100Q75775F
  • License ISC

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

Package Exports

  • web-audio-buffer-queue

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-audio-buffer-queue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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