My sleeping room is just below the roof, and has two roof windows. When it rains during the night (rather common experience during winter in central Italy, where I am located), the rain falling on the window glass generates a rather strong noise, which prevents me from getting asleep and often also wakes me up if I am already sleeping.
What are good sound-proofing techniques in this case? For example, would putting some layers of foam (which foam in particular?) just below the window work? Is the sound-proofing foam used in recoding studio the appropriate material here?
I've also thought about putting a layer of (not necessarily sound-proofing) foam on the window instead of below it, in the hope that the rain doesn't fall directly on the glass, so it makes less noise. It is clearly is a maintenance burden (the foam gets soaked, and it probably quickly breaks because of exposure to sun and wind), but maybe it works better. Are there suggestions about this idea?
Some remarks about my specific situation:
The area is quiet, so the only noise I need to insulate from is the rain tapping on the roof window. Nothing else.
I am renting the house, therefore I would like to minimise the modifications on the house. However, not being able to sleep is a serious problem and the landlord is a reasonable person, so if there is need I can try to negotiate some long-lasting change.