get Filter Banks
fun getFilterBanks( nFilt: Int = 20, nfft: Int = 512, sampleRate: Int = 16000, lowFreq: Int = 0, highFreqIn: Int? = null): Array<FloatArray>
Content copied to clipboard
Compute a Mel-filterbank. The filters are stored in the rows, the columns correspond to fft bins. The filters are returned as an array of size nfilt * (nfft/2 + 1)
Return
An array of size nfilt * (nfft/2 + 1) containing filterbank. Each row holds 1 filter.
Parameters
n Filt
the number of filters in the filterbank, default 20.
nfft
the FFT size. Default is 512.
sample Rate
the samplerate of the signal we are working with. Affects mel spacing.
low Freq
lowest band edge of mel filters, default 0 Hz
high Freq In
highest band edge of mel filters, default samplerate/2