A writer designed a piece of music during a storm.