You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
Hi! Thanks for the issue ! About the PR, sure! Most of the preprocessing stuff is heavily inspired from the original repo so I guess it could use a fix !
Do you prefer to keep the loudness computation in librosa/numpy over doing it in torch as well? I imagine there could be cases where you'd like to backpropagate through this, for example when you do self-supervised training like in the inv-DDSP paper (although that particular model does not use compute_loudness at all).
nielsrolf
added a commit
to nielsrolf/ddsp_pytorch
that referenced
this issue
Nov 26, 2021
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 4000HzHere 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
The text was updated successfully, but these errors were encountered: