All Projects → jsalbert → Music Genre Classification With Deep Learning

jsalbert / Music Genre Classification With Deep Learning

Licence: mit
Using deep learning to predict the genre of a song.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Music Genre Classification With Deep Learning

Shazamscrobbler Macos
Last.fm scrobbler for the Shazam Mac app
Stars: ✭ 86 (-6.52%)
Mutual labels:  music
Play.cash
🎶 Music lovers, rejoice.
Stars: ✭ 89 (-3.26%)
Mutual labels:  music
Ytmdesktop
A Desktop App for YouTube Music
Stars: ✭ 1,297 (+1309.78%)
Mutual labels:  music
Sonimei Music
音乐搜索器 - 多站合一音乐搜索安卓解决方案
Stars: ✭ 87 (-5.43%)
Mutual labels:  music
Mpd
Music Player Daemon
Stars: ✭ 1,289 (+1301.09%)
Mutual labels:  music
Beep.js
Beep is a JavaScript toolkit for building browser-based synthesizers.
Stars: ✭ 1,294 (+1306.52%)
Mutual labels:  music
Semusic
Kotlin Music Player
Stars: ✭ 86 (-6.52%)
Mutual labels:  music
Youtube Music Desktop
A desktop client for YouTube Music with MusixMatch lyrics.
Stars: ✭ 92 (+0%)
Mutual labels:  music
Telemeta
Collaborative content management system for musicology
Stars: ✭ 88 (-4.35%)
Mutual labels:  music
Openchord
A React Native songbook app for guitar players
Stars: ✭ 91 (-1.09%)
Mutual labels:  music
Beet.js
Polyrhythmic Sequencer library for Web Audio API.
Stars: ✭ 87 (-5.43%)
Mutual labels:  music
Guayadeque
Guayadeque is a music management program designed for all music enthusiasts. It is Full Featured Linux media player that can easily manage large collections and uses the Gstreamer media framework.
Stars: ✭ 87 (-5.43%)
Mutual labels:  music
Musictube Player
MusicTube Player is an electron desktop application for YouTube Music, with media key support & desktop notifications.
Stars: ✭ 90 (-2.17%)
Mutual labels:  music
Botify
Discord bot that plays Spotify tracks and YouTube videos or any URL including Soundcloud links and Twitch streams
Stars: ✭ 86 (-6.52%)
Mutual labels:  music
Vue Music163
A webapp what base Vue2.0 contains seaching and playing music
Stars: ✭ 91 (-1.09%)
Mutual labels:  music
Prodigal
Music Player for Android which looks & feels like classic player
Stars: ✭ 86 (-6.52%)
Mutual labels:  music
Openaudiomc
A real time web client for minecraft to play and manage sounds, game notifications and much more. This project includes the plugin (bungee + spigot + velocity), common java library, web client and build scripts.
Stars: ✭ 89 (-3.26%)
Mutual labels:  music
Skyra
All-in-one multipurpose Discord Bot designed to carry out most of your server's needs with great performance and stability.
Stars: ✭ 92 (+0%)
Mutual labels:  music
Joustmania
Raspberry Pi Jousting at its finest
Stars: ✭ 91 (-1.09%)
Mutual labels:  music
Ble Midi For Android
MIDI over Bluetooth LE driver for Android 4.3 or later
Stars: ✭ 90 (-2.17%)
Mutual labels:  music

Music Genre Classification with Deep Learning

DOI

Abstract

In this project we adapt the model from Choi et al. to train a custom music genre classification system with our own genres and data. The model takes as an input the spectogram of music frames and analyzes the image using a Convolutional Neural Network (CNN) plus a Recurrent Neural Network (RNN). The output of the system is a vector of predicted genres for the song.

We fine-tuned their model with a small dataset (30 songs per genre) and test it on the GTZAN dataset providing a final accuracy of 80%.

Slides and Report

Code

In this repository we provide the scripts to fine-tune the pre-trained model and a quick music genre prediction algorithm using our own weights.

Currently the genres supported are the GTZAN dataset tags:

  • Blues
  • Classical
  • Country
  • Disco
  • HipHop
  • Jazz
  • Metal
  • Pop
  • Reggae
  • Rock

Prerequisites

We have used Keras running over Theano to perform the experiments. Was done previous to Keras 2.0, not sure if it will work with the new version. It should work on CPU and GPU.

Python packages necessary specified in requirements.txt run:

 # Create environment
 virtualenv env_song
 # Activate environment
 source env_song/bin/activate
 # Install dependencies
 pip install -r requirements.txt
 

Example Code

Fill the folder music with songs. Fill the example list with the song names.

 python quick_test.py
 

Results

Sea of Dreams - Oberhofer

Sea of Dreams - Oberhofer fig_sea Results

Sky Full of Stars - Coldplay

Sky Full of Stars- Coldplay fig_sky

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].