Window functions
Several common windows function generators. The functions return a vector of weights to use in read_audio_fft.
hanning(n) hamming(n) blackman(n) bartlett(n) welch(n) flattop(n) bharris(n) bnuttall(n) sine(n) nuttall(n) bhann(n) lanczos(n) gauss(n) tukey(n) dolph(n) cauchy(n) parzen(n) bohman(n)
n |
size of the window (number of weights to generate) |
# Window functions plot(hanning(1024), type = 'l', xlab = 'window', ylab = 'weight') lines(hamming(1024), type = 'l', col = 'red') lines(bartlett(1024), type = 'l', col = 'blue') lines(welch(1024), type = 'l', col = 'purple') lines(flattop(1024), type = 'l', col = 'darkgreen')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.