Send linux system audio through discord bot.
Find a file
2024-04-08 10:58:41 +09:00
cogs command: added /stop, updated some commands 2024-04-08 09:46:32 +09:00
config Initial commit 2024-04-07 17:18:11 +09:00
scripts audio: automatic device registration 2024-04-08 09:19:22 +09:00
.gitignore Initial commit 2024-04-07 17:18:11 +09:00
__init__.py audio: automatic device registration 2024-04-08 09:19:22 +09:00
LICENSE Added License file 2024-04-07 17:22:41 +09:00
main.py audio: automatic device registration 2024-04-08 09:19:22 +09:00
pulse.py audio: automatic device registration 2024-04-08 09:19:22 +09:00
README.md Added requirements, fixed test package name 2024-04-08 10:58:41 +09:00
requirements.txt audio: automatic device registration 2024-04-08 09:19:22 +09:00

CURRENTLY NOT TESTED IN OTHER ENVIRONMENTS!

Requirements

pipewire-pulse, pipewire-jack (if using pipewire)

Installation

  • Initialize venv: python -m venv venv
  • Install dependencies: venv/bin/pip install -r requirements.txt
  • Test if PyAudio is working correctly: venv/bin/python -m scripts.pyaudio_test
  • Copy example configuration file and add your bot token

Usage

Launch command is venv/bin/python main.py.
Script will remove virtual devices when exited gracefully.
If not, you will have to remove generated virtual devices manually.