lifter: Liftering of cepstra

View source: R/lifter.R

lifterR Documentation

Liftering of cepstra

Description

Apply liftering to a matrix of cepstra.

Usage

lifter(x, lift = 0.6, inv = FALSE, htk = FALSE)

Arguments

x

Matrix of cepstra, one sample/time frame per column.

lift

Liftering exponent/length.

inv

Invert the liftering (undo a previous liftering).

htk

Switch liftering type.

Details

If htk = FALSE, then perform x i^lift, i = 1, \ldots, nrow(x) liftering. If htk = TRUE, then perform HTK-style sin-curve liftering with length lift.

Value

Matrix of the liftered cepstra.

Author(s)

Sebastian Krey krey@statistik.tu-dortmund.de

References

Daniel P. W. Ellis: https://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/

Examples

  testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
  m <- melfcc(testsound, frames_in_rows=FALSE)
  unlm <- lifter(m, inv=TRUE)

tuneR documentation built on May 29, 2024, 11:28 a.m.

Related to lifter in tuneR...