Sample Header Ad - 728x90

How to mix two input sources in Pulseaudio (for recording mic and speakers with SimpleScreenRecorder)

5 votes
1 answer
4229 views
I happen to record a meeting using SimpleScreenRecorder (SSR) on Linux. I use Pulseaudio and default configurations. When SSR records the screen and audio, it records the speakers output, but not my microphone. I know that I can create a loopback using pactl load-module module-loopback latency_msec=1 so that the mic goes to the speakers and SSR can record both, but that creates feedback and Larsen effect when not using earphones. Apparently I cannot ask SSR to record from two audio sources at once. Is there a way to create a virtual Pulseaudio source where the speakers and mic both go, so that I can then instruct SSR to record from that virtual source? As I read up at https://unix.stackexchange.com/questions/637045/mix-application-and-microphone-into-one-input , I can create a virtual speaker to which I can route both the mic and the speakers, and from which SSR can read. However, I still want the mic and speaker to function normally while I have the meeting, and i am not sure that solution would do that, so I need someone with Pulseaudio experience here. If I find no simple way, I'll switch from SSR to OBS...
Asked by Francesco Potortì (485 rep)
Dec 14, 2021, 04:11 PM
Last activity: Mar 9, 2022, 01:32 AM