chamodi kavindaya
chamodi kavindaya

Reputation: 21

Audio Recognition using python

I am working on a group project. We are looking to develop a program that can receive audio via laptop microphone and compare it to a saved audio file and output a audio message if the input and saved files match. Audios may be speeches, music or songs.

We would like to compare audio files with some sort of python method, but we haven't been able to find any way to do this. We are looking for a library of some sort or another to be able to take data from each file and see if they are similar.

We have watched a lot of tutorials, searched the web and still need some major help. Could someone explain to us how to get started?

Upvotes: 0

Views: 4577

Answers (3)

Yusuf Siddiqui
Yusuf Siddiqui

Reputation: 27

Try project dejavu, it really helps. It's based on Numpy.

Upvotes: 2

Mayank Pathak
Mayank Pathak

Reputation: 1

However, if you just want to filter audio files, Yes, there are some python libraries you can use. Here is the link for one;

https://pypi.org/project/SpeechRecognition/

or use pip install SpeechRecognition to install

Hope this solves your problem.

Upvotes: -1

Bhargav
Bhargav

Reputation: 4062

Instead of comparing audios, Try converting audio to spectrogram using python of both audio files & Compare both images. You can best results.

But if you want to process only audio files Yes, there some libraries which you can use.

1. Librosa - Python library for audio and music analysis 

link for Librosa

Upvotes: 2

Related Questions