Git Product home page Git Product logo

findit's Introduction

Introduction

Findit is a Python program which can detect the song being played by comparing it with a local database of songs.
How Shazam Works is a brilliant article which discusses the approach from scratch. The code is a direct implementation of the above article (barring a few conceptual changes such as an overlapping window).
The user can go through each and every step of the pipeline, visualise the intermediate results and get a feel for the complete approach which is used as the basic pipeline by major commercial applications such as Shazam!

Here is a spectogram of 3-second audio clip from 'A Sky Full of Stars' And here's a filtered version which only keeps the strongest frequencies On running it on a test of 200 clips, here are the results:

Requirements

The program requires:

  1. Python 3.x
  2. soX is a powerful open-source audio processing application. It is used for resampling the audio and trimming random clips for testing. Download the executable, rename it to 'sox' and place it in the parent folder.
  3. PyDub, SciPy, NumPy and Matplotlib

Usage

  1. Place your audio files, which form the database, in the audio/ directory.
  2. In the 'Findit.py' script, enter the target audio path and run the program
  3. test_maker.py can generate random clips from the audio database and automatically run the clips through Findit and generate the results

findit's People

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.