_read_wav(filename, headonly=False, **kwargs)[source]

Reads a audio WAV file and returns an ObsPy Stream object.

Currently supports uncompressed unsigned char and short integer and integer data values. This should cover most WAV files.


This function should NOT be called directly, it registers via the ObsPy read() function, call this instead.

Parameters:filename (str) Audio WAV file to be read.
Return type:Stream
Returns:A ObsPy Stream object.


>>> from obspy import read
>>> st = read("/path/to/3cssan.near.8.1.RNON.wav")
>>> print(st) 
1 Trace(s) in Stream:
... | 1970-01-01T00:00:00.000000Z - 1970-01-01T00:00:00.371143Z
| 7000.0 Hz, 2599 samples