d4r3topk / comparing-audio-files-python

This project is for the comparison of two audio files based on their MFCC's.
32 stars 17 forks source link

dist value for similar audios #3

Open enviz opened 5 years ago

enviz commented 5 years ago

https://github.com/d4r3topk/comparing-audio-files-python/blob/641dfb807cd317d79361ab79aa357a0de33d0e99/mfcc.py#L19

This is not really an issue,but a doubt rather.

It's mentioned as a comment that the dist value for similar audios should be 0 or close to 0? If that's what you meant.

I am doing a speech project in which I'm comparing the similarity between audios. Basically I have a bunch of phoneme recordings from the same voice. Some of them sound similar and some of them don't. So I am using this dist measure to quantify that similarity. And based on what i've observed so far with the samples I have,a dist value of anything less than 180 is holding true for similar sounding phoneme recordings and greater than 180 for the dissimilar ones. And it's never or not even close to zero.

Can I use this condition to compare the similarities? Please let me know. Thanks in advance.