From what I understand, snakes will pick up the vibrations of movement around them.
Which is different from hearing, say, a song on the radio.
I don't claim full understanding. I just remember reading that they are not deaf, but not having an outer ear they rely on vibration more than sound.
I admit the above may be mangled gobbledegook to someone who really understands this stuff and am happy to be corrected