Score:1

Using the output from speakers as a virtual microphone input on the same device

ma flag

Not sure if title is clear enough. I want the output from the speakers to be treated as an input.

So I can play a video in one window and then the sound from the video will act as input

Raffa avatar
jp flag
Related: https://askubuntu.com/a/1317187
Score:1
cn flag

Totally do-able. The idea is you create a virtual speaker device, and have it connected to a virtual microphone device. On Windows, one could use a virtual audio cable. But on Ubuntu, that app doesn't exist. But we can still create a virtual audio cable using something like PulseAudio as described in this Stack Overflow post. Here's the part of the post that answers your question:

Create a virtual output device, and a virtual source from it's monitor.

pactl load-module module-null-sink sink_name="virtual_speaker" sink_properties=device.description="virtual_speaker"
pactl load-module module-remap-source master="virtual_speaker.monitor" source_name="virtual_mic" source_properties=device.description="virtual_mic"

Any sound played to "virtual_speaker" will be sent to "virtual_mic". (the rest of the linked answer is specific to doing it with FFmpeg)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.