I don't know if it will help, but if you can, some earbuds with active noise canceling (or whatever name it is) where you can toggle between transparency mode could help.
I don't know if there are any rules against earbuds in class, but it is a suggestion~