How to record sound of one VM

Original forum link
https://forum.qubes-os.org/t/2972
Original poster
427F 11FD 0FAA 4B08 0123 F01C DDFA 1A3E 3687 9494
Editors
deeplow
Created at
2021-02-23 14:47:37
Last wiki edit
2023-09-07 06:11:46
Revisions
1 revision
Posts count
1
Likes count
7

This is a followup to this question. Since I'm not on the mailing list, maybe someone else can reply to that question with a link to this description.

=====

What we want to achieve: record audio output of qube A in qube B.

All instructions should be executed in dom0.

  1. Run sudo modprobe snd_aloop

  2. In pavucontrol, in the "Playback" tab, change the output for A to Loopback Analog Stereo.

  3. In pavucontrol, in the "Recording" tab, change the source for B to Monitor of Loopback Analog Stereo.

  4. Attach the microphone to qube B via either the applet in the system tray or using qvm-device mic in the command line.

The audio output of A should now appear as the microphone input in B.