I know that my creativity (i guess), and productivity in a given area kind of goes in cycles. Like I'll have a few months where I'm all about visual art, whether it be live visual type stuff, graphics, or whatever, and then I'll have a few months where I'm all about music and trying to make songs.
So I guess the advice that could come out of this would be to try and find another creative outlet during your musical dry spell. It doesn't need to produce anything wonderful, but I know I get frustrated with myself when I'm not producing anything.