Read the sentence. I listened to the steady pitter-patter of rain on my bedroom window and the wind, a wolf howling at the night sky, as they got louder and louder. In this sentence, what is the wind compared to? a bedroom window the steady rain a wolf howling the night sky.
It was compared to the rain thats was banging on your window the wolf is also comparing to the wind my the breeze and is howls, and when the howls gets louder, the breeze gets stronger.