tempo_eval.is_single_bpm

tempo_eval.is_single_bpm(t)[source]

Is the given tempo a plausible BPM value? Returns False for values less than 0 and greater than 5000. The upper bound is chosen somewhat arbitrarily.

Parameters

t (Union[Any, Tuple[float, float, float], float]) – tempo

Returns

True or False

Return type

bool