Muscles around the syrinx contract to allow vibrations in the walls of the syrinx when air flows from the lungs, producing sound.