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

WaveMC-class

Class WaveMC


Description

Class “WaveMC”.

Details

This class has been added in tuneR version 1.0-0 for representation and construction of multi channel Wave files. Objects of class Wave can be transformed to the new class definition by calls of the form as(..., "WaveMC"). Coercion from the WaveMC class to the Wave-class works via as(..., "Wave") if there are no more than 2 channels. Coercing back to the Wave-class can be useful since some (very few) functions cannot yet deal with multi channel Wave objects.

Note that also the Wave-class definition has been extended in tuneR version 1.0-0. For more details see Wave-class.

Objects from the Class

Objects can be created by calls of the form new("WaveMC", ...), or more conveniently using the function WaveMC.

Slots

.Data:

Object of class "matrix" containing numeric data, where each column is representing one channel. Column names are the appropriate way to name different channels. The data object MCnames contains a data frame of standard names for channels in multi channel Wave files.

samp.rate:

Object of class "numeric" - the sampling rate, e.g. 44100 for CD quality.

bit:

Object of class "numeric", common is 16 for CD quality, or 8 for a rather rough representation.

pcm:

Object of class "logical" indicating whether this is a PCM or IEEE_FLOAT Wave format.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg

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.