Nyquist Generator Plugins: TTY Tones

I wonder, is generating baudot code the same as generating International Morse Code? The only thing I know about Baudot code is that it’s used frequently on TTY machines, and it has frequencies of 1400 and 1800 Hz. If I were to create a generator plugin for Baudot code, what are the parameters I would implement?

Baudot code is not in itself anything to do with audio. It’s just a 5-bit encoding for text.
There’s an article about it on Wikipedia: https://en.wikipedia.org/wiki/Baudot_code

So let me rephrase this. How do I create a plugin for generating TTY tones?

I think what you really want to know, is how to produce Frequency-shift keying.

Probably the easiest way to do that is to generate a list in the form:
hf, p, lf, p …
where hf is the high frequency and lf is the low frequency for the FSK, and p is the time period of a single pulse. Then use Nyquist’s PWLVR-LIST function to convert that list into a control signal. The control signal can then be used to modulate a HZOSC function.

So how would I write the code for a plugin of that sort?

Free software already exists to do that, see …
https://www.google.com/search?q=rtty+coder+decoder+freeware

Are you thinking something along the lines of: hf 1800 p 110? I’m not sure how to calculate BAUD rate. I know it’s 5-bit codes, but the duration I’m not sure of. Here’s an example. https://www.youtube.com/watch?v=6Z434FAgeXw