change originWave to tuple, waveform as a list