Music acoustics

A guitarist presses a string against a fret, shortening the part that vibrates while leaving its tension and material nearly unchanged. What happens to the pitch?