how do you write melodies in your songs, what's your thought process
the context, what is happening in the scene, the words, etc. If there is no scene then imagine a scene. it helps. Situations/words are usually what drives the melody. and, the melody then can continue to drive the words and situations. a symbiotic relationship persists