• jungle
      link
      fedilink
      32 years ago

      Not really, Morse code is not binary, but tertiary.

      • @BlackRose@slrpnk.net
        link
        fedilink
        52 years ago

        I’d say it’s quinary but can easily be represented binarily

        1. short mark, dot or dit ( ▄ ): 1

        2. longer mark, dash or dah ( ▄▄▄ ): 111

        3. intra-character gap (between the dits and dahs within a character): 0

        4. short gap (between letters): 000

        5. medium gap (between words): 0000000

              • @BlackRose@slrpnk.net
                link
                fedilink
                12 years ago

                Optimized to use less symbols by combining them (long gap between words is just three short gaps). I also think if a sentence ends, there would be the unnessecary 0 from the dots and Dashes at the end.

        • jungle
          link
          fedilink
          12 years ago

          Yes, the space is a necessary symbol in Morse code, otherwise it’s impossible to decode.

          • @fibojoly@sh.itjust.works
            link
            fedilink
            12 years ago

            Makes sense. I remember asking myself whether Morse was a form of Huffman encoding back when I was learning that stuff. And it kinda is going for that, but without actually doing it properly since it wasn’t a binary code per se and so could use the pauses. “Ternary” makes sense.

            • jungle
              link
              fedilink
              22 years ago

              Right, Morse was actually mentioned as an example when I was learning Huffman encoding. :)

    • Lifted_lowered
      link
      fedilink
      02 years ago

      Unless I’m mistaken I would say that it’s the other way around, Morse code is more like a human readable machine language expressed in binary because the 26 character alphabet is expressed in different binary values, much like ASCII.