version 4.0.0-beta.5 #43
Locked
hvianna
announced in
Announcements
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's new:
New in 4.0.0-beta.5:
channelLayout
modes changed from camelCase to hyphen-separated words;overlay
display in dual-combined channel layout;🚨 v4 BREAKING CHANGES:
Removed deprecated properties:
- useenergy
getEnergy()
instead- useisLedDisplay
isLedBars
instead- usepeakEnergy
getEnergy('peak')
instead- useshowLeds
ledBars
insteadgetBars()
elements now contain an extrafreq
property (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,
stereo
has been DEPRECATED and should be removed in version 5 - usechannelLayout
instead.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;gradientLeft
andgradientRight
- allow to select different gradients for each channel;isBandsMode
read-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;splitGradient
now works for horizontal gradients inradial
visualization;maxFreq
is 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