lifter: Liftering of cepstra

Description Usage Arguments Details Value Author(s) References Examples

View source: R/lifter.R

Description

Apply liftering to a matrix of cepstra.

Usage

1
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, …, 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 [email protected]

References

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

Examples

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

tlevine/tuneR documentation built on May 27, 2017, 10:39 a.m.