<div dir="ltr">Are you trying to record piano and microphone input to a single audio stream?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 16, 2021 at 9:55 AM Jan De Luyck <<a href="mailto:ml%2Bpulseaudio@kcore.org" target="_blank">ml+pulseaudio@kcore.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi folks,<br>
<br>
I'm trying to send the output of an usb-connected plantronics headset and my digital piano (using midi + fluidsynth) over google meet/zoom/jitsi/.. to the other side. I also  need to hear my piano in the headset (it has no speakers)<br>
<br>
I've based myself off of <a href="https://unix.stackexchange.com/questions/576785/redirecting-pulseaudio-sink-to-a-virtual-source" rel="noreferrer" target="_blank">https://unix.stackexchange.com/questions/576785/redirecting-pulseaudio-sink-to-a-virtual-source</a> and been testing all kinds of combinations, but I'm hitting a roadblock.<br>
<br>
The commands I'm using at the moment are:<br>
<br>
HEADSET="alsa_output.usb-Plantronics_Plantronics_Blackwire_3225_Series_1129BBD004004FF4BD2E6F2248C0D73E-00.analog-stereo"<br>
MIC="alsa_input.usb-Plantronics_Plantronics_Blackwire_3225_Series_1129BBD004004FF4BD2E6F2248C0D73E-00.analog-stereo"<br>
<br>
pacmd load-module module-null-sink sink_name=mix-for-virtual-mic sink_properties=device.description=Mix-for-Virtual-Microphone<br>
pacmd load-module module-combine-sink sink_name=virtual-microphone-and-speakers slaves=mix-for-virtual-mic,$HEADSET<br>
pacmd load-module module-loopback latency_msec=20 sink=virtual-microphone-and-speakers source=$MIC<br>
pacmd load-module module-null-sink sink_name=silence sink_properties=device.description=silent-sink-for-echo-cancel<br>
pacmd load-module module-echo-cancel sink_name=virtual-microphone source_name=virtual-microphone source_master=mix-for-virtual-mic.monitor sink_master=silence aec_method=null source_properties=device.description=Virtual-Microphone sink_properties=device.description=Virtual-Microphone<br>
<br>
The effect is that I can perfectly pick the microphone "Virtual Microphone" in the conferencing apps, but only my keyboard is sounding through. My voice / mic never gets picked up.<br>
<br>
I've tried recording using <br>
parecord --channels=2 -d mix-for-virtual-mic.monitor /tmp/x.wav <br>
<br>
but same story, only the piano is being picked up.<br>
<br>
What did I miss? In all logic, this should work?<br>
<br>
Kind regards,<br>
<br>
Jan<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>