Skip to content

atrx07/Telegram-beep-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Telegram Beep Bot 🔊

Python Telegram License

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.


✨ Features

  • 🔤 Converts text into binary
  • 🔊 Generates beep audio sequence
  • 🤖 Telegram bot interface
  • 🐍 Written in Python
  • ⚡ Lightweight and easy to run

📦 Requirements

  • Python 3.x
  • pyTelegramBotAPI
  • numpy

Install dependencies:

pip install pyTelegramBotAPI numpy

🚀 Setup

1. Create a Telegram Bot

Open Telegram and talk to @BotFather.

Use the command:

/newbot

Follow the steps and copy the Bot Token.


2. Clone the Repository

git clone https://github.com/atrx07/Telegram-beep-bot.git
cd Telegram-beep-bot

3. Configure the Script

Open beep_bot.py and replace:

[Bot token]

with your actual Telegram bot token.


4. Run the Bot

python beep_bot.py

Your bot will now start and respond to messages with binary beep audio.


📂 Example

User sends:

Hello

Bot responds with:

Binary beep audio 🔊

🧠 How It Works

  1. User sends text to the bot
  2. Text is converted to binary representation
  3. Binary digits are mapped to audio tones
  4. Audio waveform is generated
  5. The bot sends the resulting .wav audio file

📜 License

This project is open-source and available under the MIT License.


⭐ Support

If you like this project, consider giving the repo a star ⭐ on GitHub.

About

Telegram bot that transforms text into binary and sends it back as an audio beep sequence. A fun Python project demonstrating text encoding and sound generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages