Skip to content

An application of vocal melody extraction.

License

Notifications You must be signed in to change notification settings

takahyon/Audio-to-midi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio-to-midi

An application of melody extraction.

Core algoithm

(MSnet): https://github.com/bill317996/Melody-extraction-with-melodic-segnet

Dependencies

Requires following packages:

  • python 3.6
  • pytorch 1.0.0
  • numpy
  • pysoundfile
  • scipy
  • math
  • pypianoroll

Usage

Put your audio files in "./input/" folder and run

python audio2midi.py

or

python3 audio2midi.py

Results will save in './output/'

audio2midi.py

usage: audio2midi.py [-h] [-in INPUT_FOLDER] [-out OUTPUT_FOLDER] [-m]

Audio to midi : Update in 20190503

optional arguments:
  -h, --help          show this help message and exit
  -in INPUT_FOLDER    path to input folder (default: ./input/)
  -out OUTPUT_FOLDER  Path to output folder (default: ./output/)
  -m                  Extract main-melody instead vocal-melody (default: False)

About

An application of vocal melody extraction.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%