Coder Social home page Coder Social logo

music_genre_classifier's Introduction

Music_Genre_Classifier

An attempt to classify genres across music and imitate behaviour of popular streaming services

#Dowloading_datasets We use GTZAN genre collection dataset for classification. http://marsyas.info/downloads/datasets.html This dataset was used for the well known paper in genre classification " Musical genre classification of audio signals " by G. Tzanetakis and P. Cook in IEEE Transactions on Audio and Speech Processing 2002. The dataset consists of 10 genres i.e Blues Classical Country Disco Hiphop Jazz Metal Pop Reggae Rock Each genre contains 100 songs. Total dataset: 1000 songs

PreProcessing

All the .au files were converted to .wav using Pydub library or can also be done in the command line directly by changing extensions

Feature_Extraction

'tempo','zcr','spec_bandwidth','rms','spec_centroid','spec_rolloff','chrom_spec' Data has extracted using Librosa library. Features Extracted were the following:-

1)Zero Crossing Rate

2)Spectral Centroid

3)Spectral Rolloff

4)Mel-Frequency Cepstral Coefficients(mfcc)

5)Chroma Frequencies

6)Spectral Bandwidth

7)RootMeanSquare

8)tempo

And these 8 features appended to give a 57 length feature which is later reduced to 37 length feature

Exploratory_Data_Analysis

Used to identify the redundant features

Classifaction

Diffrent classification and Deep Learning models were used to classify data. Diffrent parameters were used to tune the model

Results

SVM gave the highest test accuracy with .82 percent and seemed to perform very well in predicting Classical, Metal,Pop genres. But gave poor accuracy with Reggae, Disco, Country genres

Acknowledgement

Thank ACM Student Chapter for giving this oppurtunity

music_genre_classifier's People

Contributors

vigneshinzone avatar vigneshmustang avatar

Stargazers

 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.