Adding an example to generate waveform --kazu