initial implementation of active track waveform
fix waveform