Skip to content

Loudness is computed in a wrong way #31

Description

@nielsrolf

Hello,
Some time ago, I noticed a bug in compute_loudness in magenta/ddsp, and I think this repo has a similar issue. Below is the loudness curve extracted for a sine wave with pitch interpolating linearly between 100Hz to 4000Hz
image
Here is a notebook that compared the magenta/ddsp loudness, the proposed fix and the loudness as computed by this repo. I would be happy to create a pull request if you agree that this should be fixed.
Here is a colab notebook that generated the graph above

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions