bundles / scipy 1.17.1 / scipy / io / wavfile / _read_fmt_chunk
function
scipy.io.wavfile:_read_fmt_chunk
source: /scipy/io/wavfile.py :368
Signature
def _read_fmt_chunk ( fid , is_big_endian ) Returns
size: intsize of format subchunk in bytes (minus 8 for "fmt " and itself)
format_tag: intPCM, float, or compressed format
channels: intnumber of channels
fs: intsampling frequency in samples per second
bytes_per_second: intoverall byte rate for the file
block_align: intbytes per sample, including all channels
bit_depth: intbits per sample
Notes
Assumes file pointer is immediately after the 'fmt ' id
Aliases
-
scipy.io.wavfile._read_fmt_chunk