MCPcopy Create free account
hub / github.com/Xflick/EEND_PyTorch / load_wav

Function load_wav

eend/kaldi_data.py:60–83  ·  view source on GitHub ↗

This function reads audio file and return data in numpy.float32 array. "lru_cache" holds recently loaded audio so that can be called many times on the same audio file. OPTIMIZE: controls lru_cache size for random access, considering memory size

(wav_rxfilename, start=0, end=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

extract_segmentsFunction · 0.85
load_wavMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected