Troubleshooting Audio

Test Signal

Use the test signal to confirm your audio setup is working correctly.

To test the on-board sound card:

  1. Disconnect USB adapter. Reboot.
  2. Connect headphones or studio monitor to 1/8” audio output.
  3. On the Audio Visualization Tab, disable Audio In Source. Enable Test Signal.
  4. Save changes & restart the Player (using the Restart button on the Dashboard).
  5. The Test Signal (440 Hz tone) should be audible.

To test an external USB sound card:

  1. Connect the USB adapter. Reboot.
  2. Connect the XLR outputs to sound board, amp or studio monitors.
  3. On the Audio Visualization Tab, disable Audio In Source. Enable Test Signal.
  4. Save changes & restart the Player (using the Restart button on the Dashboard).
  5. The Test Signal (440 Hz tone) should be audible.

If no audio output is produced, check the Status page for errors in the log:

  1. There are no errors.
    • Check to see if PCM output has been muted. Use the Alsa Mixer.
    • If jack.plumbing has been configured to use jack-mixer, the Jack Mixer control must be open.
  2. There are gstreamer errors indicating problems with audio mode settings.
    • Be sure mode is properly configured.
    • If using Jack, check that the file ~/.jack.plumbing ( or /etc/jack.plumbing) contains the correct connection definitions.
    • If using Pulse, check the file ~/.pulse/client.conf is set to enable Pulse to autospawn.

Disable the test signal once audio setup is working. Enable Audio In Source, if necessary.


Adjusting Audio Level

Jack Audio

There are no input level controls “out-of-the-box” with Jack audio, so if further control over the input level is desired, the configuration must be updated to include jack-mixer. Using jack-mixer programs requires a modified jack.plumbing configuration with connections defined between the openbroadcaster ports, the jack-mixer control and system output.

Create a new configuration file called .jack.plumbing in the home directory (make sure it has the preceeding dot). This will override the system defaults.

obsuser@obsource:~$ `nano ~/.jack.plumbing`
#connect Audio Inputs to OpenBroadcaster Inputs
(connect "system:capture_1" "openbroadcasterin:in_audiosrc_1")
(connect "system:capture_2" "openbroadcasterin:in_audiosrc_2")

#Connect Openbroadcaster Outputs to Audio Outputs
(disconnect "openbroadcasterout:out_audiosink_1" "system:playback_1")
(disconnect "openbroadcasterout:out_audiosink_2" "system:playback_2")
(connect "openbroadcasterout:out_audiosink_1" "jack_mixer:OB_In L")
(connect "openbroadcasterout:out_audiosink_2" "jack_mixer:OB_In R")
(connect "jack_mixer:OB_In Out L" "system:playback_1")
(connect "jack_mixer:OB_In Out R" "system:playback_2")

 JackMixer Screenshot

If Jack is already running, it will load the new configuration. Open the jack-mixer control from the Panel (bottom right of Desktop, icon to left of VLC). This will open a mixer control, with an input channel on the left and Main output channel is on the right. The sliding control for the input channel can be used to set the level for the line-in (input) signal. The control on the right has no effect on the output.

If Jack is not running ensure it is configured in the Dashboard, and reboot the Player, and open the jack-mixer control.

NB: When using jack mixer, the jack-mixer control must be opened manually from the Panel Icon to activate the control. Once the control is closed, the output will stop playing. The control must be visible and indicating signal bars for output signal to be audible. The mixer control must be reopened after a reboot, or no sound will be produced.


To open the jack mixer control in headless mode), use the command:

jack_mixer -c ~/.openbroadcaster/init_mix_vol --no-lash.

To restore the original configuration of jack.plumbing, without the jack-mixer control, edit ~/.jack.plumbing file to define the following connections:

   #obsuser@obsource:~$ nano ~/.jack.plumbing

   #connect Audio Inputs to OpenBroadcaster Inputs
   (connect "system:capture_1" "openbroadcasterin:in_audiosrc_1")
   (connect "system:capture_2" "openbroadcasterin:in_audiosrc_2")
   
   #Connect Openbroadcaster Outputs to Audio Outputs
   (connect "openbroadcasterout:out_audiosink_1" "system:playback_1")
   (connect "openbroadcasterout:out_audiosink_2" "system:playback_2")

Workbench

DIY Attenuation

‘H’ or ‘T’ pads may also be fabricated to accomplish the same level of attenuation.For a balanced signal, use an H-Pad: input_impedance=30k Ω, output_impedance=10k Ω. The example below provides approximately -20dB of attenuation using resistors R 1/2= 12k Ω; R 2=3.3k Ω; R 3/2=3.3k Ω (ground wires should also be connected).

 H Pad

Feedback

Find a OBPlayer or OBServer Bug? Have a OBPlayer or OBServer feature request ?
We really appreciate your feedback!

Open Server Bugs

Open Player Bugs