Is it possible to monitor the temperature of a wire by measuring its vibrational frequency

As temperature increases, length increases Therefore, frequency of vibration v decreases. Hence, changes in temperature can be monitored