FWD Vocoder Discord Bot is a professional audio‑processing Discord bot that applies 16‑band vocoder effects to audio and video files.
It combines a modulator (voice) and a carrier (synth or noise) to create robotic, futuristic vocal effects. The bot supports a wide range of audio and video formats and delivers production‑ready output.
-
🎛️ 16‑Band Professional Vocoder
Logarithmically spaced frequency bands (80 Hz – 7 kHz) -
📁 Audio & Video Support
MP3, WAV, M4A, OGG, FLAC, MP4, MOV, MKV, AVI, WEBM -
🎚️ Bandwidth (Width) Control
From narrow robotic tones to wide natural vocals -
⚡ Smart Processing Queue
Sequential processing to avoid server overload -
🔧 Post‑Processing Chain
Compression, makeup gain, and soft clipping -
🔄 Automatic Cleanup
Temporary file management with orphan cleanup -
🤖 Modern Slash Commands
Easy‑to‑use/vocodecommand
- Core Runtime
- Audio Processing
- Utilities
- Node.js 18+ (LTS recommended)
- FFmpeg installed globally
- Discord Bot Token from the Discord Developer Portal
- Windows: Download from ffmpeg.org
- macOS:
brew install ffmpeg - Linux:
sudo apt install ffmpeg
-
Clone the repository
git clone https://github.com/InfLps/FWD-Vocoder-Discord-bot-.git cd FWD-Vocoder-Discord-bot-/FWD_Vocoder -
Install dependencies
npm install
-
Configure environment variables
cp .env.example .env
Edit
.envand add your bot token:DISCORD_TOKEN=your_bot_token_here
-
Start the bot
npm start
FWD-Vocoder-Discord-bot-/
├── FWD_Vocoder/
│ ├── index.js # Main bot entry
│ ├── vocoder/
│ │ └── vocoderEngine.js # 16-band vocoder engine
│ ├── events/
│ │ └── interactionCreate.js # Slash command handler
│ ├── package.json
│ ├── .env.example
│ └── temp/ # Auto-created temp files
├── LICENSE
└── README.md
Apply a 16‑band vocoder effect to two audio or video files.
Options
| Name | Required | Description |
|---|---|---|
| modulator | ✅ Yes | Voice audio/video file |
| carrier | ✅ Yes | Synth or noise audio/video file |
| width | ❌ No | Bandwidth control (0–100, default: 50) |
Example
/vocode modulator:voice.mp3 carrier:synth.wav width:75
- 0–30% → Narrow, robotic, metallic
- 30–70% → Balanced vocoder sound
- 70–100% → Wide, natural, full spectrum
| Variable | Description | Required |
|---|---|---|
| DISCORD_TOKEN | Discord bot token | ✅ Yes |
- View Channels
- Send Messages
- Attach Files
- 16 logarithmically spaced frequency bands
- Real‑time envelope following
- Width‑controlled Q‑factor
- Compressor + makeup gain + soft clipper
- File download & validation
- FFmpeg conversion to 48 kHz WAV
- 16‑band vocoder processing
- Post‑processing
- WAV encoding & delivery
Contributions are welcome!
- Fork the repository
- Create a feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m "Add AmazingFeature" - Push to the branch
git push origin feature/AmazingFeature
- Open a Pull Request
npm install
node index.jsDistributed under the MIT License. See LICENSE for details.
- Discord.js
- Node Web Audio API
- FFmpeg
⭐ If you find this project useful, please give it a star!
Made with ❤️ by FWDLps