Text in MAX 6 - Help please

Trumpetface's icon

Hi,
I'm trying to convert text into morse code in MAX 6 (as the title suggests)
I found one thread here https://cycling74.com/forums/text-to-morse-code that helped but I couldn't get the following code to work:

Max Patch
Copy patch and select New From Clipboard in Max.

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.
TF

newdendrite's icon

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.