dlpy.speech_utils.check_framerate¶
-
dlpy.speech_utils.
check_framerate
(params, framerate)¶ Check if the input audio has the desired framerate (sampling rate).
- Parameters
- paramsclass
Specifies the original parameters of the audio.
- framerateint
Specifies the desired framerate.
- Returns
- Boolean
Whether the input audio has the desired framerate (True) or not (False).