Methods of doing AFSK Internet broadcasts like ITTY are interesting. I
thought the idea of splicing together mark and space tone files was very
clever.
I wonder about the need for audio compression. I did a microcontroller
project that streamed live audio using ADPCM and PCM. The PCM used 16 bit
samples at 44.41 kHz. But, I think for RTTY, 8 bit samples at 8 kHz should
be fine (since that's what circuit switched telephone uses). In my
application, on receiving the HTTP request, I sent the WAV header with a
very large file size, then just started sending the samples.
As mentioned, I do think the splicing of tone files is very clever!
Another method that would be interesting is direct digital synthesis.
Depending on the desired frequency, each successive sample would be some
number of steps through a sine table from the previous sample.
Anyway, interesting stuff!
Harold