prepare qml waveform