Skip to content

Releases: chrisweb/waveform-visualizer

v4.1.2

16 Nov 18:45
Compare
Choose a tag to compare
  • shorten the code of the callback call for click event(s)
  • fixed the visualizer example to show how to get the 2d caontext of the waveform (to be able to re-use it)

v4.1.1

09 Sep 01:51
Compare
Choose a tag to compare
  • fix js scope bug in event listener code (that I introduced in v4.1.0)

v4.1.0

09 Sep 01:26
Compare
Choose a tag to compare
  • added a destroy method to the waveform class, call it when the waveform is not being used anymore to remove the click listener

v4.0.0

07 Sep 20:49
Compare
Choose a tag to compare
  • all color options now accept a canvas fillstyle value (a hex or rgb(a) color, a canvas gradient or a canvas pattern) and got renamed accordingly, check out the readme for details about fill style values
  • fixed a bug where default layout options would not be overwritten by new options
  • the click callback interface got renamed to IWaveClickCallback for consistency
  • the core options interface got renamed to IWaveCoreOptions for consistency
  • updated the example to the reflect the changes mentioned above and make use of the new fill style

v3.0.1

18 Mar 15:24
Compare
Choose a tag to compare
  • eslint-plugin-import dependency update, to fix JSON5 related CVE-2022-46175

v3.0.0

11 Jan 19:23
f51de80
Compare
Choose a tag to compare
  • updated dependencies and removed UMD support, this and future versions will be ESM only

v2.0.0

20 Sep 20:41
Compare
Choose a tag to compare

completly rewritten and improved version of the waveform visualizer, using typescript, with a working example using the audio player https://www.npmjs.com/package/web-audio-api-player and date generated using https://github.com/chrisweb/waveform-data-generator

v0.3.2

28 Jul 18:51
Compare
Choose a tag to compare
refactoring