Optimize the code for calculating the size of overlapping sections during spectrum resampling #3847
shellRaining
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
Pull requests are welcome. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/katspaugh/wavesurfer.js/blob/main/src/plugins/spectrogram.ts#L732-L736
The code in these lines seems to have some redundant calculations that can be simplified
Beta Was this translation helpful? Give feedback.
All reactions