Pipewire Virtual Microphone

I’ve recently been playing with Pipewire. Here’s a quick tip if you want to create a “virtual microphone” that you can use to link audio from programs like OBS to a virtual microphone for video call software like Zoom or Meet.

#!/usr/bin/env bash

# Create a virtual sink that can be set as a monitor in OBS
pactl load-module module-null-sink sink_name=VirtualSpeaker sink_properties=device.description=VirtualSpeaker

# Link it with a virtual source that is visible in pulseaudio apps like Zoom
pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=VirtualMic channel_map=front-left,front-right
pw-link VirtualSpeaker:monitor_FL VirtualMic:input_FL
pw-link VirtualSpeaker:monitor_FR VirtualMic:input_FR

This is just putting together commands conveniently discussed in the Pipewire wiki.

Posts from blogs I follow

Last Updated Columns With Postgres

In many applications it’s a requirement to keep track of when a record was created and updated the last time. Often, this is implemented by having columns such as created_at and updated_at within each table. To make things as simple as possible for applica…

via morling.dev -- Blog February 20, 2024

TinyPilot: Month 43

New here? Hi, I’m Michael. I’m a software developer and the founder of TinyPilot, an independent computer hardware company. I started the company in 2020, and it now earns $80-100k/month in revenue and employs six other people. Every month, I publish a ret…

via mtlynch.io February 20, 2024

Retirement Accounts and Short Timelines

Sometimes I talk to people who don't use retirement accounts because they think the world will change enormously between now and when they're older. Something like, the most likely outcomes are that things go super well and they won't need the money, or t…

via Jeff Kaufman's Writing February 19, 2024

Generated by openring-rs