deltas: Calculate delta features

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculate the deltas (derivatives) of a sequence of features using a w-point window with a simple linear slope.

Usage

1
deltas(x, w = 9)

Arguments

x

Matrix of features. Every column represents one time frame. Each row is filtered separately.

w

Window width (usually odd).

Details

This function mirrors the delta calculation performed in HTKs ‘feacalc’.

Value

Returns a matrix of the delta features (one column per frame).

Author(s)

Sebastian Krey krey@statistik.tu-dortmund.de

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)
  d <- deltas(m)

tlevine/tuneR documentation built on May 31, 2019, 3:52 p.m.