For a particular string (given material and radius), the frequency of vibration of the string depends upon its vibrating length and the tension in the string.
[Note: in the above case, frequency is proportional to the square root of the tension and inversely proportional to the length.]