Wave-class

0th

Percentile

Class Wave

Class “Wave”.

Keywords
classes
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.

See Also

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

Aliases
  • Wave-class
Documentation reproduced from package tuneR, version 1.3.3, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.