Melodia is a Python-based tool for generating musical compositions using algorithmic techniques. It leverages machine learning and deep learning to create unique and creative musical pieces. Dive into the fusion of code and music! ๐น
- Enhancing machine learning algorithms for better performance
- Developing a user-friendly GUI
- ๐ผ Generate unique musical compositions using your own MIDI files.
- ๐ค Utilizes LSTM (Long Short-Term Memory) networks to learn and generate musical patterns.
- ๐พ Save and load trained models for future use.
- ๐ถ Export generated compositions as MIDI files.
- Clone this repository:
git clone https://github.com/caseybarajas33/melodia.git
- Navigate to the cloned repository:
cd melodia - Install dependencies:
pip install -r requirements.txt
- Prepare your example MIDI files and place them in the
examplesdirectory. - Run the training script:
python train.py
- Update the model name in
play.pyto the model you just trained. - Generate a new composition:
python play.py
- The generated composition will be saved as a MIDI file.
This project is licensed under the MIT License. See the LICENSE file for details.
Some of the data used to train this model is partly built upon the MAESTRO dataset, introduced in the following paper:
Curtis Hawthorne, Andriy Stasyuk, Adam Roberts, Ian Simon, Cheng-Zhi Anna Huang, Sander Dieleman, Erich Elsen, Jesse Engel, and Douglas Eck. "Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Dataset." In International Conference on Learning Representations, 2019.
The MAESTRO dataset can be found at: MAESTRO Dataset