Q: how does one come up with a melody?
A: try focusing your attention on something that's not a melody