add waveform scaling to gen the same features as previously