Learn R Programming

tuneR (version 1.4.7)

smoother: Meta Function for Smoothers

Description

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

Usage

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

Value

The smoothed series of notes.

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).