About the Project 🦆🔦📡
🎯 Inspiration
The inspiration behind this project came from a desire to make Morse code more engaging and interactive, especially for beginners and curious minds. We thought: what if decoding messages didn’t just mean boring beeps? What if it quacked instead? That small, quirky idea turned into a full project where Morse code comes to life with quacks, flashlight blinks, and real-time decoding.
🛠️ How We Built It
We built the project using Swift. Here’s what we included:
- Text to Morse Code Converter
- Morse Code to Sound (Quack & Beep)
- Flashlight Blinker for Morse
- Decoder from Morse to Text
- Interactive CLI for User Input
We started with a basic dictionary of letters and Morse code, and expanded the system with audio feedback and flashlight effects to enhance the user experience.
📚 What We Learned
- How to work with audio in Python using
pygame - How to simulate real Morse code timing (dot, dash, symbol gaps, word gaps)
- How to integrate hardware features like a flashlight or LED (on supported devices)
- The importance of handling cross-platform compatibility and user-friendly design
- And of course, that duck sounds make everything better
⚠️ Challenges We Faced
- Ensuring flashlight support worked correctly on all systems
- Balancing fun features like quacking sounds with real Morse timing and accuracy
- Debugging environment issues
🚀 Final Thoughts
This project turned out to be more than just a Morse code tool — it’s an educational and fun way to learn something old in a totally new way. Whether you're sending secret messages or just quacking for fun, we hope this project lights up your curiosity.