Skip to content

Commit

Permalink
Bump version; update changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
hvianna committed May 12, 2024
1 parent 9382f3c commit b7bdf77
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Changelog
=========

## version 4.5.0 (2024-05-12)

### Added: <!-- {docsify-ignore} -->

+ [`fadePeaks`](README.md#fadepeaks-boolean) - peaks fade out instead of falling down - thanks **@TF3RDL** for this [idea](https://codepen.io/TF3RDL/pen/MWLzPoO);
+ [`gravity`](README.md#gravity-number) - customize peak drop acceleration;
+ [`peakFadeTime`](README.md#peakfadetime-number) - customize peak fade-out time;
+ [`peakHoldTime`](README.md#peakholdtime-number) - customize peak hold time;
+ UMD module export - allows using the module via _require()_ and provides a global variable for easier usage in the browser - thanks **@shahkashani** for the suggestion ([#71](https://github.com/hvianna/audioMotion-analyzer/issues/71) and [#72](https://github.com/hvianna/audioMotion-analyzer/issues/72));
**see the [Usage](README.md#usage) section for more details.**

The new gravity equation restores the original peak drop behavior and decay curve (using the default value) of versions 1.0.0 through 3.4.0.
Check out the [peak drop analysis tool](/tools/peak-drop.html) for more information on the evolution of the equation and to compare different values of `gravity`.

As usual, you can interact with all the new properties in the [fluid demo](/demo/fluid.html).


## version 4.4.0 (2024-01-26)

### Added: <!-- {docsify-ignore} -->
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "audiomotion-analyzer",
"description": "High-resolution real-time graphic audio spectrum analyzer JavaScript module with no dependencies.",
"version": "4.5.0-beta.0",
"version": "4.5.0",
"main": "./dist/index.js",
"module": "./src/audioMotion-analyzer.js",
"types": "./src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/audioMotion-analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
* audioMotion-analyzer
* High-resolution real-time graphic audio spectrum analyzer JS module
*
* @version 4.5.0-beta.0
* @version 4.5.0
* @author Henrique Avila Vianna <[email protected]> <https://henriquevianna.com>
* @license AGPL-3.0-or-later
*/

const VERSION = '4.5.0-beta.0';
const VERSION = '4.5.0';

// internal constants
const PI = Math.PI,
Expand Down

0 comments on commit b7bdf77

Please sign in to comment.