I have neighbors in my building that play their music LOUD and I mean all over the building loud, so you can hear it, in all 40 odd flats.
And guess what, their dog will be sitting in the middle the noise and the partying and he’s under the table sleeping.
When I was a kid I had a cat, and I’d be in my room playing a record a bit loud as kids will, and the cat is on the shelf sleeping. I know she was 'cause when I went over and petted her, she’d open her eyes and mew at me, as if to say, “Knock it off”
So the music is playing, the cat sleeping, and my mum would call the cat. She’d do that by hitting a high note. Up in the whistle register and the cat suddenly would perk up and run over.
The cat HATED those high notes. It must’ve bugged her a lot, as soon as my mum hit those screech notes, my cat would have to investigate.
So I think animals somehow can learn to tune out what they need to while still remaining alert for certain other types of noise