v5.0.0
v5.0 contains a lot of improvements compared to the v4.x branch, but the API is fully compatible with the 4.x series
- fixed several bugs related to the volume, like setting volume before playing a sound or getting intial volume to update UI accordingly
- each sound now has it's own gain node, this will allow in future version to let the user adjust the loudness of sounds in a playlist on a per sound basis and also to crossfade sounds or add a fade in / out to sounds
- promises got replaced by more modern async / await which resulted in cleaner code
- fixed several typescript types (I use typescript and tested this a lot, but if you find a wrong type or know how to improve the types (interfaces) then please open a ticket / PR)
- improved documentation / readme
- added some more buttons to example to show how to use them if needed
the audio player has no external dependencies