Nope. hadn't seen it. The last thing I tried was
arecord -f S16_LE -d 10 -r 16000 --channels=1 --device="hw:2,0"
/tmp/test-mic.wav
Recording WAVE '/tmp/test-mic.wav' : Signed 16 bit Little Endian, Rate
16000 Hz, Mono
arecord: set_params:1345: Channels count non available
yet
hw:2,1 (or ,2 or ,3) gives audio open error: No such file or directory
So to adust a mixer I'd use amixer then alsactl store?
amixer -c 2 contents
gives:
numid=17,iface=CARD,name='Keep Interface'
; type=BOOLEAN,access=rw--,values=1
: values=off
numid=16,iface=MIXER,name='PCM Capture Source'
; type=ENUMERATED,access=rw--,values=1,items=4
; Item #0 'Mic'
; Item #1 'Line'
; Item #2 'IEC958 In'
; Item #3 'Mixer'
: values=0
numid=14,iface=MIXER,name='PCM Capture Switch'
; type=BOOLEAN,access=rw--,values=1
: values=on
numid=15,iface=MIXER,name='PCM Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=6928,step=0
: values=4096,4096
| dBminmax-min=-16.00dB,max=11.06dB
numid=5,iface=MIXER,name='Line Playback Switch'
; type=BOOLEAN,access=rw--,values=1
: values=off
numid=6,iface=MIXER,name='Line Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=8065,step=0
: values=6144,6144
| dBminmax-min=-24.00dB,max=7.50dB
numid=11,iface=MIXER,name='Line Capture Switch'
; type=BOOLEAN,access=rw--,values=1
: values=on
numid=12,iface=MIXER,name='Line Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=6928,step=0
: values=4096,4096 | dBminmax-min=-16.00dB,max=11.06dB
numid=3,iface=MIXER,name='Mic Playback Switch'
; type=BOOLEAN,access=rw--,values=1
: values=off
numid=4,iface=MIXER,name='Mic Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=8065,step=0
: values=6144,6144
| dBminmax-min=-24.00dB,max=7.50dB
numid=9,iface=MIXER,name='Mic Capture Switch'
; type=BOOLEAN,access=rw--,values=1
: values=on
numid=10,iface=MIXER,name='Mic Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=6928,step=0
: values=4096,4096
| dBminmax-min=-16.00dB,max=11.06dB
numid=13,iface=MIXER,name='IEC958 In Capture Switch'
; type=BOOLEAN,access=rw--,values=1
: values=on
numid=7,iface=MIXER,name='Speaker Playback Switch'
; type=BOOLEAN,access=rw--,values=1
: values=on
numid=8,iface=MIXER,name='Speaker Playback Volume'
; type=INTEGER,access=rw---R--,values=8,min=0,max=197,step=0
: values=90,90,90,90,90,90,90,90
| dBminmax-min=-36.93dB,max=0.00dB
numid=2,iface=PCM,name='Capture Channel Map'
; type=INTEGER,access=rR--,values=2,min=0,max=36,step=0
: values=0,0
| container
| chmap-fixed=FL,FR
numid=1,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=rR--,values=8,min=0,max=36,step=0
: values=0,0,0,0,0,0,0,0
| container
| chmap-fixed=FL,FR,FC,LFE,SL,SR,SL,SR
| chmap-fixed=FL,FR
| chmap-fixed=FL,FR,FC,LFE
| chmap-fixed=FL,FR,FC,LFE,SL,SR
But how do I access that stuff? arecord doesn't have access to the
mixers, right?
On 7/19/20, chris hermansen wrote:
> Alan and list
>
> On Sun, Jul 19, 2020, 10:26 Alan Corey wrote:
>
>> I have a StarTech ICUSBAUDIO7D
>>
>> https://www.startech.com/Cards-Adapters/Sound/USB-Audio/USB-7-Channel-Audio-Adapter-with-SPDIF~ICUSBAUDIO7D
>> which I want to use the mic input on. Mostly I'm vague on the Alsa
>> syntax for specifying devices and especially subdevices.
>>
>
> Have you reviewed this?
>
> https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/recording-audio
>
--
-
No, I won't call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach Impeach Impeach Impeach Impeach Impeach Impeach Impeach
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user