Settings & Configuration
brūhi Desktop provides both an in-app settings workspace and a system configuration file (config.toml) for advanced setups.
Configuration File Location
Section titled “Configuration File Location”Settings and user data are stored in standard platform directories:
| OS | Configuration File | Database & Media Cache |
|---|---|---|
| macOS | ~/.bruhi/config.toml | ~/Library/Application Support/com.bruhi.studio/bruhi.db |
| Windows | %APPDATA%\bruhi\config.toml | %APPDATA%\com.bruhi.studio\bruhi.db |
| Linux | ~/.config/bruhi/config.toml | ~/.local/share/com.bruhi.studio/bruhi.db |
Audio Engine Settings
Section titled “Audio Engine Settings”Adjust audio latency, sample rates, and channel configurations from System → Audio Settings in the app or via config.toml:
[engine]sample_rate = 48000 # 44100 or 48000 Hzbuffer_size = 256 # 64, 128, 256, 512, or 1024 sampleschannels = 2 # 2 (Stereo)driver = "default" # WASAPI, CoreAudio, or ALSABuffer Size vs Latency
Section titled “Buffer Size vs Latency”| Buffer Size | Latency @ 48kHz | Best Used For |
|---|---|---|
| 64 samples | ~1.3 ms | Ultra low-latency live microphone monitoring |
| 128 samples | ~2.7 ms | Balanced broadcast & live DJing (Recommended) |
| 256 samples | ~5.3 ms | Standard stability on older hardware |
| 512 samples | ~10.6 ms | Extended reliability during heavy multi-deck automation |
Audio Processing & Gap Killer
Section titled “Audio Processing & Gap Killer”Configure default transition parameters in System → Playout Settings:
- Crossfade Duration: Default segue length in seconds (0.5s to 10.0s).
- Crossfade Curve: Select transition profile (
Linear,Equal Power, orExponential). - Gap Killer Threshold: Silence detection level in dBFS (-60 dB to -24 dB). Silence below this threshold triggers immediate deck transition.
- Gap Killer Min Silence: Minimum duration of silence (100 ms to 1000 ms) before Gap Killer activates.
Interface & Personalization
Section titled “Interface & Personalization”- Color Modes: Switch between Dark Mode, Light Mode, or System Auto Theme.
- Accent Colors: Select UI highlight colors (Cyan, Emerald, Amber, Violet).
- Deck Waveforms: Enable high-resolution scrolling waveforms or standard progress bars.
Network & Output Options
Section titled “Network & Output Options”[network]icecast_retry_interval = 5 # Reconnect interval in secondssrt_enabled = true # Enable SRT broadcast streamwebrtc_stun = "stun:stun.l.google.com:19302"Environment Variables
Section titled “Environment Variables”| Variable | Default | Description |
|---|---|---|
BRUHI_LOG_LEVEL | info | Logging verbosity (debug, info, warn, error) |
BRUHI_CONFIG_PATH | ~/.bruhi | Custom directory path for config.toml |
BRUHI_RT_PRIORITY | 80 | Real-time thread priority (1 to 99) |