Integrated optical pulse shaping: SOA amplitude control and sub-microsecond switching of 32 channels at 25 GHz spacing