A system and method include sensing sound on the inside of a protective seal of a hearing protection device being worn, and using a sliding window algorithm to calculate the sound to which the ear of the wearer is exposed. The method may also include sensing noise and generating sound to cancel the sensed noise within the ear of the wearer. It may also include sensing ambient sound and regenerating this sound at safe levels inside the hearing protection device in order to aid situational awareness, and it may include receiving signals that are then regenerated as audio inside the hearing protection device for communication or entertainment purposes.