When I am not sure about something I often do an internet search and your problem intrigued me so I did. It looks like there are some YouTube videos on this topic and the link below suggests vibration pads as one solution among others and as Tinker suggested, etc. I would see if the pump noise could be reduced before I spend money on the window as a last resort.
14 Effective Ways How to Quiet a Noisy Pool Pump