Releases: hvianna/audioMotion-analyzer
Releases · hvianna/audioMotion-analyzer
version 4.0.0-beta.1
Update changelog; bump version for beta release.
version 3.6.1
- Minor update to fix wrong property names in the
LedParameters
interface in the TS definition file; - Improved documentation of
registerGradient()
usage in TypeScript projects (#37).
version 4.0.0-beta.0
Update changelog; bump version for beta release.
version 3.6.0
What's new:
Added:
alphaBars
effect, which is similar tolumiBars
but preserves bars' amplitudes and also works on discrete frequencies mode and radial visualization;outlineBars
effect, which extends the usage oflineWidth
andfillAlpha
to octave bands modes;isAlphaBars
andisOutlineBars
read-only properties.
Changed:
showLeds
andisLedDisplay
have been deprecated in favor ofledBars
andisLedBars
, for consistent naming of effects.
Fixed:
getEnergy()
would not accept a fractionary initial frequency.
Improved:
- Regenerate the current gradient if/when it is re-registered (#21);
- The fluid demo now shows the status of read-only flags, for better visualization of interactions between different properties.
version 3.5.1
- Removed named tuples from the TS type definitions file, for improved compatibility (#20).
version 3.5.0
What's new:
Added:
getBars()
method, which provides real-time analyzer data;useCanvas
property to disable rendering to the canvas - thanks @davay42 for suggesting this feature;- A tool to view/debug the generated octave bands - see the
/tools
folder.
Improved:
- Fine-tuned generation of octave bands;
- Improved FFT data interpolation;
- Improved peak rendering when changing visualization modes;
- Added a simple piano keyboard to the test tones section of the "fluid" demo;
- Added search funcionality to the documentation website.
version 3.4.0
What's new:
Added:
fsElement
constructor option, for easily handling fullscreen on any element.
Fixed and improved:
- Fixed radial analyzer too wide in vertical containers;
- Fixed out of bounds bar in mode 0 (discrete frequencies) with
mirror
set to -1; - Improved fullscreen rendering in portrait orientation displays;
- Improved font size adjustment for scale labels and FPS display on vertical containers.
version 3.3.0
What's new:
Added:
- New horizontal mirroring effect; see
mirror
property - thanks @lexterror for suggesting this feature.
Improvements:
version 3.2.1
- Fixes an undefined property error.
version 3.2.0
What's new:
Added:
getEnergy()
method - see it in action on this pen - thanks @Staijn1 for suggesting this feature;setLedParams()
method, which allows you to customize the look of the LEDs - you can try it in the fluid demo;connectSpeakers
constructor option - thanks @evoyy for the suggestion;connectedTo
read only property.
Improvements:
- When passing an AudioNode in the
source
property of constructor, it's no longer necessary to explicitly provide theaudioCtx
, 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
andpeakEnergy
properties have been deprecated and will be removed in the next major release - usegetEnergy()
andgetEnergy('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.