In this paper, we present a numerical scheme and alternating direction implicit scheme for the one-dimensional time–space fractional vibration equation. Firstly, the considered time–space fractional vibration equation is equivalently transformed into their partial integro-differential forms by using the integral operator. Secondly, we use the Crank–Nicholson scheme based on the weighted and shifted Grünwald–difference formula to discretize the Riemann–Liouville and Caputo derivative, also use the midpoint formula to discretize the first order derivative. Meanwhile, the classical central difference formula is applied to approximate the second order derivative. The convergence and unconditional stability of the suggested scheme are obtained. Finally, we present an example to illustrate the method.