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

Wave-class

Class Wave


Description

Class “Wave”.

Details

The class definition has been extended in tuneR version 1.0-0. Saved objects of class Wave generated with former versions can be updated with updateWave to match the new definition.

Objects from the Class

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

Slots

left:

Object of class "numeric" representing the left channel.

right:

Object of class "numeric" representing the right channel, NULL if mono.

stereo:

Object of class "logical" indicating whether this is a stereo (two channels) or mono representation.

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)

See Also

Wave, updateWave, and for multi channel Wave files see WaveMC-class


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.