findGrad: Find gradient

Description Usage Arguments Details Value

View source: R/utilities_pitch_postprocessing.R

Description

Internal soundgen function.

Usage

1
findGrad(path, interpol = 3)

Arguments

path

numeric vector

interpol

the number of points to interpolate beyond each end of the path

Details

Internal helper function for postprocessing of pitch contour. Returns the elastic force acting on a snake. See snake.

Value

Returns a vector of the same length as input path giving its 4th derivative.


tatters/soundgen_beta documentation built on May 14, 2019, 9 a.m.