Net Deals 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. code golf - Nightmare Puzzlang translator - Code Golf Stack...

    codegolf.stackexchange.com/questions/172586/nightmare-puzzlang-translator

    Then the following code. XX... X..X. X..XX X..XX X.XX. translates to 4a b4 66 03 56 4b bf d2 6e fd c3 2c 70 in hex, or J´f VK¿ÒnýÃ,p as a string. Note that the resulting string will very likely have ASCII unprintables. Task. Translate the given Nightmare Puzzlang code into a string. Input & output

  8. 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.

  9. 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

  10. the red-nosed reindeer - Code Golf Stack Exchange

    codegolf.stackexchange.com/questions/197455

    Equivalent to K = input().split(' '). Unpack the array that stores the Morse code width (in dots+dashes) of each letter of the song (474 elements), packed in base 4 (with 1 subtracted from each element) in an 119 byte base 256 encoded string. Luckily there happened to be no characters that needed escaping.

  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 ...