Skip to content

Releases: Element118/html-audio

KA HTML Audio v2.5.0

02 Jan 09:15

Choose a tag to compare

Made musicPlayer.playLater() independent of speed.
Fixed musicPlayer.on("songend", function() {})

KA HTML Audio v2.4.0

03 Dec 13:46

Choose a tag to compare

Added musicPlayer.inSong property.
Added musicPlayer.playLater() function.

KA HTML Audio v2.3.0

16 Nov 15:17

Choose a tag to compare

Made PlayableNote more robust when a unrecognised note is found.
Added PlayableMusic.constructFromToneJS for the MIDI to JSON converter.
Added warning when an instrument cannot be found.
Fixed bug in PlayableMusic class to remove unnecessary frames.

KA HTML Audio v2.1.0

29 Oct 15:07

Choose a tag to compare

Added observer pattern behaviour to go to 2.1.0, using MusicPlayer.on(event, callback).
Added decimal places for BPM!
Patched bug in MusicPlayer.getTitles().

KA HTML Audio v2.0.3

20 Oct 22:08

Choose a tag to compare

Cleared intervals and animation frames before starting.
Updated the instrument construction to ignore added properties to Object,prototype.
Added a getFrame method to PlayableMusic.
Made PlayableNote.type store the instrument name.
Patched bug involving sustained notes not played properly.
Added asynchronous construction of PlayableMusic: PlayableMusic.async_construction, as constructing lots of it can be very expensive.
Added MusicPlayer.addSong and MusicPlayer.addSongs syntactic sugar to add songs easily.
MusicPlayer.getTimeData would be deprecated soon.
MusicPlayer.toString returns "[Object MusicPlayer]".

KA HTML Audio v2.0.1

07 Oct 12:20

Choose a tag to compare

Fixed a couple of bugs:

Shuffling would now make the songs run from the top of the shuffle.

Playing all the songs would now start at the beginning of the next song.

Length of song is rounded to nearest millisecond.

A bug involving the last note not being played was fixed.

KA HTML Audio v2.0.0

06 Oct 12:05

Choose a tag to compare

This release should be stable for use.
Documentation should be generated for general-purpose use.