Add the code to generate a synthetic carrier wave.