webaudio-kit-workspace@1.10.0 release:notes /home/runner/work/webaudio-kit/webaudio-kit
node scripts/release-notes.mjs v1.10.0
webaudio-kit 1.10.0
Added
- Add the
SpectrumCanvasscaleprop with"log"and"linear"modes so
frequency bars can spread across the audible range by default or read
consecutive FFT bins when needed. - Add
latencyHintandsampleRateprops toAudioProviderfor apps that need
more control over browserAudioContextcreation. - Add
FrequencySweepOptions.safetywith sustained-gain and duration caps for
runtime sweep loudness guardrails. - Expose math helpers from
@webaudio-kit/react/serverso React Server
Components can use frequency and gain helpers without crossing the client
boundary. - Add docs search, sitemap, expanded
llms.txt, a library comparison page, and
runnable CodeSandbox/Replit links alongside the existing StackBlitz examples. - Add release quality gates for coverage thresholds and bundle-size budgets.
Fixed
- Rebuild the provider runtime when a cached
AudioContexthas already closed. - Scale analyser canvas backing buffers to
devicePixelRatio, pause animation
loops while the page is hidden, and respectprefers-reduced-motion. - Cache generated noise buffers per
AudioContextinstead of rebuilding the
same noise buffer on every matching play call. - Restore persisted
useVolumeControl()gain before first paint, surface
storage write failures, and cancel pendinguseAudioTestMode()waits when
stopped. - Catch
audioContext.close()cleanup rejections during provider unmount. - Keep the public API docs, docs search index, and site API reference aligned
for the newSpectrumCanvasProps.scaleoption.