roughness_vass: Spectral roughness (Vassilakis)

Description Usage Arguments Value References

View source: R/vassilakis.R

Description

Gets the roughness of a sonority according to the model of \insertCiteVassilakis2001;textualdycon \insertCiteVillegas2010;textualdycon

Usage

1
2
3
4
5
6
7
roughness_vass(x, ...)

## Default S3 method:
roughness_vass(x, ...)

## S3 method for class 'sparse_fr_spectrum'
roughness_vass(x, ...)

Arguments

x

Object to analyse, which is coerced to the class sparse_fr_spectrum.

  • Numeric vectors will be treated as vectors of MIDI note numbers, and expanded into their implied harmonics.

  • Two-element lists will be treated as finalised spectra, with the first element being a numeric vector of frequencies, and the second element being a numeric vector of amplitudes.

...

Further arguments to pass to sparse_fr_spectrum.

Value

Estimated roughness, as a numeric scalar.

References

\insertAllCited
pmcharrison/dycon documentation built on June 28, 2021, 4:46 p.m.