Questions tagged [morse-code]
An alphabet or code in which letters are represented by combinations of short and long signals of light or sound traditionally notated with dots (.) and dashes (-).
26 questions
7
votes
4
answers
10k
views
Simple Morse Code Converter (Python)
I created a simple text to morse code converter in python, and was wondering if there was an easier/shorter way to do this. Is there a way to generate the dictionary without having to hard-code every ...
9
votes
2
answers
1k
views
Morse Translator in Python
I am a beginner in Python, and I made a Morse translator that converts letters to Morse, and Morse to letters (where a decimal point is 'dot' and underscore is 'dash'). Is there any way I could make ...
4
votes
1
answer
400
views
Morse code encoder/decoder with playback ability
recently I wanted to create a morse encoder/decoder with playback ability, the program needs java version >= 11 to run.
the program requires a couple of ...
6
votes
1
answer
489
views
Python Morse Code Translator
I've been teaching myself Python over the last few weeks, I have an interest in cryptography, codes, etc. so I figured starting a Morse code translator would be a good project. I know my variable ...
5
votes
1
answer
226
views
Reddit Challenge #380 Python
I'm completed the Reddit challenge #380 (source).
Here is an abbreviated description:
Normally [in Morse code], you would indicate where one letter ends and the next begins, for instance with a space ...
3
votes
2
answers
245
views
Morse code encoder decoder
I created this morse code encoder and decoder.
...
5
votes
1
answer
459
views
Decode ambiguous Morse code
Stumbled upon this interview question:
Given a morse encoded sentence with no spaces or separation between letters or words and a list of words contained in the message, decode it.
This was my ...
3
votes
2
answers
950
views
Challenge: MORSE_CODE.PY
Converting words to morse code and vice versa using dictionaries and that's it.
...
4
votes
6
answers
3k
views
Text-to-Morse code converter
I created a morse converter from a .txt file.
I'm learning java and I created a simple morse converter. Convert only A to Z and 0 to 9 chars. Space char remain for split words in morse-code.
At the ...
4
votes
0
answers
306
views
Morse Code Blinking through Caps Lock in PowerShell
I'm new to writing PowerShell scripts, and this would be my first relatively large undertaking in the language. Any feedback regarding style and readability would be greatly appreciated. Particularly, ...
3
votes
2
answers
116
views
Contest Solution: Remorseful Sam
The Problem
Sam Morose served for many years as communications officer aboard the U.S.S. Dahdit, a U.S. Coast Guard frigate
deployed in the South Pacific. Sam never quite got over the 1995 ...
7
votes
2
answers
7k
views
Decode the Morse Code
From Code Wars:
This kata is part of a series on the Morse code. After you solve this kata, you may move to the next one.
In this kata you have to write a simple Morse code decoder. While the ...
7
votes
2
answers
2k
views
Counting ambiguous Morse Code encodings, with and without Java Streams
Unique Morse Code Words
International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: "a" maps to ...
12
votes
3
answers
1k
views
Raspberry-Pi morse-code LED
I am new to programming, python and raspberry-pi, but I am keen to learn more. After doing a few basic tutorials I though it might be best to give it a shot and just come up with a task in which I ...
7
votes
3
answers
2k
views
Morse code translator GUI
I made a Morse code translator in Java in which a user inputs a word/words into a text field and the program converts it to Morse code and beeps the Morse code. I have a feeling that my code could be ...
3
votes
2
answers
3k
views
Morse Code Conversion
Challenge
Write a program which reads a file containing Morse Code and outputs the conversion.
Specifications
The first argument is a path to a file.
The file contains multiple lines.
Each line ...
10
votes
2
answers
8k
views
Converting Morse Code
Challenge
Write a program which reads a file containing Morse Code and outputs the conversion.
Specifications
The first argument is a path to a file.
The file contains multiple lines.
Each line ...
7
votes
4
answers
24k
views
Morse code translator in C#
I'm writing a Morse code translator for homework in C#. It takes an input from the user and returns the Morse code version of their input. I understand that this code may look horrible, so how could I ...
7
votes
3
answers
5k
views
Morse code translator
I have a Morse Code translator, which can translate text to Morse code and vice-versa. Note that for the two files that the first three lines are generated by the Code::Blocks IDE.
translator.h
<...
23
votes
1
answer
2k
views
Simple Morse code interpreter
This is a simple Morse code interpreter with a CLI. It's a naive table-lookup implementation, and uses my-py for type checking. It automatically detects the input (English or Morse) and converts ...
4
votes
1
answer
1k
views
Morse code string - follow-up 2
This is my second follow-up. Major changes made:
Use a Map instead of an enum for the Morse characters
Added ...
6
votes
3
answers
1k
views
Morse code string - follow-up
This is probably one of the many follow-ups coming. What I have edited:
Added equals() and hashCode()
Added ...
11
votes
4
answers
5k
views
Morse code string
I was bored recently and decided to write a class, MorseString. What this class does, is it takes a String that is coded like ...
7
votes
1
answer
2k
views
Morse code converter
I wanted an uncomplicated project to get myself started again. Although this works I was wondering if it's the best approach, especially when it comes to validation parts? It seems to me that I'm ...
17
votes
4
answers
4k
views
Morse code emitter
As the first step for writing a Morse code practice program, I thought I'd start with the very simplest step of a text-based Morse code translator. This simple program reads lines from ...
5
votes
2
answers
2k
views
Python implementation of a Morse code translator
Here is my solution to reddit.com/r/dailyprogrammer #93 (easy)., which is a Python script that translates between English and Morse code.
Is String_To_Translate a ...