add waveform display

...but it's segfaulting instead of working