Electronic hearing protection