mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Update comment
This commit is contained in:
parent
783c81ae0f
commit
e459099775
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ type Peak struct {
|
|||
Freq complex128
|
||||
}
|
||||
|
||||
// ExtractPeaks extracts peaks from a spectrogram based on a specified algorithm
|
||||
// ExtractPeaks analyzes a spectrogram and extracts significant peaks in the frequency domain over time.
|
||||
func ExtractPeaks(spectrogram [][]complex128, audioDuration float64) []Peak {
|
||||
if len(spectrogram) < 1 {
|
||||
return []Peak{}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue