version 4.0.0-beta.4 #42
Locked
hvianna
announced in
Announcements
Replies: 1 comment 2 replies
-
The demo pen has been updated to show the new dual channel combined spectrum by default: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's new:
🚨 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 bar's center frequency.The range of each bar has also changed from version 3.6.0, with frequencies that were previously at the lower edge (
freqLo
) now placed at the center.Added:
in 4.0.0-beta.4:
channelLayout
property - adds option for dual channel combined spectrum, with both channel graphs overlaid;gradientLeft
andgradientRight
properties - allow to select different gradients for each channel;stereo
property has been DEPRECATED - usechannelLayout
instead.in 4.0.0-beta.3:
frequencyScale
property - adds linear and perceptual (Bark/Mel) frequency scales (thanks @TF3RDL);isBandsMode
read-only property.in 4.0.0-beta.1:
linearBoost
property - amplify low energy values when using linear amplitude;weightingFilter
property - select from five different weighting filters for improved spectrum visualization.in 4.0.0-beta.0:
ansiBands
property - use ANSI/IEC preferred frequencies for the octave bands (thanks @jonathan-annett);linearAmplitude
property - use linear values instead of dB for spectrum amplitudes (thanks @TF3RDL);noteLabels
property - display musical note labels instead of frequency values on the X axis.Fixed:
reflexRatio
> 0.Changed and improved:
splitGradient
now works for horizontal gradients inradial
visualization;(default) or the ANSI standard bands (
ansiBands == true
), to properly match the octave bands center frequencies;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.4.
Beta Was this translation helpful? Give feedback.
All reactions