Fourier transform mechanical spectroscopy