postaud

0th

Percentile

Equal loudness compression

Do loudness equalization and cube root compression

Usage
postaud(x, fmax, fbtype = c("bark", "mel", "htkmel", "fcmel"), 
    broaden = FALSE)
Arguments
x

Matrix of spectra (output of audspec).

fmax

Maximum frequency im Hertz.

fbtype

Auditory frequency scale.

broaden

Use two additional frequency bands for calculation.

Value

x

Matrix of the per sample/frame (columns) spectra after applying the frequency dependant loudness equalization and compression.

eql

Vector of the equal loudness curve.

References

Daniel P. W. Ellis http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/, Hynek Hermansky

See Also

audspec, dolpc

Aliases
  • postaud
Examples
# NOT RUN {
  testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
  pspectrum <- powspec(testsound@left, testsound@samp.rate)
  aspectrum <- audspec(pspectrum, testsound@samp.rate)
  paspectrum <- postaud(x = aspectrum$aspectrum, fmax = 5000, 
    fbtype = "mel")
# }
Documentation reproduced from package tuneR, version 1.3.3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.