HTMusic is an experimental project for the generation of musical compositions (MIDI) based on the hierarchical temporal memory algorithm developed by Numenta.
- Clone this repo
pip install -r requirements.txt
from repository root - install dependencies
To run this application you need to put MIDI files to "input" folder or assign a folder using the parameter --input_dir
:
python train.py
Trained model will be saved to "model" directory. To generate MIDI file after training:
python generate.py