For windows, you can use this trick to seal up the sides of the curtain and prevent sound from leaking through. For doors, ...