Skip to content

ohboyftw/pyMorseDecoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyMorseDecoder

A Python-based Morse code decoder.

Author

Aravind V.

Description

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.

Dependencies

  • Python 3
  • ffmpeg: This project uses the pydub library, which requires ffmpeg for audio processing. Make sure you have ffmpeg installed and accessible in your system's PATH.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/pyMorseDecoder.git
    cd pyMorseDecoder
  2. Install the required Python libraries:

    pip install -r requirements.txt

Usage

From an audio file:

python main.py /path/to/your/audio.wav

From the microphone:

python main.py mic

You can also specify the recording duration (in seconds) and sample rate:

python main.py mic --duration 10 --sr 22050

About

A simple Python Morse Decoder using ffmpeg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages