equalWave: Checking Wave objects

equalWaveR Documentation

Checking Wave objects

Description

Internal S4 generic function that checks for some kind of equality of objects of class Wave or class WaveMC.

Usage

equalWave(object1, object2)

Arguments

object1, object2

Object(s) of class Wave or class WaveMC (both of the same class).

Value

Does not return anything. It stops code execution with an error message indicating the problem if the objects are not of the same class (either Wave oder WaveMC) or if the two objects don't have the same properties, i.e. identical sampling rate, resolution (bit), and number of channels (for WaveMC, resp. stereo/mono for Wave).

Author(s)

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

See Also

Wave-class, Wave, WaveMC-class, WaveMC


tuneR documentation built on Nov. 27, 2023, 5:11 p.m.

Related to equalWave in tuneR...