filter_signal

ketos.audio.gammatone.filter_signal(signal, sampl_rate, freqs)[source]

Pass the signal through the gammatone filters

Args:
signal: numpy.array

Audio signal

sampl_rate: float

Sampling rate in Hz

freqs: numpy.array

Center frequencies of the filter bank

Returns:
x: numpy.array

The filtered signals stacked vertically into 2D array