When I was young, I dreamt that I was playing guitar and made up a cool song. When I woke up I was so excited, that's something you would hear an old rockstar say about their best song, right? "Came to me in a dream". I jumped out of bed, grabbed the guitar, and started playing the song, every note still clear in my memory.
It was a completely random series of notes.
Many years ago I had such a profound insight in one of my dreams that I woke up and wrote it down on an index card so I wouldn't forget.
Here's the pearl of wisdom I captured for posterity:
"Emotions — it's emotions that invented and fricasseed the invisible ravioli."
(I still have the card.)
Yea, I have composed song (music with lyrics) in my dream. But after waking up, didn't remember most of it.
I wonder if I did compose them, or did I just have a memory of having composed a great song?
What is experience, if not our very latest memory, right?
A fee years ago, I woke up in the middle of the night with a very cool sounding riff playing in my head for a song that I was thinking about at that time. I am not a musician and that would be my first, if I would recruit enough help.
I made noises with my mouth, and it still sounded cool. Instead of recording those noises into any recording on my phone, I went back to sleep and couldn’t remember it the next morning :(
I have made poetry in some dreams which feels very profound and very rhyming (I have zero poeticness or interest in poetry) but I also remember that a few times when I did wake up with those words still in my head, it was a mish mash of words.
Giuseppe Tartini claimed his violin sonata "Il trillo del diavolo" (Devil's trill) was played to him by the devil itself during a dream. However, unlike you, Tartini declared that he had been able to capture only a small part of the music.
Richard James did an album of these using synthesizers to record from memory and lucid dreaming to compose.
I often have the experience that I've discovered a really good idea in a dream. It happens often enough that I recognize it as a dream and I become curious about whether it will actually be a good idea when I wake up, because almost as often it is random and silly. I spend the rest of the dream intent on remembering it, and usually I do. Every once in a while I get a melody or an idea I want to run with, but it always makes me excited and ready to work.