You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.