adds waveform rendering with html canvas