mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 17:04:22 +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
|
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 {
|
func ExtractPeaks(spectrogram [][]complex128, audioDuration float64) []Peak {
|
||||||
if len(spectrogram) < 1 {
|
if len(spectrogram) < 1 {
|
||||||
return []Peak{}
|
return []Peak{}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue