OBS WebSocket icon

OBS WebSocket

Control OBS Studio via WebSocket

Audio → Set Volume

AI-generated

Summary

Set the volume level (0-100%) for a specified audio source in OBS Studio via WebSocket.

Inputs

  • Audio Source Name (required) — The exact name of the audio source to set the volume for, e.g., "Desktop Audio" or "Mic/Aux".
  • Volume (required) — The volume level to set for the audio source, specified as a percentage from 0 to 100.

Output shape

A single JSON object containing success status, source name, the new volume percentage, and volume multiplier used internally by OBS.

The output confirms the volume was set and includes the numeric multiplier (0.0 to 1.0) corresponding to the percentage. If an error occurs, it throws a NodeOperationError; no pagination or additional result sets are returned.

Examples

Example 1: Adjusting desktop audio volume

Set Volume operation with Audio Source Name set to 'Desktop Audio' and Volume set to 75.

Discussion