Skip to content

ts-audio v0.4.0

Compare
Choose a tag to compare
@EvandroLG EvandroLG released this 13 Jul 21:22
· 238 commits to master since this release

ts-audio is an agnostic and easy-to-use library to work with the AudioContext API.

What's new?

  • Created AudioPlaylist component. To see more details, check our documentation.
import { AudioPlaylist } from 'ts-audio';

const playlist = AudioPlaylist({
  files: ['./songOne.mp3', './songTwo.mp3', './songThree.mp3'],
  volume: 0.7,
});

playlist.play();
  • Updated examples, adding a complete example of how to use AudioPlaylist
  • Created end event to Audio component. For more details, see our documentation.