Because of this, even if the sound hits at the same angle, the angle of refraction will vary for different mediums.
(the angle of refraction; will vary; for different mediums)
the angle of refraction
will vary
for different mediums