项目作者: LedStarr

项目描述 :
Synthetic Music Database Geneartor
高级语言: Python
项目地址: git://github.com/LedStarr/Transcribed_Music_Data_Generator.git
创建时间: 2019-03-18T14:09:10Z
项目社区:https://github.com/LedStarr/Transcribed_Music_Data_Generator

开源协议:MIT License

下载


Transcribed Music Data Generator

This Script is intended to help Musicologists to generate randomly generated MIDI and WAV Files.

First it will generate a MIDI File and then synthesizes a WAV File from it.
Theses Files will be stored inside a CSV or a Train and Test CSV afterwards and stores the relative paths
to the newly generated Files with some extra information.

This Data is intended to help in cases where transcribed Music-Data is scars and or the human bias is something you
want to cancel out of the equation.

By running main.py the Script will ask you some questions and generate all Files afterwards. Feel free to use the
batch_generate() Method from the DataBaseGenerator Class for creating the Data-Sets on your own.

Dependencies:

This script uses:

  • music21 for creating the MIDI Files
  • mido for reading the MIDI Files in a stream.
  • pyo as sound engine for synthesizing the WAV Files
  • pandas for creating the CSV’s
  • numpy for creating random numbers
  • tqdm for displaying a progress bar

Since pyo only supports Python 3.7 it is currently not possible to use this script with higher Versions of Python.