Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MagnitudeToDecibel Incorrect Scaling Constant #143

Open
daniel-deychakiwsky opened this issue Mar 26, 2024 · 0 comments
Open

MagnitudeToDecibel Incorrect Scaling Constant #143

daniel-deychakiwsky opened this issue Mar 26, 2024 · 0 comments

Comments

@daniel-deychakiwsky
Copy link

Its my understanding that when converting to decibel, the scaling constant should be 20.0 for magnitude mel/specgrams and 10.0 for power mel/specgrams. It seems the Kapre implementation anticipates a magnitude mel/specgram but scales it as if it is a power mel/sepcgram. Notice that Librosa's implementation, the power_to_db function, applies a 10.0 scaling factor but anticipates a power mel/specgram. Of course, this is a difference of a scaling but thought I'd mention it here. Any thoughts on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant