finished speech signal theory
some rearrangement