[GreenKeys] RTTY engine using SOX and Perl
Jordan Spencer Cunningham
js at teletype.net
Thu Aug 26 22:55:10 EDT 2021
fldigi can be remotely controlled via its XMLRPC functionality: http://www.w1hkj.com/FldigiHelp-3.22/xmlrpc_control_page.html
I use this for both Tx and Rx in combination with a Volpe board for printing to my machines along with some scripts I wrote and Icecast to automate broadcast of pre-written, scheduled messages. I call it a poor man's TU. Works pretty well for what it is. I need to work out a couple bugs with the tx scripts and even more bugs with the overarching architecture underpinning the automated rx/printing mechanisms, but it functions to my satisfaction 99.7% of the time. It's what I use to produce the Halloween and Santa Tracker broadcasts (gear up for year three of these, by the way-- it's a comin'): https://teletype.net/display/TEL/Internet+Teletype+-+ITTY
There's also minimodem-- a basic text-based (CLI) program that others on GreenKeys have used for similar purpose. Being a CLI-based program, it's very automatable. I tried using it instead of fldigi as it runs *much* lighter, and I'd rather not have a GUI when I don't need one. However, I didn't have as much success with it. I may need to try again when I have more time.
But it looks like you have built something that seems to work pretty well-- nice and scrappy, a true GreenKeys trait. I copy your test message fine.
-
Jordan Spencer Cunningham
teletype.net | GreenKeys Search Engine: teletype.net/gksearch
SMS via teletype: 385-308-4898 | Email via teletype: tty at nerdology.org
On Thu, Aug 26, 2021, at 4:44 PM, steve bennett via GreenKeys wrote:
> Greenkeys,
>
> Thanks for answering all my questions about RTTY tones.
> It was a big help.
> Here is what I accomplished today using that information.
>
> I'm attempting to create a command line script for linux that can convert text to RTTY or iTTY tones.
> I would have rather used one someone else already wrote but could not find one.
> Yes I know GUI programs like FLDIGI and MMTTY can create the tones
> but I wanted it to be scriptable so it can be automated.
>
> I started by using an audio editor called GoldWave to create Mark ,Space and Stop tones of the correct pitch
> and duration.
> mark.wav space.wav and stop.wav
> (this step could have been done with sox)
>
> With those basic building blocks I wrote a CSH script that uses SOX to concatenate the tones into BAUDOT tones.
>
> sox space.wav mark.wav mark.wav space.wav space.wav space.wav stop.wav a.wav
> (the first space is a start bit)
>
> This creates a.wav with start and stop bits.
> Repeat for all the other characters.
>
> Now I have a.wav, b.wav, c.wav........z.wav....etc
>
> Finally I wrote a perl script that used these wav files to convert input text to baudotout wav
>
> cat quickBrownFox.txt | txt2fsk.pl
> Presto! It creates baudotout.wav ready for RTTY or iTTY. consumption
>
> Here is a link if anyone cares to test the result.
> 45.45 baud, 1.5 stop bits
> 2295 space
> 2125 mark
>
> Please give it a try and let me know if you can copy it.
> https://www.dropbox.com/s/dfpuj471rw9r20h/quick%20brown%20fox.wav?dl=0
>
> Thanks,
> -Steve
>
>
> ______________________________________________________________
> GreenKeys mailing list
> Home: http://mailman.qth.net/mailman/listinfo/greenkeys
> Help: http://mailman.qth.net/mmfaq.htm
> Post: mailto:GreenKeys at mailman.qth.net
>
> >>> Jordan Spencer Cunningham's GreenKeys Search Tool: https://teletype.net/gksearch
> >>> 2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/
> >>> 1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html
> >>> Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html
>
> This list hosted by: http://www.qsl.net
> Please help support this email list: http://www.qsl.net/donate.html
> Message delivered to js at teletype.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qth.net/pipermail/greenkeys/attachments/20210826/294360a1/attachment.html>
More information about the GreenKeys
mailing list