Skip to content

9977 spectrogram optimizations - #10034

Merged
saintmatthieu merged 3 commits into
audacity:masterfrom
saintmatthieu:9977-spectrogram-optimizations
Dec 22, 2025
Merged

saintmatthieu merged 3 commits into
audacity:masterfrom
saintmatthieu:9977-spectrogram-optimizations

Conversation

@saintmatthieu

@saintmatthieu saintmatthieu commented Dec 9, 2025 •

Copy link
Copy Markdown
Contributor

Resolves: #9977

  • Parallelizes computation of spectrogram individual spectra, average speed up across OSs was measured to be 500%.
  • Consequently, "Apply" and "Preview" buttons, that were here because of this previous slowness, can now be removed, improving UX and simplifying code.
  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Changing a spectrogram setting in the track preferences is reflected immediately,
  • "Preview" button is gone in track spectrogram settings,
  • Changing a spectrogram setting in the global preferences is reflected immediately in the tracks with spectrogram view and whose "Use global settings" setting is ON.
  • "Cancel" button of both global preferences and track spectrogram settings restores the original settings
  • Autobot test cases have been run

@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch 19 times, most recently from 4773741 to f7c6843 Compare December 16, 2025 10:55
@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch from f7c6843 to e6919ef Compare December 16, 2025 22:30
@saintmatthieu saintmatthieu self-assigned this Dec 17, 2025
@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch from e6919ef to f67f349 Compare December 17, 2025 11:05
@saintmatthieu
saintmatthieu marked this pull request as ready for review December 17, 2025 11:05
@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch from f67f349 to 9a8d4a8 Compare December 17, 2025 16:57
@luapmartin
luapmartin self-requested a review December 18, 2025 14:04

@luapmartin luapmartin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice !from our conversation the _X got cleaned-up already and the remaining lil bug about global setting turning back on, apart from that lgtm

@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch from ba9a75c to 55b6aed Compare December 19, 2025 14:35
@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch 2 times, most recently from ffb35be to 319a5ca Compare December 22, 2025 09:43
Now performance is sufficiently good to make UX nicer and code simpler
(no need to wait for "Apply" or to implement a "Preview")
@saintmatthieu
saintmatthieu force-pushed the 9977-spectrogram-optimizations branch from 319a5ca to 48a721a Compare December 22, 2025 10:03
@saintmatthieu
saintmatthieu merged commit 4ee602e into audacity:master Dec 22, 2025
@saintmatthieu
saintmatthieu deleted the 9977-spectrogram-optimizations branch August 28, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spectrogram painting parallelization

2 participants