Skuldur/Classical-Piano-Composer
关于
This project allows you to train a neural network to generate midi music files that make use of a single instrument
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Classical Piano Composer
This project allows you to train a neural network to generate midi music files that make use of a single instrument
Requirements
- Python 3.x
- Installing the following packages using pip:
- Music21
- Keras
- Tensorflow
- h5py
Training
To train the network you run lstm.py.
E.g.
python lstm.py
The network will use every midi file in ./midi_songs to train the network. The midi files should only contain a single instrument to get the most out of the training.
NOTE: You can stop the process at any point in time and the weights from the latest completed epoch will be available for text generation purposes.
Generating music
Once you have trained the network you can generate text using predict.py
E.g.
python predict.py
You can run the prediction file right away using the weights.hdf5 file
探索相关项目
加载中…