Skip to content

fix(Spectrogram): optimize zooming by caching frequencies data#4118

Merged
katspaugh merged 1 commit intomainfrom
codex/optimize-zoom-performance-with-caching
Jun 24, 2025
Merged

fix(Spectrogram): optimize zooming by caching frequencies data#4118
katspaugh merged 1 commit intomainfrom
codex/optimize-zoom-performance-with-caching

Conversation

@katspaugh
Copy link
Owner

@katspaugh katspaugh commented Jun 24, 2025

Short description

Resolves #4079

Implementation details

  • reset cached buffer and frequencies on decode event
  • clear cached data on plugin destroy

How to test it

  • yarn lint

Screenshots

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

https://chatgpt.com/codex/tasks/task_b_685aa55a94f8832faa0881417b46ba71

@katspaugh katspaugh changed the title fix(Spectrogram): clear cached frequencies fix(Spectrogram): optimize zooming by caching frequencies data Jun 24, 2025
@katspaugh katspaugh merged commit 2dd17d1 into main Jun 24, 2025
6 checks passed
@katspaugh katspaugh deleted the codex/optimize-zoom-performance-with-caching branch June 24, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wavesurfer zoom with Spectrogram plugin causes rendering lag

1 participant