[ANSWERED] Morse Code input into Isadora to Generate Text?
nickdoesisadora last edited by Woland
Is there a way to take an input, such as an arduino button, being pressed in morse code, to correspond with a letter that isadora generates (like pressing .... .. shows H-i on the screen, then fades out after 5 seconds)? I know how to link arduino to isadora, I cannot think of how to make it recognize morse code and create something based off of that, and stay.
Yes.... I can visualise a way to do that. It would be contingent on regular timing of input from the Arduino as triggers and pauses so that a trigger or beep sequence becomes a number tally. The Arduino, through the Serial Watcher initialise the sequence and a longer pause can be detected to signal the end of a sequence. A Timer and Comparator pairing with a reset trigger could then be used to identify the pause length between beep sequences. The tally number is then compared to a corresponding letter and, for example, triggered and added to a text accumulator.
The concept is possibly implemented simply with a few linked modules and then iterated to cover the whole alphabet. You could develop the idea for only a few letters as a proof of concept. When the concept configuration is working as expected then expand the iteration to cover the rest of the characters needed.
Fred last edited by
I would guess that doing everything in Arduino and sending the letter to Isadora might be easier. You can have some precise control over timing on an Arduino that does not have to do anything else. There are quite a few hits when you search Arduino Morse code. Here is one that could be a good head start:
Too late I got interested and made a Morse Code Patch in Isadora
I used the spacebar as a stand-in for a different kind of trigger. You have to hold down the space bar to get a dash, press it quickly to get a dot, and if you don't press anything for half a second it interprets that as the start of a new letter. Play around with it to get a feel for it. If you have the Arduino sending 1's and 0's for dots and dashes this patch will be easy to adapt. You'll probably have to fiddle around with the Trigger Delay actors I put in various places.
dbini last edited by
that is incredible logic.
deflost last edited by
nice to have it this way, but what about the other directon? hm. have to think.
thanks a lot.....
We know :)
fubbi last edited by
nice to have it this way, but what about the other directon?
What other direction? Typing and having it translated to morse code? Like this?