LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Old February 3rd 05, 02:35 AM
Doug McLaren
 
Posts: n/a
Default

In article .com,
bb wrote:

| If you want a program to do it --
|
| #!/usr/bin/perl -w
| # C Q D E K B 3 E I A P S E
| K
| my $string = ".-.- --.-\n-.. .\n-.- -... ...-- . .. .-\n.--. ... .-.-" ;
| foreach my $c (split (//, $string)) {
| if ($c eq ".") { print "10" ; next } ;
| if ($c eq "-") { print "1110" ; next } ;
| if ($c eq " ") { print "00" ; next } ; # Only two 0s, because
| the last
| # character ended with
| a 0.
| if ($c eq "\n") { print "000000" ; next } ; # ditto, but 6.
| }
| print "\n" ;
....
| Doug, please perform the same exercise for all variations of the
| Farnsworth code. Thanks.

Um, I'll pass

I'm not sure what the value would be, but if you really think it's
worthwhile, you can work out the timings yourself, and use my program
to print out your 1s and 0s. (perl is available on most operating
systems, including Windows, if you need it.)

All you'd have to do is change the `00' and `000000' print statements
to include more zeros. (But don't forget that there's already a 0
printed as a part of the last character when calculating the timings.)

In any event, the expected timings for `standard' morse code are well
defined -- a dah is 3x as long as a dit, the space between dits and
dahs is as long as a dit, the space between characters is 3x as long
as a dit, and the space between words is 7x as long as a dit. The
Farnsworth method merely makes the 3x and 7x gaps longer.

(My little program uses \n's to indicate the end of a word. This is
needed because the `.-.- --.-' notation really has no standard way of
indicating the difference between a 3-dit long pause and a 7-dit long
pause.)

--
Doug McLaren,
internet, eh? I hear they have that on computers now.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Morse Code: One Wonders... and Begins to Think ! [ -- --- .-. ... . / -.-. --- -.. . ] RHF Shortwave 0 January 5th 04 03:49 PM
Response to "21st Century" Part One (Code Test) N2EY Policy 6 December 2nd 03 04:45 AM
My response to Jim Wiley, KL7CC Brian Policy 3 October 24th 03 01:02 AM
Some comments on the NCVEC petition D. Stussy Policy 13 August 5th 03 05:23 AM
NCVEC NPRM for elimination of horse and buggy morse code requirement. Keith Policy 1 July 31st 03 04:46 AM


All times are GMT +1. The time now is 08:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017