<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I'm sure that it's one of latest pd-vanilla feature<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 15/06/2016 à 19:42, Pagano, Patrick
      a écrit :<br>
    </div>
    <blockquote cite="mid:1466012572816.39274@digitalworlds.ufl.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
      <p>what external lib provides for the [list fromsymbol] ?<br>
      </p>
      <p><br>
      </p>
      <p>Patrick<br>
      </p>
      <p><br>
      </p>
      <div id="Signature">
        <div style="font-family:Tahoma; font-size:13px">
          <div><font size="3"><i>Patrick Pagano B.S, M.F.A</i></font></div>
          <div>Audio and Projection Design Faculty</div>
          <div>Digital Worlds Institute</div>
          <div>University of Florida, USA</div>
          <div>(352)294-2020</div>
        </div>
      </div>
      <div style="color: rgb(33, 33, 33);">
        <hr tabindex="-1" style="display:inline-block; width:98%">
        <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
            face="Calibri, sans-serif" color="#000000"><b>From:</b>
            Pd-list <a class="moz-txt-link-rfc2396E" href="mailto:pd-list-bounces@mail.iem.at"><pd-list-bounces@mail.iem.at></a> on behalf of
            patrice colet <a class="moz-txt-link-rfc2396E" href="mailto:colet.patrice@free.fr"><colet.patrice@free.fr></a><br>
            <b>Sent:</b> Wednesday, June 15, 2016 1:25 PM<br>
            <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:pd-list@mail.iem.at">pd-list@mail.iem.at</a><br>
            <b>Subject:</b> Re: [PD] Morse Code Translator / Decoder</font>
          <div> </div>
        </div>
        <div>
          <p>Hello,</p>
          <p> I've made such patch to decode termites hammering into
            morse.</p>
          <p> It uses the process described by andy, and datastructure
            for storing characters, it could also now be done with
            [text]</p>
          <p>I've made a version where [env] testes if there is sound
            amplitude or not,</p>
          <p>and compare with templates stored into datastructure.<br>
          </p>
          <p> Attached is that version that should work with mjlib/morse
            and latest pd-vanilla.</p>
          <p>Best,<br>
          </p>
          <p>patco<br>
          </p>
          <br>
          <div class="moz-cite-prefix">Le 15/06/2016 à 15:34, Andy
            Farnell a écrit :<br>
          </div>
          <blockquote type="cite">
            <pre>Yes did that once, but I lost it years ago (the 
patch I mean)

IIRC its not that hard.

Use a [timer] and onset/tone detector,
and an array that looks up the next state.
You need a way to navigate a tree - a state machine
with 26 terminal nodes (36 if you want numbers)
and there are four symbols to transition states,
dot, dah, short space and long gap (between letters)

The array is a 4-tree collapsed into a "Turing tape"
so you use the symbol to select the offset (jump) 
to the next state (table index) based on the last
symbol. A long gap always resets the index to 0. 

cheers,
andy


On Tue, Jun 14, 2016 at 11:41:20AM -0400, me.grimm wrote:
</pre>
            <blockquote type="cite">
              <pre>Hello,

Has anyone made a patch/abstraction to "decode" or translate morse code to
text? I see text->morse but not the other way around....

thanks!
m
</pre>
            </blockquote>
            <blockquote type="cite">
              <pre>_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
            </blockquote>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
          </blockquote>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>