Git Product home page Git Product logo

music_rec's Introduction

Audio Fingerprinting and Recognition

Implementation of dejavu["https://github.com/worldveil/dejavu"] for audio fingerprinting and recognition on Python 2.7 Audio files can be added to mysql database in the form of audio fingerprints. Input of audio to be recognized can be taken using either an audio file or via microphone. After listening to the audio, it is matched against fingerprints already stored in the database and a match, if found, is returned. The UI is created using PyQt5

Installation

  1. Run main.sh to install the required libraries. #List of dependencies PyAudio, pydub, ffmpeg, matplotlib, scipy, numpy, mysql-client, virtualenv, pydejavu

  2. Open mysql from command line : $mysql -u root -p

  3. Create a database : mysql> CREATE DATABASE nameofdb; #This database will be used for storing fingerprinting data

Execute main.py to access the program. "Add folder to database" : All .mp3 files in the folder will be fingerprinted and added "File Input" : Select a file to recognize "Mic Input" : Microphone is switched on instantly for specified number of seconds to listen to audio. #Recognition may take a while

dbconfig file is created after the first run. It stores the last used mysql config data to autofill in UI.

To contribute : Project Link["https://github.com/basu96/music_rec"] Thanks to "worldveil"["https://github.com/worldveil"] for creating dejavu

music_rec's People

Contributors

dub-basu avatar

Watchers

James Cloos avatar Rohitt Vashishtha avatar  avatar

Forkers

huanghibo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.