What is the rationale behind the constant 1997.3794084376191 in function
to_local_average_cents.cents_mapping = (
np.linspace(0, 7180, 360) + 1997.3794084376191)
For the first bin cents = 1997.3794084376191.
The frequency for for the first bin is computed as frequency = 10 * 2 ** (cents / 1200)
This gives 31.7 Hz. That is somwhere between B0 (30.86771 Hz) and C1 (32.70320 Hz)