Music Genre Classification using AST(Audio Spectrogram Transformer) and MIDI format Classifier
Rhythmic Patterns Repeating patterns that define the rhythm of the piece Harmony & Chord Progressions Represents the sequences of the chords used in the MIDI file Tempo A critical feature for classification, distinguishing between different genres Pitch & Velocity Information about specific notes being played and corresponding loudness i.e how hard a note is played
Reference: https://github.com/YuanGongND/ast
GTZAN Dataset for Music Genre Classification Download link: https://www.kaggle.com/datasets/andradaolteanu/gtzan-dataset-music-genre-classification
- Mention input directory path and output directory path
- Create a CSV file using the generated MIDI files
- Read the created CSV file to implement the
- Execute the classification code
- Run the ast_gtzan_clf.ipynb
- Mention the file path of the test file from the GTZAN dataset