split from waveform visualizer repository