diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 21:28:58 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 21:28:58 +0100 |
| commit | 99e94d18ce54d1ad73c7c0349119d4cd8fb4f965 (patch) | |
| tree | e39536f70a9ff62cc42315ecb1fb5397ccf762b8 /scripts | |
| parent | fbdfa2a7b54894a565fd57d5e27f19d752fe39fa (diff) | |
feat(mq_editor): peaks display, STFT cache refactor, threshold reactivity
- STFTCache: cache squaredAmplitude (re²+im²) per frame, add getSquaredAmplitude(t)
- getMagnitudeDB uses cached sq amp (10*log10, no sqrt)
- detectPeaks uses squaredAmp from cache instead of recomputing FFT
- extractPartials: use cache frames, return {partials, frames}
- Press 'p' to toggle raw peak overlay in viewer
- threshold input: step=any, change event triggers re-extraction
- runExtraction() shared by button and threshold change
handoff(Claude): mq_partial peaks/cache refactor complete
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
