Mel-Cepstral-Distortion icon indicating copy to clipboard operation
Mel-Cepstral-Distortion copied to clipboard

MCD distance is not 0

Open Accomlish opened this issue 4 years ago • 5 comments

Thank you for your contribution I tried to calculate the MCD between the two identical sounds, but got a non-zero value

Accomlish avatar Oct 16 '20 09:10 Accomlish

Thank you for your contribution I tried to calculate the MCD between the two identical sounds, but got a non-zero value

I have the same problem. Do you solve it?

chenqi008 avatar Mar 27 '21 08:03 chenqi008

Maybe you need this project https://github.com/MattShannon/mcd/blob/master/bin/get_mcd_dtw

A321400841 avatar May 17 '21 03:05 A321400841

Maybe you need this project https://github.com/MattShannon/mcd/blob/master/bin/get_mcd_dtw

That library doesn't support .wav files it seems. Did @Accomlish or @SamuelBroughton ever find the root cause?

tobiascornille avatar May 23 '21 16:05 tobiascornille

I did find that using the euclidian distance for DTW reduces the difference, but it's still not 0...

tobiascornille avatar May 23 '21 16:05 tobiascornille

I think there's a problem on the code, min_cost_tot += np.mean(min_cost) According to Librosa's document, it should be revised to min_cost_tot += min_cost[-1][-1]

jack159n avatar Nov 07 '21 06:11 jack159n