A Telegram bot that converts text into binary beep audio and sends it back as a sound file.
A fun Python project demonstrating text encoding, signal generation, and Telegram bot automation.
- 🔤 Converts text into binary
- 🔊 Generates beep audio sequence
- 🤖 Telegram bot interface
- 🐍 Written in Python
- ⚡ Lightweight and easy to run
- Python 3.x
- pyTelegramBotAPI
- numpy
Install dependencies:
pip install pyTelegramBotAPI numpyOpen Telegram and talk to @BotFather.
Use the command:
/newbot
Follow the steps and copy the Bot Token.
git clone https://github.com/atrx07/Telegram-beep-bot.git
cd Telegram-beep-botOpen beep_bot.py and replace:
[Bot token]
with your actual Telegram bot token.
python beep_bot.pyYour bot will now start and respond to messages with binary beep audio.
User sends:
Hello
Bot responds with:
Binary beep audio 🔊
- User sends text to the bot
- Text is converted to binary representation
- Binary digits are mapped to audio tones
- Audio waveform is generated
- The bot sends the resulting .wav audio file
This project is open-source and available under the MIT License.
If you like this project, consider giving the repo a star ⭐ on GitHub.