tempo_eval.is_mirex_style

tempo_eval.is_mirex_style(t)[source]

Does the given tempo have MIREX style, i.e., (t1, t2, s1) with t1 and t2 not equal to 0 and s1 neither 0 or 1. Returns False for values equal to or less than 0 and greater than 5000. The upper bound is chosen somewhat arbitrarily. Note that a value like (0, 100, 0) is not good enough.

Parameters

t (Union[Any, Tuple[float, float, float], float]) – tempo list-like object

Returns

True or False

Return type

bool