Virtual Audio Sink (Virtual Audio Cable) on Ubuntu

Is there any equivalent of Virtual Audio Cable driver for Windows that works on Ubuntu? I wanna stop using Windows at all but this is very important for me cause I host a TS server so I can connect all audio from my devices and listen it with 1 headset on my main machine. I even have a script that opens and connects my devices on boot (but this is off topic). I searched web for any solutions and I found these: and Virtual Audio Cable For Ubuntubut they don't work with TS or even Discord. Is there anything else I can try. P.S. Maybe I could configure JACK to do it for me but I don't really know how to handle JACK

1

2 Answers

Pulse Audio allows you to create virtual sinks.

#Start pulseaudio daemon
pulseaudio -D
#Create a virtual sink (the software that is the source of your audio will output to this sink)
pactl load-module module-null-sink sink_name=vspeaker sink_properties=device.description=virtual_speaker

Pulse audio naturally creates a source for this sink called vspeaker.remote which you can remap as a virtual mic.

pactl load-module module-remap-source master=vspeaker.monitor source_name=vmic source_properties=device.description=virtual_mic

Now open up pavucontrol and assign the software that is the source of your audio to output to vspeaker. Assign Discord or whatever else you want to route this audio to, to use vmic as a mic.

Some more info is here.

The link you've given uses alsa-loopback - similar, but probably more complicated to use than pulse audio.

If you want to stick to a Teamspeak server, you could use a TeamSpeak 3 client.

Or you could use other audio streaming software, likeMusic Player Daemon (MPD) which is a mature server-side application, under active development. There is long list of available clients.

Other options are listed here.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like