I am a music producer and often my "best" pieces always came to my mind shortly before I fell asleep. Sometimes I actually grab a recorder, hum the melody and finish the idea on the very next day.
My question is now: how can this be possible? In a state where my brain is supposed to shut down (and pretty much does) it is literally exploding out of ideas. I also feel a huge increase in euphoria in these very moments but I can't really tell whether this happens before or after I get the idea for a certain sound/melody.
Might it be that my creativity is "blocked" all day until my brain finally drops all obstacles which then makes way for my creative flow? Or is it that no new input needs to be processed as I lay in total darkness and silence and therefore new "material" to process isn't coming in which leads my brain to "invent" something?
This doesn't happen every time but most often when I am very tired and don't need longer than 15 minutes to fall asleep - usually this is a matter of hours for me, hours in which I am not productive at all.