Code to generate sine waves of the carrier frequency at the timing set up in the stimulation dialogue.