This is a python GUI along with a pre-trained Autoencoder model trained using this code intended to be used by music composers in order to generate prompts to be used as ideas or starting points music compositions.
Users should have python 3.5 (3.7 was used during development) or later installed in their system. The packages required for the application to run:
It is recommended that user uses a virtual environment when installing the packages and attempting to run the python script.
- Make sure you have python 3.5 or later installed in your system by typing
python --versionon your terminal or command prompt. - If using virtual environment, make sure to activate the virtual environment by typing
virtualenv **_your virtual environment path_**and activating it by running the activation script**_your virtual environment path_**/scripts/activate. Note that a virtual environment with all the necessary packages pre-installed is included in this repository (/venv) - install all the necessary packages listed above.
- on completion, type
python **_the application directory_**/init.py.
The application should open and reveal as such:
- To generate a new set of notes drag your cursor around the upper left corner box. The yellow dot should move to your cursor location. The yellow dot represents the position of the 2d vector within the latent space.
- Once generated, press the space bar to play the composition.
