[GreenKeys] RTTY engine using SOX and Perl
steve bennett
raleigh_ranger at yahoo.com
Thu Aug 26 22:33:53 EDT 2021
John,
Thanks for giving it a try.I did it all in linux except for the initial Mark and Space sine waves.Created those in Windows with GoldWave.I did not include CR/LF in this. Only LTRS and letters A-Z.It's a work in progress and I have not implemented all the other characters yet.Yes I think the strange sound has something to do with the program I used to generate the sine waves.They came out looking more like stair cases than sine waves but close enough to work I guess.Still investigating that.
In the future I will add more LTRS at the beginning to give machines more time to get up to speed.Lesson learned.
Thanks for the feedback,-Steve AD8CI
On Thursday, August 26, 2021, 10:15:23 PM EDT, John, W9DDD <w9ddd at tapr.org> wrote:
Just got in the shack to try it. Yes it seems to print OK, but there's
no CR LF that I could decode. Unless perhaps it's at the beginning in
which case the autostart delay of my TU would have missed it.
But to the ear, it sounds strange compared to ITTY or any RTTY I've
heard over the years. Perhaps there's a gap between 22ms bursts? I'm
not at all familiar with the programs you used, but I'm guessing it's
possible to perform differently on different processors or OS'es.
---
----
The above comments or recommendations are SWAG. Use at your own risk.
John, W9DDD
On 8/26/2021 5: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 w9ddd at tapr.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qth.net/pipermail/greenkeys/attachments/20210827/e860c3c6/attachment.html>
More information about the GreenKeys
mailing list