When we produce high and low notes the vocal cords are tightened and relaxed by the thyroid and the cricoid approaching each other, and the movements of the arytenoid cartilages and a number of muscles.
When the vocal cords are stretched they vibrate more rapidly and produce a higher note. On low notes the vocal cords are relaxed, become short, and vibrate more slowly. This is how pitch is regulated.