I stumbled across one problem. I need the waveform displayed on the image for haptics purposes. I can generate it digitally, but this has limits by means of my sound card. If there is a way of generating the same waveform at 1MHz it would be a huge playground for me. input is one sine. I guess a shift register, logic gate and op amplifiers are needed, but I can't figure out how.