We have used a suspended carbon nanotube as a frequency mixer to detect its own mechanical motion. A single gate-dependent resonance is observed, which we attribute to the fundamental bending mode vibration of the suspended carbon nanotubes. A continuum model is used to fit the gate dependence of the resonance frequency, from which we obtain values for the fundamental frequency, the residual and gate-induced tension in the nanotube. This analysis shows that the nanotubes in our devices have no slack and that, by applying a gate voltage, the nanotube can be tuned from a regime without strain to a regime where it behaves as a vibrating string under tension.