Linux instructions

Downloads

How to use another device as microphone

Let’s say you want to use your Android device as a microphone.
You’ll need to create a virtual device that can be used as an input (in Skype for example).

Create a virtual mic

Option 1: Terminal (Temporary)

Copy-paste these in a terminal window

  • Creates a device where AudioRelay can stream audio into
pactl load-module module-null-sink \
	sink_name=audiorelay-virtual-sink \
	sink_properties=device.description=Virtual-Sink
  • Creates a device usable by communications apps (e.g: skype)
    • (It simply renames the Monitor of the previous device)
pactl load-module module-remap-source \
	master=audiorelay-virtual-sink.monitor \
	source_name=audiorelay-virtual-sink \
	source_properties=device.description=Virtual-Mic

What it should look like

carbon-ubuntu-commands

Typing pulseaudio -k reloads PulseAudio and remove the temporary devices.

Option 2: Config file (Persisted)

In order to persist these changes between reboot, add these lines to the file /etc/pulse/default.pa.

# Creates a device where AudioRelay can stream audio into
load-module module-null-sink sink_name=audiorelay-virtual-sink sink_properties=device.description=Virtual-Sink
# Creates a device usable by communications apps (e.g: skype)
load-module module-remap-source master=audiorelay-virtual-sink.monitor source_name=audiorelay-virtual-sink source_properties=device.description=Virtual-Mic

Type pulseaudio -k in a terminal window to make PulseAudio reload the file.
After this, you’ll probably need to restart apps using the audio.

Result in Volume control

What the result should look like in volume control / pavucontrol

(Installed via sudo apt install pavucontrol)

Use the virtual mic

  • Select Virtual-Sink in AudioRelay

  • Select Virtual-Mic in your communications app

  • Then start a server on your Android device and connect your Linux device to it
1 Like