A Python-based Morse code decoder.
Aravind V.
This project decodes Morse code from audio files (WAV/MP3) or live microphone input. It analyzes the audio to identify Morse code tones, determines the timing of dots and dashes, and translates them into text.
- Python 3
- ffmpeg: This project uses the
pydublibrary, which requiresffmpegfor audio processing. Make sure you haveffmpeginstalled and accessible in your system's PATH.
-
Clone the repository:
git clone https://github.com/your-username/pyMorseDecoder.git cd pyMorseDecoder -
Install the required Python libraries:
pip install -r requirements.txt
python main.py /path/to/your/audio.wavpython main.py micYou can also specify the recording duration (in seconds) and sample rate:
python main.py mic --duration 10 --sr 22050