Wave-class: Class Wave

Description Details Objects from the Class Slots Author(s) See Also

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)

Uwe Ligges ligges@statistik.tu-dortmund.de

See Also

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


tuneR documentation built on May 2, 2019, 6:15 p.m.

Related to Wave-class in tuneR...