I have had such an experience too, never knew it was called writers block, sometimes whenever I wanted to write it seems nothing is entering or coming out of my brain and I always get stuck. Listening to music always help me to overcome this sometimes.
Good to know music works for you, I still haven't found what works for me yet.