I mix up what key I write in all the time, but I seem to always stick with the modes of harmonic minor. What does everyone else do when you get stuck in a rut like that? I tend to write better when I have structure so just writing a riff with no scale or arpeggio in mind usually doesn't turn out great for me