Skip to content

version 3.2.0

Compare
Choose a tag to compare
@hvianna hvianna released this 03 Apr 17:41
· 286 commits to master since this release

What's new:

Added:

Improvements:

  • When passing an AudioNode in the source property of constructor, it's no longer necessary to explicitly provide the audioCtx, as it will be inferred from the source node - thanks @evoyy for this idea;
  • Disconnecting the output from the speakers no longer prevents the analyzer from working on Chromium-based browsers;
  • Expose the GradientOptions TypeScript interface for user scripts (props to @Staijn1);
  • Improved the look of the LEDs effect in very small containers (like in the multi-instance demo), especially when loRes is active;
  • Refactored some code for improved legibility, performance and file size (still below 20kB minified! 😎);
  • Added compatibility with standardized-audio-context library - thanks @richclingman for reporting this issue.

Changed:

  • energy and peakEnergy properties have been deprecated and will be removed in the next major release - use getEnergy() and getEnergy('peak') instead;
  • FPS display font size is now scaled relatively to the canvas height;
  • pixelRatio is now correctly reported for HiDPI devices with screen height <= 1080px.