Skip to content

Incorrect input data for librosa.feature.inverse.mel_to_stft#28

Open
magicse wants to merge 3 commits intoebadawy:masterfrom
magicse:master
Open

Incorrect input data for librosa.feature.inverse.mel_to_stft#28
magicse wants to merge 3 commits intoebadawy:masterfrom
magicse:master

Conversation

@magicse
Copy link
Copy Markdown
Contributor

@magicse magicse commented Apr 2, 2023

Incorrect input data due to which the restored sound contains overtones of vibration and distortion.
The librosa.feature.inverse.mel_to_stft function takes as input not the amplitude (magnitude) but the power value.
Accordingly, the formula for power looks like this
power = magnitude ^ 2

magicse added 3 commits April 2, 2023 13:37
Incorrect input data due to which the restored sound contains overtones of vibration and distortion. 
The librosa.feature.inverse.mel_to_stft function takes as input not the amplitude (magnitude) but the power value. 
Accordingly, the formula for power looks like this 
power = magnitude ^ 2
change name amp_mel to pow_mel
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

Successfully merging this pull request may close these issues.

1 participant