James Skripchuk's code to convert music to midi. I am goint to convert this into flask based app. It uses NLTK to read files, then convert to sentences, then words and then turn those words into awesome piece of music. Core work is done by James Skripchuk, I just gave the proper interface to his work.
If you are able to run original code and understand it, using this app will be easy.
Run the Server by hitting server.py code using give command.
python.exe server.py
You will see the status when server is running
Copy the given server URL and paste it in your browser.
1. You add text file as parameter in original code. In this code, you will upload that file.
2. You select the time signature of piece or keep it random.
3. You set the scale of positive sentiment text. (Note: manual scale is not added).
4. You set the scale of negative sentiment text. (Note: manual scale is not added).
5. You enter rythems of your choice.
6. Then you hit upload to get the things done.
7. When everything is done,Scroll Down and you will see the newly created midi on the web interface. You can play it from there.
Click On Image To watch video on youtube.