[LAD] Converting single-cycle wave to harmonic spectrum