apply_weight_func

ketos.audio.gammatone.apply_weight_func(x, freqs)[source]

Apply C weighting function.

This weighting function represents the approximate frequency sensitivity of the human auditory system.

Args:
x: numpy.array

The filtered signals

freqs: numpy.array

Center frequencies of the filter bank

Returns:
x: numpy.array

The C-weighted filtered signals