Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use?Any documents? #19

Open
Praying opened this issue Mar 26, 2019 · 2 comments
Open

How to use?Any documents? #19

Praying opened this issue Mar 26, 2019 · 2 comments

Comments

@Praying
Copy link

Praying commented Mar 26, 2019

I don't know how to use this project to compose music, any one can help me ?

@domenicostefani
Copy link

domenicostefani commented Apr 16, 2019

If you just want to run the generator there is a windows executable.
If you are on Linux you may use wine to run it.
If that doesn't do it for you you'll have to train the network, so basically:

  1. Download a set of midi files to train the net (place them in a directory called Music, inside the project folder)
  2. Install the python libraries required by load_songs.py, train.py and live_edit.py
  3. Run them with the Python2.7 interpreter in that order. (If you run load_songs on a different os from windows, there is a small bug to fix: just open the file with a text editor and replace "\" with os.sep at line 14)

Load_songs preprocesses the midis and stores them into a single file.
Train trains the net and produces additonal files/info and plots about the performance.
finally live_edit is the synthesizer that runs the trained network and produces the music.

@ghost
Copy link

ghost commented Jun 5, 2019

Concerning running the source code:
Do you have any specific library requirements? Or a more in-depth explanation from start to finish how to run the composer successfully using Python 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants