Sound can be either a transverse or a longitudinal wave. When sound travels through liquids or gases it is considered a longitudinal wave but when sound passes through a solid it is considered a transverse wave. If sound is just travelling through the air then it is just a longitudinal wave.