|
|
|
|
|
by severino
806 days ago
|
|
I took a look at the source, as I was curious about how does one perform a FFT of a signal, but stumbled upon this. Could somebody explain to me what this calculation does? (in is the audio signal, if I'm not wrong) window := make([]float64, len(in))
for i, x := range in {
window[i] = float64(x) * (0.54 - 0.46*math.Cos(2*math.Pi*float64(i)/float64(len(in)-1)))
Thanks |
|