Skip to content

The project aims to explore how to convert MP3 recordings of solo piano into MIDI files

Notifications You must be signed in to change notification settings

Damien-Bouet/Piano-Transcription-mp3-to-midi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piano Automatic Transcription : From mp3 sound to music sheet partition

This project aims to explore the ways to convert mp3 solo piano into midi file (which can be converted into music sheet partition with traditional software).

Schema of architecture


What it is doing :

The pipeline is detailed in the notebooks, from the dataset preprocessing to the training and testing.

1. Creation and augmentation of the dataset

I used in this project a dataset of simple piano songs which can be found on Kaggle. The dataset is augmented by shifting the songs toward higher or lower octaves.

I used the Py-MeltySynth package to load and handle the midi files.

2. Conversion of the time series into the frequential domain using Short Time Fourier Transform (STFT)

I used scipy.signal.ShortTimeFFT to compute the STFTs.

3. Training a pytorch CNN+Dense network to predict the notes

Model

4. Example of test prediction

Test prediction

About

The project aims to explore how to convert MP3 recordings of solo piano into MIDI files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published