This commit is contained in:
Logan Cusano
2021-12-29 01:08:57 -05:00
parent e08c3239e7
commit e4aba8fba7
4 changed files with 16 additions and 18 deletions

View File

@@ -1,13 +1,18 @@
# Discord-Radio-Bot
This project is intended to allow users in discord to be able to listen to their favorite radio stations, *music or other ;)*, while talking to their friends.
## Usage
1. Install Python 3.X
2. Install the pip packages found in the ```Requirements.txt``` file
3. Run ```main.py``` with Python
4. Follow the prompts in the terminal
5. Redirect your audio to the selected device
6. You're all set!
## Requirements
- Python 3.X
- sox
- soapysdr / soapyrtlsdr
- rtl_sdr library
## Setup
1. Install the pip packages found in the ```Requirements.txt``` file
2. Run ```main.py``` with Python
3. Follow the prompts in the terminal
4. Ensure your audio is playing on the selected device
5. You're all set! Ask the bot to join!
### Understanding Audio Input
This title can be a bit confusing. The bot will display both 'input' and 'output' devices but not always *all* devices connected.

View File

@@ -1,7 +1,5 @@
### To-Do
- [ ] Fix bug that shows different index number for audio device selection on linux
- [ ] Add a profile system ('YPD' = preset Squelch, Freq, Sample Rate, etc.)
- [ ] Add proper comments
- [ ] Clean up code
- [ ] Add more proper help text with real examples
- [ ] Get more training data for WillieTimer
@@ -18,4 +16,6 @@
- [X] Send only one message at join and update this message with details of digital comms
- [X] Update WillieTimer with replies to all msgs
- [X] Add saving of changes to mention and channel
- [X] Add a pool of responses to 4:20
- [X] Add a pool of responses to 4:20
- [x] Add a profile system ('YPD' = preset Squelch, Freq, Sample Rate, etc.)
- [x] Add proper comments

1
bot.py
View File

@@ -4,7 +4,6 @@ import time
import discord
import sound
import configparser
import asyncio
from discord.ext import commands
from subprocess import Popen, PIPE

View File

@@ -1,8 +1,2 @@
discord~=1.7.3
sounddevice~=0.4.3
//For WillieTimer
keras~=2.7.0
nltk~=3.6.5
tensorflow~=2.7.0
sounddevice~=0.4.3