Silencer for aquarium overflow pipe

A simple silencer for an aquarium overflow pipe of 40mm diameter.

You need to drill or melt a small air admittance hole in the top, I found 2mm to be about right.