Having no outter ears, snakes are nearly deaf and can only hear very low pitches. The vibrations in the bass can stress them out.
Lizards and amphibians can hear both the sound and may become stressed. Some species have much more sensitive hearing than we do, and that should be taken in to consideration.
Neither should be housed in/on units that also have speakers in them, as vibration and sound are most intense, and loud music should be in moderation and adapted to the situation (ie- if you have stressed out animals then avoid loud music as it will not help the situation).