The QCD string and generalized wave equation