Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lifter

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, …, nrow(x) liftering. If htk = TRUE, then perform HTK-style sin-curve liftering with length lift.

Value

Matrix of the liftered cepstra.

Author(s)

References

Examples

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

tuneR

Analysis of Music and Speech

v1.3.3
GPL-2 | GPL-3
Authors
Uwe Ligges <ligges@statistik.tu-dortmund.de> with contributions from Sebastian Krey, Olaf Mersmann, Sarah Schnackenberg, Guillaume Guenard, Andrea Preusser, Anita Thieler, Johanna Mielke and Claus Weihs, as well as code fragments and ideas from the former package 'sound' by Matthias Heymann and functions from 'rastamat' by Daniel P. W. Ellis. The included parts of the libmad MPEG audio decoder library are authored by Underbit Technologies.
Initial release
2018-07-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.