I've been really struggling writing melodies recently. I used to write all of my melodies on my guitar, no problem, they would write themselves. Now I'm trying to depart from that and write on the keyboard or write by arranging samples, and it's really tough. Anyone got a nifty trick they use to get kick-started on a good melody? For example, would you start with a simple bassline and then start building on that? Or a simple keyboard lick first? It's weird how shitty my keyboard melodies sound, whereas on the guitar they always sounded pretty good to me. Maybe it has something to do with the layout.