Hosting Radio Spaces on X (and Other Sites)
Published on
Ever wanted to host a radio space on X? Or play music on Google Meet for your friends?
Here's how to share your system audio directly to websites and apps using a virtual mic. Get creative with usecases.
This can't be done on mobile, you need a computer and a Chromium-based browser. Chrome, Edge, Brave, etc.
Install Violentmonkey extension. Install my Raw Mic Input userscript. This will disable all audio processing on the mic input, like noise cancellation. Useful when you're using the mic to talk, not to play music.
Next, you need an audio loopback driver. The audio that's playing on your computer will be routed into a virtual mic. Any app that accesses this mic will directly get the audio that's playing. Think of it like a pipe that connects your speaker to your computer again, as input.
macOS users: Install BlackHole. Instructions in the GitHub page. You need the 2ch driver. Set up multi-output device. Open System Settings, go to Sound, select the new multi-output device as output and BlackHole as input.
Windows users: Install VB-CABLE. I don't have Windows, so I can't tell you the specifics. You need to set input audio device to the VB-Cable mic, and output to both VB-Cable and your default audio output. Use Google, figure it out. It's very simple. There should be guides on YouTube, too.
Linux users: v4l2loopback. Figure out multi-output.
That's it. Anything you play on your computer now will be the mic input. Go to X, host a space, play songs, have fun.