Giter Club home page Giter Club logo

chord_recognizer's Introduction

Guitar Chord Recognizer

Feedforward neural network for live guitar chord recognition. Supported chords include A, A7, Am, B, Bm, C, C7, Cm, D, D7, Dm, E, E7, Em, F, Fm, G, G7, Gm.

Dependencies

Make sure you have Python 3 installed, as well as the following libraries:

  • TensorFlow
  • Numpy
  • Sklearn
  • PyAudio
    • Note: PyAudio requires the prerequisite portaudio library to be installed. On Mac, this can be installed using homebrew.

Usage

Simply clone this repository, and run live_demo.py.

git clone https://github.com/connormcl/chord_recognizer.git
cd chord_recognizer
python3 live_demo.py

Data

Anyone at Yale can download the data used to train this neural network here. To generate additional WAV files, a utility script has been provided to help.

In generate_wav_files.py, simply modify the call to generate_wavs() according to which files you would like to generate. For example, generate_wavs('e7', 1,100) would record and create 100 wav files named e7_1.wav through e7_100.wav in chords/e7. Note that if you are adding a new chord to the database, you must create the corresponding directory within the chords directory. See generate_wav_files.py for more information.

References

chord_recognizer's People

Contributors

connormcl avatar

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.