Learn R Programming

tuneR (version 0.2-6)

Wspec-class: 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 object. Redundancy (e.g. same frequencies in each of the periodograms) will be omitted, hence reducing memory consumption.

Arguments

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.

concept

  • periodogram
  • spectrum
  • music
  • speech
  • Wave

Details

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

See Also

  • theshow,plotandsummarymethods,
  • for the constructor function and some examples:periodogram(and hence alsospec.pgramandWave)
  • WspecMatfor a similar class that represents the spectrum in form of a matrix.