Photonic Arbitrary Waveform Generator