deltas | R Documentation |
Calculate the deltas (derivatives) of a sequence of features using a w-point window with a simple linear slope.
deltas(x, w = 9)
x |
Matrix of features. Every column represents one time frame. Each row is filtered separately. |
w |
Window width (usually odd). |
This function mirrors the delta calculation performed in HTKs ‘feacalc’.
Returns a matrix of the delta features (one column per frame).
Sebastian Krey krey@statistik.tu-dortmund.de
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.