Grumpy_Mike:
The way Morse works is that the gaps between the dots and dashes determin how to split up the data stream.
A period of one dot looking straight ahead means that the letter has not finished.
A period of three dots, which is the same as a dash means the letter has finished.
A period of five dots means the word is finished and you should print a space.As you have left and right looks to generate your dots and dashes maybe a Morse representation is not the best way of encoding the intention.
jremington:
Read reply #3 again for the details.It is not particularly difficult to locate the positive and negative peaks in the waveform posted in reply #2. Google "peak search algorithm" for ideas.
Ok, thanks I'll look at reply #3 again to help guide how to account for how Morse code works and will look up "peak search algorithm". Thanks again!