Forums > MaxMSP

Text to morse code in MAX 6 – Help please

Apr 05 2012 | 1:34 pm

I’m trying to convert text into morse code in MAX 6 (as the title suggests)
I found one thread here that helped but I couldn’t get the following code to work:

— Pasted Max Patch, click to expand. —

I’m not sure if it’s me being a noob or there is compatibility problems. I can’t see why there would be.
Thank you for your help.

Apr 05 2012 | 3:03 pm

The patch works for me in Max6 on a PC. Turn audio on. Click on the text box, then hit enter.

However, to send real International Morse Code, the timing needs to be set correctly:

Dah duration = 3x dit duration
Inter-element spacing = 1x dit duration
Inter-letter spacing = 3x dit duration
Inter-word spacing = 7x dit duration

There’s also a java-based object around somewhere that sends Morse Code, but it has incorrect coding for one of the letters — "j", IIRC.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP