dcase_util.features.SpectralFeatureExtractor.get_window_function

SpectralFeatureExtractor.get_window_function(n, window_type='hamming_asymmetric')[source]

Window function

Parameters
nint

window length

window_typestr

window type Default value ‘hamming_asymmetric’

Returns
numpy.array

window function

Raises
ValueError:

Unknown window type