It comes at just the right time.
My new microphones have just arrived.
I ordered 2 different ones to see if there were any differences.
hw:1 + hw:2
I was already wondering how to assign the individual microphones to the channels.
gst-device-monitor-1.0
Probing devices...
Device found:
name : Monitor of Eingebautes Tongerät Analog Stereo
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
properties:
device.description = "Monitor\ of\ Eingebautes\ Tonger\303\244t\ Analog\ Stereo"
device.class = monitor
alsa.card = 0
alsa.card_name = "HDA\ Intel"
alsa.long_card_name = "HDA\ Intel\ at\ 0xfeaf8000\ irq\ 27"
alsa.driver_name = snd_hda_intel
device.bus_path = pci-0000:00:1b.0
sysfs.path = /devices/pci0000:00/0000:00:1b.0/sound/card0
device.bus = pci
device.vendor.id = 8086
device.vendor.name = "Intel\ Corporation"
device.product.id = 284b
device.product.name = "82801H\ \(ICH8\ Family\)\ HD\ Audio\ Controller"
device.form_factor = internal
device.string = 0
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
is-default = false
gst-launch-1.0 pulsesrc device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor ! ...
Device found:
name : USB Microphone Mehrkanal
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = "USB\ Audio"
alsa.id = "USB\ Audio"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 0
alsa.card = 1
alsa.card_name = "USB\ Microphone"
alsa.long_card_name = "MUSIC-BOOST\ USB\ Microphone\ at\ usb-0000:00:1d.0-2\,\ full\ speed"
alsa.driver_name = snd_usb_audio
device.bus_path = pci-0000:00:1d.0-usb-0:2:1.0
sysfs.path = /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/sound/card1
udev.id = usb-MUSIC-BOOST_USB_Microphone_MB-306-00
device.bus = usb
device.vendor.id = 1b3f
device.vendor.name = "Generalplus\ Technology\ Inc."
device.product.id = 2019
device.product.name = "USB\ Microphone"
device.serial = MUSIC-BOOST_USB_Microphone_MB-306
device.form_factor = microphone
device.string = hw:1
device.buffering.buffer_size = 176400
device.buffering.fragment_size = 88200
device.access_mode = mmap+timer
device.profile.name = multichannel-input
device.profile.description = Mehrkanal
device.description = "USB\ Microphone\ Mehrkanal"
module-udev-detect.discovered = 1
device.icon_name = audio-input-microphone-usb
is-default = false
gst-launch-1.0 pulsesrc device=alsa_input.usb-MUSIC-BOOST_USB_Microphone_MB-306-00.multichannel-input ! ...
Device found:
name : USB Audio Device Mono
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = "USB\ Audio"
alsa.id = "USB\ Audio"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 0
alsa.card = 2
alsa.card_name = "USB\ Audio\ Device"
alsa.long_card_name = "USB\ Audio\ Device\ at\ usb-0000:00:1d.1-2\,\ full\ speed"
alsa.driver_name = snd_usb_audio
device.bus_path = pci-0000:00:1d.1-usb-0:2:1.0
sysfs.path = /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/sound/card2
udev.id = usb-0c76_USB_Audio_Device-00
device.bus = usb
device.vendor.id = 0c76
device.vendor.name = "JMTek\,\ LLC."
device.product.id = 160a
device.product.name = "USB\ Audio\ Device"
device.serial = 0c76_USB_Audio_Device
device.string = hw:2
device.buffering.buffer_size = 176400
device.buffering.fragment_size = 88200
device.access_mode = mmap+timer
device.profile.name = mono-fallback
device.profile.description = Mono
device.description = "USB\ Audio\ Device\ Mono"
module-udev-detect.discovered = 1
device.icon_name = audio-card-usb
is-default = true
gst-launch-1.0 pulsesrc device=alsa_input.usb-0c76_USB_Audio_Device-00.mono-fallback ! ...
Device found:
name : Eingebautes Tongerät Analog Stereo
class : Audio/Sink
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 384000 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = "ALC272\ Analog"
alsa.id = "ALC272\ Analog"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 0
alsa.card = 0
alsa.card_name = "HDA\ Intel"
alsa.long_card_name = "HDA\ Intel\ at\ 0xfeaf8000\ irq\ 27"
alsa.driver_name = snd_hda_intel
device.bus_path = pci-0000:00:1b.0
sysfs.path = /devices/pci0000:00/0000:00:1b.0/sound/card0
device.bus = pci
device.vendor.id = 8086
device.vendor.name = "Intel\ Corporation"
device.product.id = 284b
device.product.name = "82801H\ \(ICH8\ Family\)\ HD\ Audio\ Controller"
device.form_factor = internal
device.string = front:0
device.buffering.buffer_size = 65536
device.buffering.fragment_size = 32768
device.access_mode = mmap+timer
device.profile.name = analog-stereo
device.profile.description = "Analog\ Stereo"
device.description = "Eingebautes\ Tonger\303\244t\ Analog\ Stereo"
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
is-default = true
gst-launch-1.0 ... ! pulsesink device=alsa_output.pci-0000_00_1b.0.analog-stereo
I think the device.string =
is the value i must seek.
The systemd service i will test, afterwards.