A feature-rich Python Morse code translator with text-to-sound conversion, interactive learning mode, and comprehensive translation capabilities.
- Text β Morse Translation - Bidirectional conversion with full punctuation support
- Audio Playback - Hear Morse code with realistic timing and tones
- Interactive Learning - Practice mode with quizzes and statistics
- File Support - Save and load translations
- Cross-platform - Works on Windows, macOS, and Linux
- Multiple Sound Backends - Uses winsound (Windows) or simpleaudio (cross-platform)
- No GUI Dependencies - Runs in terminal, easy to integrate
- Extensible - Clean architecture for adding new features
- Python 3.7 or higher
- For sound on non-Windows systems:
simpleaudio
# Clone the repository
git clone https://github.com/amineTNYT/morse-code.git
cd morse-code-translator
## Optional Sound Enhancement
For best sound experience on all platforms:
```bash
pip install simpleaudio