tuneR (version 1.3.2)

Wave-class: Class Wave

Description

Class “Wave”.

Arguments

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.

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.

See Also

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