Meta Function for Smoothers

Description

Apply a smoother to estimated notes. Currently, only a running median (using decmedian in package pastecs) is available.

Usage

1
smoother(notes, method = "median", order = 4, times = 2)

Arguments

notes

Series of notes, a vector of integers such as returned by noteFromFF.

method

Currently, only a running 'median' (using decmedian in package pastecs) is available.

order

The window used for the running median corresponds to 2*order + 1.

times

The number of times the running median is applied (default: 2).

Value

The smoothed series of notes.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.