version 4.0.0-beta.5 #43
Locked
hvianna
announced in
Announcements
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's new:
New in 4.0.0-beta.5:
channelLayoutmodes changed from camelCase to hyphen-separated words;overlaydisplay in dual-combined channel layout;🚨 v4 BREAKING CHANGES:
Removed deprecated properties:
- useenergygetEnergy()instead- useisLedDisplayisLedBarsinstead- usepeakEnergygetEnergy('peak')instead- useshowLedsledBarsinsteadgetBars()elements now contain an extrafreqproperty (potentially breaking in TypeScript projects), which represents the band's center frequency. The range of each band has also changed - frequencies that were previously at the lower edge (freqLo) are now placed at the center of the band.Also,
stereohas been DEPRECATED and should be removed in version 5 - usechannelLayoutinstead.Added:
ansiBands- use ANSI/IEC preferred frequencies for the octave bands;channelLayout- adds option for dual channel combined spectrum, with both channel graphs overlaid;frequencyScale- adds linear and perceptual (Bark/Mel) frequency scales;gradientLeftandgradientRight- allow to select different gradients for each channel;isBandsModeread-only property;linearAmplitude- use linear values instead of dB for spectrum amplitudes;linearBoost- amplify low energy values when using linear amplitude;noteLabels- display musical note labels instead of frequency values on the X axis;weightingFilter- select from five different weighting filters for improved spectrum visualization.Thank you @jonathan-annett (#28) and @TF3RDL (#30 and #38) for the suggestions that led to the implementation of several of these new features.
Fixed:
reflexRatio> 0.Changed and improved:
ansiBands, to properly match the bands' center frequencies;splitGradientnow works for horizontal gradients inradialvisualization;maxFreqis now capped to half the AudioContext's sample rate (Nyquist frequency);This discussion was created from the release version 4.0.0-beta.5.
Beta Was this translation helpful? Give feedback.
All reactions