equalWave

0th

Percentile

Checking Wave objects

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

Keywords
utilities, error
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).

Wave-class, Wave, WaveMC-class, WaveMC