"Where sound becomes architecture, and every playlist is a cathedral of code."
SoniCore is not just another music botβit is a resonant engine for building custom, high-fidelity audio experiences inside Discord. Inspired by the modular philosophy of DisTube, but reimagined for composability, AI-powered curation, and cross-platform harmony.
- Why SoniCore?
- Core Capabilities ποΈ
- Architecture Overview (Mermaid)
- Quick Installation
- Example Profile Configuration
- Example Console Invocation
- Emoji OS Compatibility Table π₯οΈ
- AI Integration: OpenAI & Claude π§¬
- Responsive UI & Multilingual Support π
- Disclaimer & Legal Echoes
- License π
Most music bots are black boxes. You feed them a link, they play a song.
SoniCore is a white-box symphonyβevery component, from the audio decoder to the queue scheduler, is exposed as a pluggable middleware.
Unique angle?
SoniCore treats each voice channel as an acoustic canvas. You can layer effects, inject AI-generated transitions, and even morph audio in real-time using neural filters.
| DisTube Style | SoniCore Philosophy |
|---|---|
| Simplified commands | Composable command pipelines |
| Preset sources | Extensible source drivers |
| Static filters | Adaptive, AI-driven equalizer |
| Single-bot focus | Multi-instance orchestration |
- AI-Powered Playlist Generation β Using OpenAI & Claude API, SoniCore can invent playlists based on mood, tempo, or even a user's recent chat tone.
- Multi-Source Extraction β YouTube, Spotify, SoundCloud, Bandcamp, local files, and custom streams.
- Adaptive Audio Filters β Real-time reverb, bass boost, vocal isolation, and spatial audio simulation.
- Resilient Queueing β Smart queue that learns from skip patterns and auto-suggests tracks.
- Cross-Server Sync β Move your queue between servers with a single command.
- Zero Downtime Streaming β Uses edge-aware buffering to handle network jitter.
- Multilingual Commands β Supports 20+ languages natively.
- Responsive Dashboard β Web-based UI for queue management, server settings, and live audio visualization.
graph TD
A[Discord Client] -->|Slash Commands| B(SoniCore Gateway)
B --> C{Command Router}
C -->|Play| D[Audio Extractor]
C -->|Filter| E[Audio Processor]
C -->|Queue| F[Smart Queue Manager]
D --> G[External Sources<br>YouTube/Spotify/etc.]
E --> H[Neural Filter Engine]
F --> I[Persistence Layer<br>Redis/PostgreSQL]
H --> J[FFmpeg Pipeline]
J --> K[Voice Connection Pool]
K --> L[Discord Voice Gateway]
I --> M[AI Scheduler<br>OpenAI/Claude]
M --> F
Prerequisites:
- Node.js 20.x or higher
- Discord Bot Token with
GUILD_VOICE_STATESandMESSAGE_CONTENTintents - FFmpeg installed on the host
Clone & Setup:
git clone https://github.com/sonicore/sonicore.git
cd sonicrore
npm installEnvironment Variables:
DISCORD_TOKEN=your_token_here
OPENAI_API_KEY=sk-...
CLAUDE_API_KEY=sk-ant-...
REDIS_URL=redis://localhost:6379First Launch:
node index.js --initSoniCore uses a YAML-based profile for per-user audio preferences. Here's a sample:
profile:
user_id: "1234567890"
name: "AudiophileJane"
preferences:
default_source: "youtube"
ai_curation: true
mood_detection: true
language: "en"
filters:
- type: "reverb"
intensity: 0.3
- type: "bass_boost"
db: 6
queue_behavior: "shuffle_on_repeat"
ai:
openai_model: "gpt-4-turbo"
claude_model: "claude-3-opus-20240229"
playlist_prompt: "Create a calm jazz playlist for late-night coding"
ui:
theme: "midnight_aurora"
show_visualizer: true
compact_mode: false# Start SoniCore with a specific profile and debug mode
node sonicrore.js --profile admin_profile.yaml --log-level verbose --ai-model gpt-4
# Output example:
# [SoniCore] Gateway initialized on shard 0
# [SoniCore] AI Scheduler connected to OpenAI (model: gpt-4)
# [SoniCore] Voice connection established in guild: 9876543210
# [SoniCore] Playing: "Midnight Serenade" by Lofi Dreamer β requested by @Jane
# [SoniCore] Adaptive EQ applied: +3dB bass, -1dB treble| Operating System | Status | Emoji | Notes |
|---|---|---|---|
| Windows 11 | β Supported | πͺ | Full FFmpeg support via chocolatey |
| Windows 10 | β Supported | πͺ | Requires WSL for AI modules |
| macOS Ventura+ | β Supported | π | Native arm64 binaries |
| macOS Monterey | π | Limited AI filter support | |
| Ubuntu 22.04+ | β Supported | π§ | Recommended for production |
| Debian 12 | β Supported | π§ | Requires manual FFmpeg build |
| Arch Linux | β Supported | π§ | Use sonicore-bin from AUR |
| Fedora 39+ | β Supported | π§ | SELinux policies included |
| Alpine Linux | π§ | No voice visualizer | |
| FreeBSD | β Unsupported | π‘ | Use Docker image instead |
SoniCore is natively wired for both OpenAI GPT-4 Turbo and Claude Opus. This isn't a "bolt-on" featureβit's carved into the core logic.
What the AI does:
- Mood-Based Playlist Generation β It scans recent chat activity and suggests songs that match the server's emotional temperature.
- Intelligent Crossfade β The AI determines optimal transition points between songs, avoiding jarring cuts.
- Voice-Activated Command Parsing β (Future) Use Claude's audio capabilities to understand natural speech commands.
- Auto-Adaptive Mixing β The AI listens to user feedback (skips, repeats) and adjusts filter presets in real-time.
Example AI Prompt (internal):
You are a DJ AI. The current room has 12 users, the last 5 messages were happy/upbeat.
Recommend a playlist that maintains this energy but prevents ear fatigue after 30 minutes.
SoniCore comes with a React-based web dashboard that adapts to any screen sizeβfrom a 4K monitor to a phone held sideways.
UI Features:
- Real-time waveform visualization
- Drag-and-drop queue reordering
- Per-user volume sliders
- Theme engine with 15+ presets
- Keyboard shortcuts for power users
Multilingual Support:
| Language | Code | Status | Translator |
|---|---|---|---|
| English | en | β Complete | AI-verified |
| Spanish | es | β Complete | Community-reviewed |
| French | fr | β Complete | Native speaker check |
| German | de | β Complete | Technical accuracy verified |
| Japanese | ja | AI-generated (awaiting human review) | |
| Korean | ko | AI-generated | |
| Arabic | ar | π In Progress | Manual translation |
| Hindi | hi | π In Progress | Manual translation |
24/7 Support?
Noβbut our AI Support Engine (powered by Claude) runs 24/7 in our Discord server. It can answer 90% of questions instantly, and escalate to human maintainers during business hours (UTC+0:00 to UTC+14:00).
- SoniCore is a community-driven, open-source project under the MIT License. It is not affiliated with Discord Inc., OpenAI, or Anthropic.
- Music copyright: SoniCore does not host or store any copyrighted content. It only provides tools to access publicly available streams. Users are responsible for complying with their local copyright laws.
- AI generated content: Playlists and responses from the AI are dynamically generated and may sometimes produce unexpected results. SoniCore is provided "as is" with no guarantee of musical taste.
- Rate limits: The bot respects Discord's API rate limits and will throttle connections if necessary. Abuse of the AI endpoints may result in temporary suspension.
- Data privacy: User preferences are stored locally or on your own Redis instance. No analytics data is sent externally unless you explicitly enable telemetry.
Remember: With great audio power comes great responsibility. Don't play Rick Astley at 3 AM in a server with sleeping users. We've all been there.
This project is proudly released under the MIT License.
You are free to use, modify, and distribute SoniCore, even in commercial projectsβjust keep the original copyright notice intact.
SoniCore β Because silence is just code waiting to be compiled into sound.
Β© 2026 SoniCore Project. Built for the love of decentralized audio engineering.