Telegram Voice-Chat Bot Written In Python Using Pyrogram.

Overview

Telegram Voice-Chat Bot

Telegram Voice-Chat Bot To Play Music From Various Sources In Your Group

Support

  1. All linux based os.
  2. Windows
  3. Mac

Diagram

Requirements

  • Python 3.6 or higher
  • A Telegram bot token
  • Bot needs to be admin in the chat, atleast give message delete permissions.
  • Install mpv with

pkg install mpv - for Android, sudo apt-get install mpv - for ubuntu, sudo pacman -S mpv - for ArchLinux, I use arch btw

Run

  1. git clone https://github.com/thehamkercat/Telegram_VC_Bot, to download the source code.
  2. cd Telegram_VC_Bot, to enter the directory.
  3. pip3 install -r requirements.txt, to install the requirements.
  4. cp sample_config.py config.py
  5. Edit config.py with your own values.
  6. If you are on linux follow this instruction to set up vnc. If you are using windows you can skip this step.
  7. Download Telegram desktop from https://desktop.telegram.org , Log in using your second account, and connect to the voice chat in your group.
  8. Follow This to route your PC or Server's audio output to audio input. [For Linux]
  9. If you're on windows, Follow This or install Virtual Audio Cable instead.
  10. Run the bot python3 main.py
  11. Open Telegram and start voice chat.
  12. Send commads to bot to play music.

Watch The Video Tutorial if you still can't do this

How to deploy the Telegram Voice Chat Bot on VPS using Ubuntu/Debian

Commands

Command Description
/start To Start The bot.
/help To Show This Message.
/ping To Ping All Datacenters Of Telegram.
/end To Stop Any Playing Music (only works for current user playing and to Admins).
/jiosaavn <song_name> To Play A Song From Jiosaavn.
/youtube <song_name> or <song_link> To Search For A Song And Play The Top-Most Song Or Play With A Link.
/playlist <youtube_playlist_url> To Play A Playlist From Youtube.
/telegram To Play A Song Directly From Telegram File.
/radio To Play Radio Continuosly.
/users To Get A List Of Blacklisted Users.
/deezer To Play A Song From Deezer.
Admin Commands:
/black To Blacklist A User.
/white To Whitelist A User.

Note

  1. More services will be added soon.
  2. Termux is not completely supported yet, might take a week or two.
  3. If you want any help you can ask here

Credits

  1. https://github.com/cyberboysumanjay/JioSaavnAPI [For JioSaavnAPI]
Owner
TheHamkerCat
17 | Arch btw
TheHamkerCat
Audio augmentations library for PyTorch for audio in the time-domain

Audio augmentations library for PyTorch for audio in the time-domain, with support for stochastic data augmentations as used often in self-supervised / contrastive learning.

Janne 166 Jan 08, 2023
Linear Prediction Coefficients estimation from mel-spectrogram implemented in Python based on Levinson-Durbin algorithm.

LPC_for_TTS Linear Prediction Coefficients estimation from mel-spectrogram implemented in Python based on Levinson-Durbin algorithm. 基于Levinson-Durbin

Zewang ZHANG 58 Nov 17, 2022
SomaFM Plugin for Kodi

SomaFM XBMC Plugin This description is a bit outdated. You can simply install this addon by browsing the official repositories from within Kodi. Insta

7 Jan 21, 2022
Music player and music library manager for Linux, Windows, and macOS

Ex Falso / Quod Libet - A Music Library / Editor / Player Quod Libet is a music management program. It provides several different ways to view your au

Quod Libet 1.2k Jan 07, 2023
Generating a structured library of .wav samples with Python.

sample-library Scripts for generating a structured sample library with Python Requires Docker about Samples are written to wave files in lib/. Differe

Ben Mangold 1 Nov 11, 2021
Users can transcribe their favorite piano recordings to MIDI files after installation

Users can transcribe their favorite piano recordings to MIDI files after installation

190 Dec 17, 2022
controls volume using hand gestures

controls volume using hand gestures

1 Oct 11, 2021
python script for getting mp3 files from yaoutube playlist

mp3-from-youtube-playlist python script for getting mp3 files from youtube playlist. Do your non-tech brown relatives ask you for downloading music fr

Shuhan Mirza 7 Oct 19, 2022
Powerful, simple, audio tag editor for GNU/Linux

puddletag puddletag is an audio tag editor (primarily created) for GNU/Linux similar to the Windows program, Mp3tag. Unlike most taggers for GNU/Linux

341 Dec 26, 2022
Oliva music bot help to play vc music

OLIVA V2 🎵 Requirements 📝 FFmpeg NodeJS nodesource.com Python 3.7+ PyTgCalls Commands 🛠 For all in group /play - reply to youtube url or song file

SOUL々H҉A҉C҉K҉E҉R҉ 2 Oct 22, 2021
Audio Retrieval with Natural Language Queries: A Benchmark Study

Audio Retrieval with Natural Language Queries: A Benchmark Study Paper | Project page | Text-to-audio search demo This repository is the implementatio

21 Oct 31, 2022
Official implementation of A cappella: Audio-visual Singing VoiceSeparation, from BMVC21

Y-Net Official implementation of A cappella: Audio-visual Singing VoiceSeparation, British Machine Vision Conference 2021 Project page: ipcv.github.io

Juan F. Montesinos 12 Oct 22, 2022
An 8D music player made to enjoy Halloween this year!🤘

HAPPY HALLOWEEN buddy! Split Player Hello There! Welcome to SplitPlayer... Supposed To Be A 8DPlayer.... You Decide.... It can play the ordinary audio

Akshat Kumar Singh 1 Nov 04, 2021
A music player designed for a University Project.

A music player designed for a University Project. Very flexibe and easy to use, a real life working application with user friendly controls. Hope u enjoy!!

Aditya Johorey 1 Nov 19, 2021
Implicit neural differentiable FM synthesizer

Implicit neural differentiable FM synthesizer The purpose of this project is to emulate arbitrary sounds with FM synthesis, where the parameters of th

Andreas Jansson 34 Nov 06, 2022
Mousai is a simple application that can identify song like Shazam

Mousai is a simple application that can identify song like Shazam. It saves the artist, album, and title of the identified song in a JSON file.

Dave Patrick 662 Jan 07, 2023
Python CD-DA ripper preferring accuracy over speed

Whipper Whipper is a Python 3 (3.6+) CD-DA ripper based on the morituri project (CDDA ripper for *nix systems aiming for accuracy over speed). It star

671 Jan 04, 2023
TONet: Tone-Octave Network for Singing Melody Extraction from Polyphonic Music

TONet Introduction The official implementation of "TONet: Tone-Octave Network for Singing Melody Extraction from Polyphonic Music", in ICASSP 2022 We

Knut(Ke) Chen 29 Dec 01, 2022
Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5

Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5. It gives you the ability to play, pause, and Equalize any one-channel wav audio file and play 3 different instruments.

Mustafa Megahed 1 Jan 10, 2022
A fast MDCT implementation using SciPy and FFTs

MDCT A fast MDCT implementation using SciPy and FFTs Installation As usual pip install mdct Dependencies NumPy SciPy STFT Usage import mdct spectrum

Nils Werner 43 Sep 02, 2022