2.0.1 • Published 7 years ago

@stayradiated/web-audio v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@stayradiated/web-audio

So you want the power of the Web Audio API but with support for streaming audio files? Then this library is for you.

Todo

  • Find out which browsers support ReadableStreams, because this library depends on them.

API Docs

This is just an example of how to use the library at the moment:

import WebAudioStream from '@stayradiated/web-audio'

const stream = new WebAudioStream({
  context: new window.AudioContext(),
})

stream.loadSource('/files/audio.mp3')
stream.play()

console.log(stream.audioSource) // underlying audio source
2.0.1

7 years ago

2.0.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago