Commit graph

2 commits

Author SHA1 Message Date
Chigozirim Igweamaka
e3a35ef1eb fix(spectrogram): correct STFT and peak extraction algorithm
- Fix frame calculation with proper sliding window iteration
- Change hop size to windowSize/2 for 50% overlap
- Return magnitude spectrum instead of complex values
- Fix Peak time/frequency calculations using proper frame-based indexing
- Add Hz conversion using frequency resolution
- Remove incorrect frequency-based time calculations
2025-11-19 16:47:01 +01:00
Chigozirim Igweamaka
8ea5a7a25b Restructure project: Move server-side files to a dedicated 'server' directory 2025-04-07 02:27:59 +01:00
Renamed from shazam/spectrogram.go (Browse further)