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
On 14/06/2016 17:41, 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....
Not AFAIK, but the problem would be, how would the input morse code be encoded? Audio Beeps? Audio "Ticks"? Light? text? binary digits? What timing convention? (see e.g. [1]). Seems like just the 'decoding' of the message in itself might be an interesting task :)
Lorenzo.
[1] https://en.wikipedia.org/wiki/Morse_code#Representation.2C_timing_and_speeds
thanks! m
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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 mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
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 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
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-bounces@mail.iem.at on behalf of patrice colet colet.patrice@free.fr Sent: Wednesday, June 15, 2016 1:25 PM To: pd-list@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.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.atmailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I'm sure that it's one of latest pd-vanilla feature
Le 15/06/2016 à 19:42, Pagano, Patrick a écrit :
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-bounces@mail.iem.at on behalf of patrice colet colet.patrice@free.fr *Sent:* Wednesday, June 15, 2016 1:25 PM *To:* pd-list@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 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
Le 15/06/2016 à 19:42, Pagano, Patrick a écrit :
what external lib provides for the [list fromsymbol] ?
I think a good way to optimize this patch would be also to store strings in [text] object instead of characters stored into scalars, then snd2morse~ would output strings
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-bounces@mail.iem.at on behalf of patrice colet colet.patrice@free.fr *Sent:* Wednesday, June 15, 2016 1:25 PM *To:* pd-list@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 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
Is [list-compare] from an external library? It's not in vanilla.
Joel
On 06/15/2016 12:25 PM, patrice colet wrote:
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 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
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Le 15/06/2016 à 19:57, Joel Matthys a écrit :
Is [list-compare] from an external library? It's not in vanilla.
I forgot to put this in a subpatch, sorry for that, it's in [list-abs]
Joel
On 06/15/2016 12:25 PM, patrice colet wrote:
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 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
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
It is a little bit [OT], but here is an installation I co-produced with Cécile Babiole. It is a chat between two people based on a network working with water (coding en decoding (extended) Morse) : http://babiole.net/spip.php?article101 It is now exhibited in Espace Gantner in Bourogne (East in France) : http://www.espacemultimediagantner.cg90.net/exposition/anarchronisme-machine... ++
Jack
Le 15/06/2016 20:03, patrice colet a écrit :
Le 15/06/2016 à 19:57, Joel Matthys a écrit :
Is [list-compare] from an external library? It's not in vanilla.
I forgot to put this in a subpatch, sorry for that, it's in [list-abs]
Joel
On 06/15/2016 12:25 PM, patrice colet wrote:
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 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
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
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
hey thats great patrice thanks!
also... nice installation... love the water/air as code idea.
cheers m
On Thu, Jun 16, 2016 at 8:24 AM, Jack jack@rybn.org wrote:
It is a little bit [OT], but here is an installation I co-produced with Cécile Babiole. It is a chat between two people based on a network working with water (coding en decoding (extended) Morse) : http://babiole.net/spip.php?article101 It is now exhibited in Espace Gantner in Bourogne (East in France) :
http://www.espacemultimediagantner.cg90.net/exposition/anarchronisme-machine... ++
Jack
Le 15/06/2016 20:03, patrice colet a écrit :
Le 15/06/2016 à 19:57, Joel Matthys a écrit :
Is [list-compare] from an external library? It's not in vanilla.
I forgot to put this in a subpatch, sorry for that, it's in [list-abs]
Joel
On 06/15/2016 12:25 PM, patrice colet wrote:
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 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
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
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
That looks awesome! Like megrimm said, I like the physical visualization of the code with the water and air pulses.
Apologies in advance for going more tangential, but I've been intrigued by the interplay and interconnections between telecommunications technologies and art, although my technical knowledge of the former is a bit thin... And esp as a percussionist, I could see morse code transcription as a basis for an interesting audio/visual performative piece. I've def got to look into it more, the most I've done with morse is do fake morse code by playing random sequences of beeps on a bunch of networked phones...
This e-mail thread has been inspiring, thanks pd-list! Back to regular pd-list programming...
Derek
On Jun 16, Jack wrote:
It is a little bit [OT], but here is an installation I co-produced with Cécile Babiole. It is a chat between two people based on a network working with water (coding en decoding (extended) Morse) : http://babiole.net/spip.php?article101 It is now exhibited in Espace Gantner in Bourogne (East in France) : http://www.espacemultimediagantner.cg90.net/exposition/anarchronisme-machine... ++
Jack
Le 15/06/2016 20:03, patrice colet a écrit :
Le 15/06/2016 à 19:57, Joel Matthys a écrit :
Is [list-compare] from an external library? It's not in vanilla.
I forgot to put this in a subpatch, sorry for that, it's in [list-abs]
Joel
On 06/15/2016 12:25 PM, patrice colet wrote:
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
===================== Derek Kwan www.derekxkwan.com
On Wed, Jun 22, 2016 at 03:33:14PM -0700, Derek Kwan wrote:
intrigued by the interplay and interconnections between telecommunications technologies and art,
And design? Morse Code is quite clever, in efficiency by symbol frequency and disambiguity of frequently adjacent symbols. Good protocols are products of design and evolution and have a certain beauty of their own I think.
Andy
I suppose I haven't fully investigated the details of morse code quite yet (btw, I've come up with my own pd transcription patch that I can share that uses the [text] objects that Patrice mentioned, but before it comes to that it needs a lot of tweaking...).
I suppose I've been fascinated with how the worlds of communcations technology and music are so intertwined. Stretching the idea of technology a bit, rudimental drumming, something every percussionist learns going through school, has its roots in military (at least back to civil war days, if not earlier) and communicating orders to troops (and I suppose in a superficial way it's related to morse code in how it uses more-or-less codified rhythms to communicate information). The first public wireless radio broadcasts (AM I think) were done by Lee de Forest at the beginning of the 20th C and it was of live Metropolitan Opera concerts. Of course AM (and FM) would later find roles in synthesis techniques for computer music. Jumping way ahead, the Internet has drastically changed the way music is accessed and shared and how it proliferates (not to mention who is able to participate in music creation and sharing). And the technologies that have sprung up around it have opened up new avenues of muscial expression. I've helped out in concerts where live performers play alongside other live performers from the other side of the country (of course not possible without Internet technology). Open-source music proejcts and the communities around them such as this community and Pure Data thrive because the Internet allow the software to be easily distributed and allow the community to organize and contribute. And web standards such as Web Audio API and backend tech such as Node.js have allowed for new ways of interacting with music, I've used them myself in concerts to trigger sounds on people's phones. And of course the big field of DSP covers everything from the the techniques we use in computer music to how cell phones work.
Anyways, I'm not too familiar with the design of the Morse code but I'll be sure to at least read down the relevant bits of the Wikipedia page and/or any other resources you might suggest =).
Derek
On Jun 23, Andy Farnell wrote:
On Wed, Jun 22, 2016 at 03:33:14PM -0700, Derek Kwan wrote:
intrigued by the interplay and interconnections between telecommunications technologies and art,
And design? Morse Code is quite clever, in efficiency by symbol frequency and disambiguity of frequently adjacent symbols. Good protocols are products of design and evolution and have a certain beauty of their own I think.
Andy