A generalized modulation law for generating constant-envelope signals via frequency modulation