Skip to content

Creates a Convolutional Neural Net that recognizes the genre of music by analyzing slices of a song's spectrogram

Notifications You must be signed in to change notification settings

fritzwill/music-genre-recognition-cnn

Repository files navigation

GenreID

Dependencies

  • numpy
  • pandas
  • scipy
  • sox
  • ffmpeg
  • pydub
  • pylab
  • eyed3
  • flask
  • scikit-learn
  • tensorflow
  • scikit-image
  • h5py
  • keras

Installation Instructions

  • numpy: $ [sudo] python3 -m pip install numpy
  • pandas: $ [sudo] python3 -m pip install pandas
  • scipy: $ [sudo] python3 -m pip install scipy
  • sox: $ [sudo] apt-get install sox
  • ffmpeg: $ [sudo] apt-get install ffmpeg libavcodec-extra
  • pydub (dependent on ffmpeg): $ [sudo] python3 -m pip install pydub
  • pylab: $ [sudo] python3 -m pip install matplotlib
  • eyed3: $ [sudo] python3 -m pip install eyeD3
  • flask: $ [sudo] python3 -m pip install flask
  • scikit-learn: $ [sudo] python3 -m pip install scikit-learn
  • scikit-image: $ [sudo] python3 -m pip install scikit-image
  • tensorflow: $ [sudo] python3 -m pip install tensorflow
  • h5py $ [sudo] python3 -m pip install h5py
  • keras $ [sudo] python3 -m pip install keras
  • Pillow $ [sudo] python3 -m pip install Pillow

Instructions for Starting Web App

  • You can access the Apache hosted web app at: http://167.99.13.62/upload-analyze
  • You can start the web app locally as follows:
    1. $ cd /ai-fa18-project/website/GenreIDApp/GenreIDApp
    2. $ FLASK_APP=__init__.py
    3. $ flask run

About

Creates a Convolutional Neural Net that recognizes the genre of music by analyzing slices of a song's spectrogram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published