Skip to content

MagnitudeToDecibel Incorrect Scaling Constant #143

@daniel-deychakiwsky

Description

@daniel-deychakiwsky

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?

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