How to find difference of two voice files using python
Asked Answered
M

1

9

I want two compare two voice files and find difference between them. Suppose I have an original file of a music track and another file that is read out of that music by me, I want two compare these two files and find difference between their phonemes. Actually the words aren't important for me, the important thing is similarity in phonemes and I want to find something like the percentage of similarity. I prefer to implement something with Python.

Mazzard answered 7/7, 2013 at 10:37 Comment(0)
R
10

You could try audio fingerprinting using fpcalc in Chromaprint.

Chromaprint is the core component of the AcoustID project. The audio fingerprinting is done using fpcalc in Chromaprint. fpcalc should be placed in the same directory as the Python script.

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid API.

https://pypi.python.org/pypi/pyacoustid

Bellow is an example article with python demo code.

Comparing Non-Identical Audio Files for Duplicate Content with Cross-Correlated Fingerprints http://www.randombytes.org/audio_comparison.html

How does Chromaprint work?

http://oxygene.sk/2011/01/how-does-chromaprint-work/

Rearm answered 7/7, 2013 at 11:15 Comment(1)
Thanks, great tools! Just fyi, fpcalc doesn't need to be in the same folder, as long as it is in your PATH.Ecuador

© 2022 - 2024 — McMap. All rights reserved.