Skip to content

DJ Headphone Monitoring

brūhi Cloud features a dedicated, low-latency audio monitoring engine built directly into the browser workspace using the Web Audio API.


Standard broadcast distribution streams typically carry 3 to 10 seconds of playback buffer latency, which is not suitable for live studio headphone monitoring. brūhi Cloud provides a dedicated, direct Web Audio monitoring pipeline to enable real-time presenter cueing and talkover.

brūhi Cloud solves this with a browser-side Web Audio monitoring graph coupled to the server’s authoritative playout loop via sub-millisecond clock synchronisation:

┌──────────────────────────────────────────────────────────┐
│ Server (FastAPI / bruhi-audio) │
│ Authoritative Playout ──► Track Events (WebSocket) │
└────────────────────────────┬─────────────────────────────┘
│ (NTP Ping / Pong Sync)
┌────────────────────────────▼─────────────────────────────┐
│ Client Browser (Web Audio) │
│ Local Mirror Player ──► Master Gain ──► [MON Switch] │
│ Mic / PFL Cue Bus ──► Master Gain ──► DJ Headphones │
└──────────────────────────────────────────────────────────┘
  • Sub-50ms Operational Latency: DJ hears microphone input and PFL track cues with near-instantaneous feedback.
  • NTP-Style Client/Server Clock Sync: The browser continuously measures network Round-Trip Time (RTT) and calculates clock offset ($\theta$) against the server epoch, allowing 60 FPS playhead tracking synchronised with the broadcast output.
  • Unified Switch (MON): Local browser sound output is strictly gated under the MON button in the broadcast toolbar to prevent accidental room feedback or duplicate audio when multiple tabs are open.
  1. Connect your headphones or audio interface.
  2. In the Live Broadcast toolbar, click MON (Monitor).
  3. Adjust the master monitor volume slider to your comfortable listening level.
  4. When you trigger PFL cues or speak into your microphone, audio routes directly into your headphone mix without streaming delay.

To coordinate multi-presenter shows and avoid conflicts when several DJs or station managers access the same station:

  • Take Control: Clicking Take Control or Go Live asserts exclusive broadcast control over the station’s live queue and mixer.
  • Live State Broadcast: All connected browser clients receive real-time updates via WebSockets displaying the active presenter’s name and avatar.
  • Read-Only Preview Mode: Other operators logged into the same station are placed in read-only preview mode to prevent accidental track stops, volume changes, or queue deletions during a live show.
  • Graceful Handoff: When a DJ finishes their show block, clicking Release Control hands the station back to the automated clock schedule or unlocks it for the next scheduled DJ.