"""
if not (isinstance(block_length, int) and block_length > 0):
raise ParameterError("block_length={} must be a positive integer")
if not (isinstance(frame_length, int) and frame_length > 0):
raise ParameterError("frame_length={} must be a positive integer")
After Change
if not (np.issubdtype(type(block_length), np.integer) and block_length > 0):
raise ParameterError("block_length={} must be a positive integer")
if not (np.issubdtype(type(frame_length), np.integer) and frame_length > 0):
raise ParameterError("frame_length={} must be a positive integer")
if not (np.issubdtype(type(hop_length), np.integer) and hop_length > 0):
raise ParameterError("hop_length={} must be a positive integer")