| assets | ||
| qml | ||
| src | ||
| style | ||
| .gitignore | ||
| CMakeLists.txt | ||
| context.sh | ||
| generate_icons_json.sh | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| visualisation-graph.png | ||
SndBus
Important
SndBus is in it's very early stages. It's unstable, contains bugs and will get breaking changes between updates. I will not be providing builds until 1.0 release, sowwi.
SndBus is a Pipewire-native soundboard app for Linux. Built with C++ and Qt/QML for native performance and a pretty UI. Whether you're trolling friends on Discord or adding "production value" to a livestream, SndBus handles the routing so you don't have to mess with graph tools.
Originally built because I couldn't find a better tool. I know it's not perfect and probably has some discrepencies and weird design decisions, but it's my first Qt app.
Features
- Add samples via a file picker or just drag them directly onto the grid
- Automatically mix your microphone with your sounds. Want a sound-only track for OBS? Just set the input to "None"
- Set start and end points for audio files with a waveform preview
- Zero latency monitoring thanks to the PipeWire routing only approach
- Assign your own images for samples
- Linux first - not a port, not a wrapper. Built for the modern Linux audio stack by someone who uses it every single day
How it works
SndBus acts as a high level manager for PipeWire. Instead of just playing an audio file to your speakers like a media player, or doing a lot of internal processing, it makes a "signal bus" (hence the name) using a few tricks.
When you start SndBus, it talks to PipeWire directly (libpipewire) and creates two nodes of its own:
- SndBus Virtual mic (
SndBus_Mic) - anAudio/Source/Virtualnode that apps like Discord, OBS or games see as a regular microphone. Whatever is linked into it comes out as the mic signal. - SndBus Soundboard (
SndBus_Soundboard) - a small PipeWire filter that plays your samples.
SndBus then links your input device and the soundboard straight into the virtual mic, and PipeWire mixes them there. A mono mic is linked to both channels. If the device disappears and comes back (Bluetooth reconnect, EasyEffects restart...), SndBus re-links it automatically.
input device ──link──┐
├──► SndBus Virtual mic ──► games, Discord, OBS
SndBus Soundboard ───┘
None of these are regular app streams, so stream routers like JamesDSP or EasyEffects ("process all output streams") can't grab them and send your mic to your headphones by accident. The nodes also don't outlive SndBus - if the app quits or crashes, they are removed with it.
To actually play the sounds, SndBus uses miniaudio. SndBus inits two engines: virtual (rendered by the soundboard filter into the virtual mic) and monitor (a normal playback stream for, well, monitoring :P)
Because the audio is only ROUTED rather than processed internally, SndBus stays lightweight and avoids large latency or CPU overhead.
Your mic audio is linked directly to the virtual mic via PipeWire, meaning your voice never actually passes through the app.
It's also extremely flexible. If you prefer to mix your voice and sounds separately in OBS, you can just set the input in SndBus to "None" and use the virtual mic just for sound effects.
You also get full control of the monitoring - select any device, or disable it entirely.
Roadmap
For 1.0 release:
- Run in the background with QSystemTrayIcon
- Hotkeys using Wayland's global shortcut protocols
- Implement more efficient, more easily modifiable storage for info. Maybe a really small relational database?
- Optimizations for UI and backend - very long samples are an issue
After 1.0 release:
- Option to pull a few default sounds from the server
- Import and export sound packs
- yt-dlp integration
- Online sound marketplace (with upvotes, downvoted, trending, etc)
Building from source
Dependencies:
- Qt 6.x (Core, Gui, Qml, Quick, Widgets)
- PipeWire and WirePlumber (plus the libpipewire-0.3 development headers, usually in
pipewireorlibpipewire-0.3-dev) - CMake and pkg-config
git clone https://git.ignis621.net/ignis621/sndbus.git
cd sndbus
mkdir build && cd build
cmake ..
make
./sndbus
License
This project is licensed under the GNU General Public License v3.0 (GPLv3).
You are free to use, modify, and distribute this software, but any modified versions or derivative works must also be open-source and distributed under the same GPLv3 license.
See the LICENSE file for the full legal text.