Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cptpiepmatz/audiowarp
Warp your audio input device into Discord.
https://github.com/cptpiepmatz/audiowarp
audio-streaming bot discord warp
Last synced: 21 days ago
JSON representation
Warp your audio input device into Discord.
- Host: GitHub
- URL: https://github.com/cptpiepmatz/audiowarp
- Owner: cptpiepmatz
- License: mit
- Created: 2021-08-10T10:13:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-08T18:12:40.000Z (2 months ago)
- Last Synced: 2025-01-16T00:51:26.954Z (27 days ago)
- Topics: audio-streaming, bot, discord, warp
- Language: TypeScript
- Homepage:
- Size: 26.8 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
AudioWarp
Warp your audio input device into Discord.
[![Version](https://img.shields.io/github/package-json/v/cptpiepmatz/AudioWarp?style=for-the-badge&color=FF87FB)](https://github.com/cptpiepmatz/AudioWarp)
[![Node Version](https://img.shields.io/badge/node-v18-darkgreen?style=for-the-badge)](https://nodejs.org)
[![Discord.JS Version](https://img.shields.io/github/package-json/dependency-version/cptpiepmatz/AudioWarp/discord.js?color=5865F2&style=for-the-badge)](https://discord.js.org)
[![Operating System](https://img.shields.io/badge/os-windows-blue?style=for-the-badge)](https://lmddgtfy.net/?q=windows)
[![FFmpeg Version](https://img.shields.io/badge/ffmpeg-v5.0.1-orange?style=for-the-badge)](https://ffmpeg.org)
[![caxa Version](https://img.shields.io/github/package-json/dependency-version/cptpiepmatz/AudioWarp/dev/caxa?style=for-the-badge&color=FFA500)](https://github.com/leafac/caxa#readme)AudioWarp is a [Discord](https://discord.com) bot inspired by the [radio bot example from discord.js](https://github.com/discordjs/voice/tree/main/examples/radio-bot).
It uses [FFmpeg](https://www.ffmpeg.org) to convert an audio input device into a stream that can be played via a Discord bot.
This allows to send an audio stream directly to Discord via their api instead of the standard discord client.
And therefore having much better audio quality for music. (e.g. playing an e-piano on Discord, maybe on
[stage channels](https://support.discord.com/hc/de/articles/1500005513722-Stage-Channels-FAQ))## Usage
The build script inside the `package.json` builds an `.exe` for Windows.
It contains everything needed to start the application.
Just double-click it and AudioWarp boots up and asks some questions to operate correctly.
If you're done with it, just close the window.
![]()
Once the bot is running and invited on your sever, you can execute two commands to operate the bot.
![]()
## Build
To build the tool you have to have a Discord bot.
You can read on how to create on [here](https://discord.com/developers/docs/intro#bots-and-apps).
Get yourself a token and place in the root of the directory and name the file `.token`.
Upon building `caxa` will collect that `.token` file and insert it into the `.exe`, making the application complete.*Note: Building this tool requires the go lang compiler.*
## Invite the bot
To invite the bot to your server you have to set the scopes and permissions correctly.The scopes the bot needs:
![]()
And the perms the bot needs:
![]()