How to separate audio tracks in OBS for Linux Mint (2025)

Описание к видео How to separate audio tracks in OBS for Linux Mint (2025)

TL;DR if you want to do it just input these commands but BE SURE TO REPLACE THE SECOND LINE WITH YOUR AUDIO SOURCE USING THE COMMAND I PROVIDE TO FIND IT (please give a like if this helped you!)

1) pactl list sinks short (run this in terminal to find your audio sink. most likely the one that says RUNNING. Put this into the line that says "PUT YOUR AUDIO SINK HERE")

2) Put this in your text editor and save it to your home directory as discord.sh (BE SURE TO REPLACE THE DISCORDAUDIO.MONITORSINK FIELD!!):

#!/bin/bash
pactl load-module module-null-sink sink_name=DiscordAudio sink_properties=device.description="Discord_Audio"
pactl load-module module-loopback source=DiscordAudio.monitor sink="PUT YOUR AUDIO SINK HERE" (without the parenthesis "")
pactl load-module module-null-sink sink_name=GameAudio sink_properties=device.description="Game_Audio"

3) In discord, change your audio device to output to the device DiscordAudio (or Discord_Audio its one of the two)
4) In obs, add 2 Audio output capture sources for Game Audio and Discord Audio respectively. This should be fairly simple
5) Install qpwgraph via terminal (sudo apt install qpwgraph)
6) Open up startup applications
7) Add your discord.sh script
8) add qpwgraph. Add -m to your arguments so that it starts minimized.
9) restart


10) open qpwgraph (will probably start minimized, check bottom right bar), run the game that you want to capture audio
11) in qpwgraph, connect the game audio source to the device that says Game Audio or Game_Audio. Match Fr with Fr and FL with FL. DO NOT CONNECT YOUR MICROPHONE. (ALSO THERE WILL BE MULTIPLE AUDIO SOURCES FOR YOUR GAME. CONNECT THEM ALL TO GAMEAUDIO)
12) Make sure in the patchbay (top left menu) that Activated is on, and that you SAVE THIS. SAVE EVERY NEW GAME YOU ADD TO THIS. YOU WILL NEED TO ADD EVERY GAME. It's the same thing in OBS for Windows
13) Profit. Check OBS with the game running and you'll see game audio is separated from Discord Audio

Комментарии

Информация по комментариям в разработке