what external lib provides for the [list fromsymbol] ?

Patrick


Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020
________________________________
From: Pd-list <pd-list-boun...@mail.iem.at> on behalf of patrice colet 
<colet.patr...@free.fr>
Sent: Wednesday, June 15, 2016 1:25 PM
To: pd-l...@mail.iem.at
Subject: Re: [PD] Morse Code Translator / Decoder


Hello,

 I've made such patch to decode termites hammering into morse.

 It uses the process described by andy, and datastructure for storing 
characters, it could also now be done with [text]

I've made a version where [env] testes if there is sound amplitude or not,

and compare with templates stored into datastructure.

 Attached is that version that should work with mjlib/morse and latest 
pd-vanilla.

Best,

patco

Le 15/06/2016 à 15:34, Andy Farnell a écrit :

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:


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


_______________________________________________
Pd-list@lists.iem.at<mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list




_______________________________________________
Pd-list@lists.iem.at<mailto:Pd-list@lists.iem.at> mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to