On the control of propagating acoustic waves in sonic crystals: analytical, numerical and optimization techniques