![]() Lighton(mx, my, lightoncolour, lightvariance, blinkrate) ![]() Morse(mc) function to get the morse code to letters. ToolTip, %code%, 600, 300, 2 updates the text 3 if the space is equal to 7 times the "dit" length 2 if we are onto the next letter, ie the space between flashes is a "daa" length 1 if we are still on the same letter, ie the space between flashes is a "dit" length Lightoff := lightoff(mousex, mousey, lightoffcolour, lightvariance, blinkrate) returns a 1, 2 or 3 (not 3, it is not working and is more than I need) and -Ĭode = %code%%lighton% updates the letter morse code Lighton := lighton(mousex, mousey, lightoncolour, lightvariance, blinkrate) returns a "dit" or a "daa" (_) based on time the light is on. ToolTip, %text%, 400, 30, 2 updates the text Menu(location, lightoncolour, lightoffcolour, blinkrate, text) updates the menu PixelGetColor, lightoffcolour, MouseX, MouseY takes the off light colourį4:: adjusts the blinking speed by 10 millisecondsį5:: adjusts the blinking speed by 10 millisecondsį7:: drops the text that has been decoded onto your clipboard PixelGetColor, lightoncolour, MouseX, MouseY Menu(location, lightoncolour, lightoffcolour, blinkrate, text)į2:: takes the on light colour from the location Would you like to open it for editing?į1:: sets the location to where the mouse is pointing MsgBox, 4, The script could not be reloaded. Sleep 1000 If successful, the reload will close this instance during the Sleep, so the line below will never be reached. Menu(location, lightoncolour, lightoffcolour, blinkrate, text) to get the ugly help keys on the screenį12:: reloads the script, was not intended to be left in but whatever Lightvariance := 100 not modifiable from hotkeys but easy to add if required You might need some experience reading morse code before you can instantly pick it up.Code: Select all # Lastly, if you turn on the “flash” button, you will see a tiny box that will quickly flash white to indicate a dot, and black to indicate a break. You can also play the morse code sound, which will sound like a classic telegram. Making a wave file has the advantage that it is universally playable, and that there will be no loss of audio quality. You can also download morse audio, which will let you download a wave file with your actual text as the name. This way, you can hear your sentence (which might be quicker than proof-reading). Clicking on Play Text will use activate an AI audio narrator that read out the English text back to you. These buttons are there to make the experience a little more interactive for you. ![]() You will notice, at the bottom of the text, there will be a “Play Text”, “Download Morse Audio”, “Play Morse”, and “Flash”. If you know morse code, then you can even translate back from morse code, just make sure to add a space bar between each letter, or the translator will return a #, which means there was an error. If you are learning morse code, this tool can be very helpful as you can immediately identify any mistakes by testing directly on the tool. If you see a # in the box, then that will be because there is no way to convey that letter over morse code, e.g., #, %, ^, *, and to name a few. To use the completely free morse code translator, just type the letters, numbers, complete with punctuation into the box above, and its morse code translation will automatically appear in the bottom box. One text box will be where you input your English sentence, and the other is where you will get an output in morse code. When you go to the page, you will find two text boxes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |