roughness_vass: Spectral roughness (Vassilakis)

roughness_vassR Documentation

Spectral roughness (Vassilakis)

Description

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

Usage

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/incon documentation built on Feb. 12, 2024, 3:18 a.m.