A sound attenuating apparatus may include a replaceable sound attenuating device and an electronic receiver configured to mate with the replaceable sound attenuating device. The replaceable sound attenuating device may include a sound attenuating material having an embedded sensor element. The sensor element may have a property that corresponds to a type of replaceable sound attenuating device. The electronic receiver may detect the property of the sensor element. A computing device may determine the type of the replaceable sound attenuating device from the property of the sensor element and perform one or more operations based on the type of replaceable sound attenuating device, including audio control, safety warnings, personal attenuation rating determinations, and the like.