Changelog History
-
v0.4.5 Changes
October 30, 2020ts-audio
is an agnostic and easy-to-use library to work with theAudioContext
API.What's new?
- โ Added logic to play the audio multiple times using the same object
- ๐ Fixed bug that played the playlist always in loop
- ๐จ Refactored code
-
v0.4.2 Changes
July 26, 2020ts-audio
is an agnostic and easy-to-use library to work with theAudioContext
API.What's new?
Extended API from
AudioPlaylist
, adding:loop
parametervolume
andloop
properties
import { AudioPlaylist } from 'ts-audio';const playlist = AudioPlaylist({files: ['./songOne.mp3', './songTwo.mp3', './songThree.mp3'],volume: 0.7,loop: true});playlist.play();playlist.volume; // 0.7playlist.volume = 05
-
v0.4.0 Changes
July 13, 2020ts-audio
is an agnostic and easy-to-use library to work with theAudioContext
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 toAudio
component. For more details, see our documentation.
-
v0.2.0
May 10, 2020