depending on how well the walls are isolated, and how the window is constructed, you may want to consider replacing it with a better window, or you might be able to add another window inside (or outside) to achieve better isolation. you might consider a "window plug" to seal the window whenever you need some quiet and remove it when you need some light... if the wall isolation isn't very good, then just updating the window probably won't help much.