Homesessive Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Morse code translator - Code Golf Stack Exchange

    codegolf.stackexchange.com/questions/131

    I created a string of alphanumerics such that their placement in the string describes their Morse code representation. Originally I was going to use binary, but 01 would be the same as 1. So I used ternary with - = 1 and . = 2. Thus is character c is at index 1121 in this string, its Morse code representation is --.-.

  3. Morse code generator in sound - Code Golf Stack Exchange

    codegolf.stackexchange.com/questions/2618/morse-code-generator-in-sound

    Closed 3 years ago. Inspired by the Morse code question, and the Twinkle Twinkle little star question, write a program to accept a letter and generate the morse code audio for that letter. Shell script (2 characters): cw. Accepts a line from standard input. Before running, do sudo apt-get install cw.

  4. Translate Morse code based on tone duration

    codegolf.stackexchange.com/questions/148285

    This is a very basic lookup table solution. The first three lines transform the input so dashes are _ s and dots are 1 s. First, 000 s are replaced with ;, so characters are separated by ; and words by ;;0. Then 111 s are replaced by _ and all remaining 0 s are discarded, leaving 1 s for dots. s/000/;/g.

  5. Morse Decode Golf - Code Golf Stack Exchange

    codegolf.stackexchange.com/questions/36735

    Morse code symbols are stored by changing "." and "-" into binary digits 0 and 1, prepending a "1" (so that leading dots aren't gobbled up), converting the binary number into decimal, and then encoding the character with the value 61 higher (which gets me all printable chars and nothing that needs backslashing).

  6. Write a formatted Morse code cheatsheet

    codegolf.stackexchange.com/questions/122229

    This is a formatted table of the Morse codes of the letters from A to Z. Each column is separated by three spaces. There are four missing slots, which are used by international character sets. Your program must write a space there. The output must consist of ASCII spaces, dots, dashes, uppercase letters and newlines (either LF or CRLF) only.

  7. Is this string a palindrome (in Morse Code)?

    codegolf.stackexchange.com/.../174319/is-this-string-a-palindrome-in-morse-code

    the end of the code generates the Morse alphabet, with dots as \x08 and dashes as \x07, and separated by tabs. c splits the string by the tabs. XzG translates (X) the input (z) from the alphabet (G) to this "Morse alphabet". s sums (joins) the Morse symbols together. For empty inputs, returns 0, but this is not a problem.

  8. code golf - They call me Inspector Morse - Code Golf Stack...

    codegolf.stackexchange.com/questions/181318

    A string is dot-heavy when its morse representation contains more dots than dashes. For example, the letter E is a single dot, which means it is Dot-heavy. Input The input string will only contain

  9. Write a hash function for Morse Code

    codegolf.stackexchange.com/questions/19727

    From the specs "Your goal is to write a hash function, that accepts Morse Code characters and returns a hash code that you get to define." Standard hash codes, e.g. from md5 or sha1 can be interpreted as negative numbers, especially in languages without unsigned types like Java or Basic. There are two requirements: the returned number should be ...

  10. Write a Morse Calculator - Code Golf Stack Exchange

    codegolf.stackexchange.com/questions/74942/write-a-morse-calculator

    The current global accumulated result is the definitive value. This is tranformed into Morse digits and displayed. Detailed explanation 5:t!< % first half of the 10x5 array of Morse digits, with 0 for - and 1 for . t~v % vertically concat second half, i.e. first half vertically flipped 45+cXI % transform 0 1 to chars - .

  11. Telegraphy Golf: Decode Baudot Code

    codegolf.stackexchange.com/questions/94056

    In 1870 Émile Baudot invented Baudot Code, a fixed-length character encoding for telegraphy. He designed the code to be entered from a manual keyboard with just five keys; two operated with the left hand and three with the right: The right index, middle and ring fingers operate the I, II, and III keys, respectively, and the left index and ...