This invention is a sound-insulating enclosure that contains at least one bed, in which one or more people sleep, wherein the configuration of this enclosure automatically changes from a more-closed configuration to a more-open configuration over time, or vice versa. These changes in configuration can be in response to sounds or can occur in a pre-programmed manner.