Perform critical band analysis (see PLP), which means the reduction of the
fourier frequencies of a signal's powerspectrum to a reduced number of frequency
bands in an auditory frequency scale.

Matrix with the auditory spectrum of each time frame in its columns.

wts

Weight matrix for the frequency band conversion.

Arguments

pspectrum

Output of powspec, matrix with the powerspectrum of each time frame in its columns.

sr

Sample rate of the original recording.

nfilts

Number of filters/frequency bins in the auditory frequency scale.

fbtype

Used auditory frequency scale.

minfreq

Lowest frequency.

maxfreq

Highest frequency.

sumpower

If sumpower = TRUE, the frequency scale transformation is based on the
powerspectrum, if sumpower = FALSE, it is based on its squareroot (absolute value of the spectrum) and
squared afterwards.