You are not logged in.

#26 2021-05-19 09:58:58

neostanniy
Member
From: Kyiv, Ukraine
Registered: 2021-04-23
Posts: 27

Re: [SOLVED] Downmixing two input channels into mono (pulseaudio)

So I have done everything mentioned in #4. First of all, I have done:

pacmd list-source-outputs
2 source output(s) available.
    index: 0
	driver: <module-remap-source.c>
	flags: START_CORKED 
	state: CORKED
	source: 1 <alsa_input.usb-PreSonus_AudioBox_22_VSL_2214-00.analog-stereo>
	volume: front-left: 65536 / 100% / 0,00 dB
	        balance 0,00
	muted: no
	current latency: 0,00 ms
	requested latency: n/a
	sample spec: s32le 1кан. 44100Гц
	channel map: front-left
	resample method: speex-float-1
	owner module: 24
	properties:
		media.name = "Remapped Stream"
		media.role = "filter"
		module-stream-restore.id = "source-output-by-media-role:filter"
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	source: 1 <alsa_input.usb-PreSonus_AudioBox_22_VSL_2214-00.analog-stereo>
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	muted: no
	current latency: 0,00 ms
	requested latency: 50,00 ms
	sample spec: s16le 2кан. 48000Гц
	channel map: front-left,front-right
	             Стерео
	resample method: copy
	owner module: 12
	client: 38 <qtox>
	properties:
		media.name = "Capture Stream"
		application.name = "qtox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "4911"
		application.process.user = "bohdan"
		application.process.host = "arch"
		application.process.binary = "qtox"
		application.language = "uk_UA.utf8"
		window.x11.display = ":1"
		application.process.machine_id = "eb3257aeb8014161bc68faa77e9ca63e"
		module-stream-restore.id = "source-output-by-application-name:qtox"

Than I have done what is told in #4:

$ pacmd load-module module-remap-source source_name=mono_Mix master=alsa_input.usb-PreSonus_AudioBox_22_VSL_2214-00.analog-stereo master_channel_map=front-left channel_map=mono
$ pacmd move-source-output 1 mono_Mix

It works now! Wheeeeee! big_smile

So should I add

.nofail
load-module module-remap-source source_name=mono_Mix master=alsa_input.usb-PreSonus_AudioBox_22_VSL_2214-00.analog-stereo master_channel_map=front-left channel_map=mono

to my /etc/pulse/default.pa now?.. Sorry for asking stupid questions.


"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.

Offline

#27 2021-05-19 10:04:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,990

Re: [SOLVED] Downmixing two input channels into mono (pulseaudio)

That's what you can do now. The .nofail is just there to ensure that should the usb device ever not be present for some reason that the pulse startup doesn't fail, granted you don't introduce stray characters in the config file again tongue

Offline

#28 2021-05-19 10:10:03

neostanniy
Member
From: Kyiv, Ukraine
Registered: 2021-04-23
Posts: 27

Re: [SOLVED] Downmixing two input channels into mono (pulseaudio)

Guys, you can't even imagine, how much grateful I am. You are just awesome... I wish you have a perfect day and perfect lives.

Thank you very much! 8)

Marking as "Solved". Whooooooh... smile


"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.

Offline

Board footer

Powered by FluxBB