https://github.com/kenoi1/mibano
an RVC discord server bot to create music covers and talk with characters
https://github.com/kenoi1/mibano
discord pedalboard pycord pydub rvc-project
Last synced: 9 months ago
JSON representation
an RVC discord server bot to create music covers and talk with characters
- Host: GitHub
- URL: https://github.com/kenoi1/mibano
- Owner: kenoi1
- License: gpl-3.0
- Created: 2024-03-14T17:49:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-19T16:51:23.000Z (10 months ago)
- Last Synced: 2025-03-30T01:38:17.692Z (10 months ago)
- Topics: discord, pedalboard, pycord, pydub, rvc-project
- Language: Python
- Homepage:
- Size: 169 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mibano - RVC Discord Bot
### discord bot for texting, talking, and creating covers with favourite characters using retrieval-based voice conversion.
### you can use it by adding the bot to your server or running locally!
### note: requires openai credits for local running
TODO: demo video, docker
## Setup Instructions (local):
1. download [RVC-WebUI Project](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/tree/main)
2. change directory to mibano and create virtual environment
- `cd ~/mibano`
- `python3.10 -m venv venv`
- `source venv/bin/activate`
4. download your version of [pytorch](https://pytorch.org/get-started/locally/)
5. `pip install -r requirements.txt`
6. add environment variables to .env (OPENAI_API_KEY="", DISCORD_TOKEN="", RVC-PATH="*rvc-folder-name*",)
7. add baseline.pth to mibano/vocal-remover/models
- download from https://drive.google.com/file/d/1g69m_oAjJFBHnCW5nHLBPi5RgICVgPbe/view?usp=sharing
9. `python bot-main.py`
additional note:
- may need to add baseline.pth to vocal-remover assets
- may need to reference an index for rvc rendering
- change path in cover generation
## mibano bot commands:

## General
**general commands for chatting with kenoibob!**
> *`?help`* - show this message
> *`?speaking`* - show current speaker
> *`?switch `* - switch speaker from: {valid_speakers}
> *`?say `* - uses current voice to speak
> *`?ai `* - generates response and speaks it with current voice
## RVC Cover
**create covers of YouTube videos using voice conversion.**
> *`?cover `* - cover a song using voice conversion
> *`?advcover `* - ?cover but with more options
**Parameters**
> **variables for tweaking settings of covers.**
> speaker = {valid_speakers} (string).` Specifies speaker to sing with
> pitch = (integer -72 to ~72).` Specifies pitch in semitones to sing with
> gain = (float, 0 to ~30).` Specifies gain adjust in dB of singing
> reverb = (float 0 to 100).` Specifies reverb % mix
> start_time = (integer 0 to duration-45s).` Specifies start time in seconds of song
## Work in Progress
**broken code, use at own risk.**
> `?talk` - start listening to your voice channel and talks to you in the current voice ***unfinished***
> `?stop` - stops ?talk ***unfinished***