obspy.wav.core.isWAV

isWAV(filename)[source]

Checks whether a file is a audio WAV file or not.

Parameters:filename (str) Name of the audio WAV file to be checked.
Return type:bool
Returns:True if a WAV file.

Example

>>> isWAV("/path/to/3cssan.near.8.1.RNON.wav")  
True