Automatic instrument classification from music
We intend to perform automatic identification of instrument classes from monophonic and polyphonic music audio via machine learning method. We only focus on three different classes of instrument, which are piano, guitar and strings.
Midi:
A kind of file format, containing digital information of music
Raw data retrived from https://www.reddit.com/r/WeAreTheMusicMakers/comments/3ajwe4/the_largest_midi_collection_on_the_internet/
Use Reaper 5
Complete digital audio production application for computers
Use Kontakt 6
Make inputs like midi generate sound
Generate music
~150 single tracks to generate ~1000 30s .wavs files.
I.Slice them by sampling rate = 10000, hop length = 250;
II. Get mean of MFCCs and their derivatives by seconds;
III. Write '.csv' file with labels of three instrument classes;
IV. Delete silent rows in '.csv' file.
- Few music database are available for analysis use, mostly in the form of songs. Extracting more information from songs will significantly contribute to the industry.
- Bands, singers and studios spend tremendous time on making existing music back into scores or midi.
- A potential for automatic accompaniment generation.
Mido - MIDI Objects for Python librosa Scikit-learn fast.ai & Pytorch
import mido, sklearn, fast.ai, librosa
Wang Haoran 1701213100 qwerjeff
Zhe Wang 1701213113 dragonwdl
Daniel Kwesi Wobil 1701213207 answob
Yizhe Ren 1701213087 engerous