This commit is contained in:
afkarxyz
2025-11-26 10:47:02 +07:00
parent 4241a591aa
commit 48f9584027
17 changed files with 537 additions and 178 deletions
-10
View File
@@ -4,7 +4,6 @@ import (
"fmt"
"math"
"math/cmplx"
"os"
"github.com/mewkiz/flac"
)
@@ -194,12 +193,3 @@ func fftRecursive(x []complex128) []complex128 {
return result
}
// GetFileSize helper
func getSpectrumFileSize(filepath string) (int64, error) {
info, err := os.Stat(filepath)
if err != nil {
return 0, err
}
return info.Size(), nil
}