powered by
Calculate the deltas (derivatives) of a sequence of features using a w-point window with a simple linear slope.
deltas(x, w = 9)
Returns a matrix of the delta features (one column per frame).
Matrix of features. Every column represents one time frame. Each row is filtered separately.
Window width (usually odd).
Sebastian Krey krey@statistik.tu-dortmund.de
This function mirrors the delta calculation performed in HTKs ‘feacalc’.
Daniel P. W. Ellis: https://www.ee.columbia.edu/~dpwe/resources/matlab/rastamat/
testsound <- normalize(sine(400) + sine(1000) + square(250), "16") m <- melfcc(testsound, frames_in_rows=FALSE) d <- deltas(m)
Run the code above in your browser using DataLab