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

Wspec

Class Wspec


Description

Class “Wspec” (Wave spectrums). Objects of this class represent a bunch of periodograms (see periodogram, each generated by spectrum) corresponding to one or several windows of one Wave or WaveMC object. Redundancy (e.g. same frequencies in each of the periodograms) will be omitted, hence reducing memory consumption.

Details

The subset function “[” extracts the selected elements of slots spec, starts, variance and energy and returns the other slots unchanged.

Objects from the Class

Objects can be created by calls of the form new("Wspec", ...), but regularly they will be created by calls to the function periodogram.

Slots

The following slots are defined. For details see the constructor function periodogram.

freq:

Object of class "numeric".

spec:

Object of class "list".

kernel:

Object of class "ANY".

df:

Object of class "numeric".

taper:

Object of class "numeric".

width:

Object of class "numeric".

overlap:

Object of class "numeric".

normalize:

Object of class "logical".

starts:

Object of class "numeric".

stereo:

Object of class "logical".

samp.rate:

Object of class "numeric".

variance:

Object of class "numeric".

energy:

Object of class "numeric".

Author(s)

See Also


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.