a simple graphical waveform editor