pyeeg.io.extract_duration_praat

pyeeg.io.extract_duration_praat(fname)

Function to get the duration from a file generated by PrAat software, for instance to get envelope or pitch of a sound. The duration is extracted from the header of such files.

Parameters:

filepath (str) – Path of audio file

Returns:

dur – Duration of audio

Return type:

float