dlpy.speech_utils.check_framerate

dlpy.speech_utils.check_framerate(params, framerate)

Check if the input audio has the desired framerate (sampling rate).

Parameters:
params : class

Specifies the original parameters of the audio.

framerate : int

Specifies the desired framerate.

Returns:
Boolean

Whether the input audio has the desired framerate (True) or not (False).