Skip to content

A system with multiple approaches (conventional ML, CNNs, RNNs) to classifying music into 1 of 10 distinct genres using the GTZAN dataset

Notifications You must be signed in to change notification settings

nikhilnair31/SpectroTune---Genre-Classifier

Repository files navigation

SpectroTune---Genre-Classifier

Introduction

Music genre classification is an essential aspect of music information retrieval (MIR) and has numerous applications in the music industry, ranging from content-based music recommendation to indexing and organizing music databases. With the rise in digital music streaming platforms, such as Spotify, the ability to classify songs into genres automatically becomes increasingly significant.

The Problem

The primary challenge in music genre classification is to extract meaningful features from audio tracks and employ them to categorize tracks into respective genres. The task is further complicated by the subtle distinctions between some music genres, overlaps in musical elements across genres, and the dynamic nature of music genres over time.

Data Available

There are 2 sources of data:

How To Use

  • Create a folder called Data/genres_original with the unzipped GTZAN file
  • Run audio_noise_adder_async.py to add noise to the .wav files and save it
  • Run image_gen_async.py to use the noisy .wav files and generate spectrograms
  • Run relevant script for different ML approachs to genre classification

References

About

A system with multiple approaches (conventional ML, CNNs, RNNs) to classifying music into 1 of 10 distinct genres using the GTZAN dataset

Resources

Stars

Watchers

Forks