I have the same thing with the music. I lucid dream relatively often so there's a lot of times where I'll be thinking "I better remember this so I can plagiarize it, and since it's from my own dream it's not technically plagiarism!" In a similar vein, sometimes if I have a really long or detailed dream I'll revise it in my head or try to write it down before waking up, to help me remember it when I wake up.
I remember dreams decently well EVERY night but they are not always vivid. I had a log for a few years' worth of dreams but my bf has it and cut contact since we broke up, dunno if I'll ever get it back