Skip to content

Where does 1997.3794084376191 come from? #93

@scorio-dev

Description

@scorio-dev

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions