This is a very small task. But you have to be an expert in python.
The app should generate a melody automatically.
Inputs will be bpm(bits per minute) and the Scale(Example C major).
A simple GUI is preferred. Include some machine learning too. This can be done easily using tensorflow/ magenta.