Description Usage Arguments Details Value Examples
Internal soundgen function.
| 1 | medianSmoother(df, smoothing_ww, smoothingThres)
 | 
| df | dataframe (each column is processed separately, so multiple contours can be fed into this function at once to speed things up) | 
| smoothing_ww | width of smoothing window (points) | 
| smoothingThres | tolerated deviance from moving median (semitones) | 
Internal helper function for smoothing pitch contours or other contours. Only outliers are modified, so it's not like smoothing with a kernel. NB: the expected input is pitch, so deviance is calculated on a log-scale.
Returns a dataframe of the same dimensions as df.
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.