Name

MorseCode() — Plays Morse code

Synopsis

MorseCode(string)

Plays the string, encoded in International Morse Code. The following channel variables will affect the playback:

MORSEDITLEN

The length, in milliseconds, of a DIT. Defaults to 80 ms.

Note

All of the other tone and silence lengths are defined in the International Morse Code standard with respect to the length of a DIT, and therefore, each of the other lengths will be adjusted suitably.

MORSETONE

The tone, in Hertz (Hz), which will be used. Defaults to 800 Hz.

; dah-dit-dah dit-dit dit-dit-dit-dit-dah dah-dit-dah dit-dit-dah dit-dah
exten => 123,1,Answer()
exten => 123,2,MorseCode(KI4KUA)

See Also

SayAlpha(), SayPhonetic()