https://github.com/cran/tuneR
Revision f6977c3ef8ea48eff4bc888c56c75a1b0abd2bf8 authored by Uwe Ligges on 29 June 2010, 00:00:00 UTC, committed by Gabor Csardi on 29 June 2010, 00:00:00 UTC
1 parent 55a1962
Raw File
Tip revision: f6977c3ef8ea48eff4bc888c56c75a1b0abd2bf8 authored by Uwe Ligges on 29 June 2010, 00:00:00 UTC
version 0.4-0
Tip revision: f6977c3
lifter.Rd
\name{lifter}
\alias{lifter}
\title{ Liftering of cepstra }
\description{
   Apply liftering to a matrix of cepstra.
}
\usage{
lifter(x, lift = 0.6, inv = FALSE, htk=FALSE)
}
\arguments{
  \item{x}{ Matrix of cepstra, one sample/time frame per column. }
  \item{lift}{ Liftering exponent/length. }
  \item{inv}{ Invert the liftering (undo a previous liftering). }
  \item{htk}{ Switch liftering type. }
}
\details{
 If \code{htk=FALSE}, then perform \eqn{x i^lift}, \eqn{i = 1, ldots, nrow(x)}
liftering. If \code{htk=TRUE}, then perform HTK-style sin-curve
liftering with length \code{lift}.
}
\value{
Matrix of the liftered cepstra.
}
\references{Daniel P. W. Ellis: \url{http://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/} }
\author{ Sebastian Krey \email{krey@statistik.tu-dortmund.de} }
\examples{
  testsound <- normalize(sine(400) + sine(1000) + square(250), "16")
  m <- melfcc(testsound, frames_in_rows=FALSE)
  unlm <- lifter(m, inv=TRUE)
}
\concept{ liftering }
back to top