Checking Wave objects

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.