Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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)


tuneR

Analysis of Music and Speech

v1.3.3
GPL-2 | GPL-3
Authors
Uwe Ligges <ligges@statistik.tu-dortmund.de> with contributions from Sebastian Krey, Olaf Mersmann, Sarah Schnackenberg, Guillaume Guenard, Andrea Preusser, Anita Thieler, Johanna Mielke and Claus Weihs, as well as code fragments and ideas from the former package 'sound' by Matthias Heymann and functions from 'rastamat' by Daniel P. W. Ellis. The included parts of the libmad MPEG audio decoder library are authored by Underbit Technologies.
Initial release
2018-07-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.