The idea is good and I like your way of creating the song by randomly pressing keys. Sometimes the song sounds a little messy, but if you bring some more structure into the song, you should handle this. Maybe you take some inspiration by my songs "Sunset" or "Asteroid", there I had the same problem