I know that in solids sound can be a transverse wave and that in gases it is a longitudinal wave. The question is what happens at the boundry at the two substances? What is the mechanism of conversion of transverse into longitudinal waves?
Imagine a metal rod and you hit one end of it with a hammer.
A compression pulse travels down the rod and back again after reflection at the other end and the cycle of reflections is repeated - this is a longitudinal wave motion.
However as the pulse travels down the rod I would imagine that the walls of rod bulge out and then return, so this is equivalent to a transverse wave.
That bulging out then compresses and rarefies the air in the vicinity of the rod and so you get longitudinal waves in air produced.
Sound is a longitudinal wave and propagates from the solid into the gas as a longitudinal wave.
It is possible to get transverse waves in solids and they are generally known as shear waves. However we would not normally describe a shear wave as a sound wave. Shear waves in a solid will not propagate into a gas. They would simply reflect off the solid gass interface and head back into the solid.
Basically, if a transverse wave strikes a flat solid/gas boundary straight on - at an angle of incidence that is zero in relation to the normal, it will be totally reflected back into the solid. However, if it strikes at an angle, it will have particle movement both transverse and longitudinal relative to the boundary. The transverse part will be reflected back into the solid, but the longitudinal part will propagate into the gas.