Waveform data manipulation in go