find_wav_path

polyglotdb.io.helper.find_wav_path(path)[source]

Find a sound file for a given file, by looking for a .wav file with the same base name as the given path

Parameters:
pathstr

Full path to an annotation file

Returns:
str or None

Full path of the wav file if it exists or None if it does not