This would be an interesting project to test. I mean I could take the code I showed above, and while sampling every 10 milliseconds for a 0 or 1 condition, draw a line on a Tk canvas and see what it might look like, and whether I could produce a program to convert it to letters. I would expect it to look something like Morse code, but the width of each on-state would have to be put through some artificial intelligence program to detect whether it was a dit or dash. Then there is the problem of the silence between letters, and it's duration, compared to the silence within a sent letter. For instance, How would I know whether a single "dit dit" was sent, rather than 2 sucessive "dits"?
It all seems doable, but what happens if the sender's speed and intervals subtlely change over time? So now the AI code needs to keep running averages of the sender's current delay-intervals.
All possible, but it would be pretty complex code to gaurantee good transcription accuracy.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.