Percentage error for two tempi values allowing the factors 1, 2, 3, 1/2, and 1/3 with the smallest absolute value. If an estimate of None is given, this function returns NaN.
See also pe1.
pe1
reference_tempo (float) – a references tempo, must not be 0
float
estimated_tempo (Optional[float]) – an estimated tempo
Optional
the percentage error for the factors 1, 2, 3, 1/2, and 1/3 with the smallest absolute value