Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

claudemircasa/celticrnn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celtic Music Composer

This project allows you to train a neural network to generate midi music files that make use of multiple instruments

NOTE: To see refined results, go to Celtic Memories, otherwise see the samples in samples folder.

Requirements

  • Python 3.x
  • Use pip to install requirements:
pip install -r requirements.txt

Training

To train the network you run lstm.py.

E.g.

python lstm.py

The network will use every midi file in ./dataset to train the network.

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 --weights <weight file>

You can run the prediction file right away using the weights.hdf5 file

Please cite this work and the original work:

@misc{celticrnn,
 title   ={CelticRNN: Uma rede neural recorrente para a geração de música Celta},
 url     ={https://github.com/claudemircasa/celticrnn/},
 organization={IMAGO Research Group},
 urlaccessdate={26 nov. 2019}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%