Am Freitag, dem 04.02.2022 um 17:21 +0000 schrieb Charles Keepax:
On Fri, Feb 04, 2022 at 10:43:53AM +0100, Martin Kepplinger wrote:
yes my bad :) If I may, just let me describe my situation again and see whether anything else comes to your mind.
It's weird but I when I set "Capture Volume" to 60 instead of 29, I didn't hear a difference.
So far I don't hear a difference when setting "INPGAR IN1R Switch" on.
Does "Value" in this ucm description make any sense to you?
Mostly a couple comments inline.
EnableSequence [ cset "name='Digital Capture Volume' 127,127" cset "name='Capture Volume' 63,63" cset "name='MIXINR IN3R Switch' on" cset "name='MIXINR IN3R Volume' 7" cset "name='INPGAR IN1R Switch' on" cset "name='Input Mode' Analog"
Little hard to say without the rest of the ucm file (happy to have a look at that if you had a handy link?), but this looks a bit weird. Why are you connecting the MIXINR IN3R stuff here, you want to go through the PGA most likely?
sure, this is the changing (force-pushing) file I'm working on: https://source.puri.sm/martin.kepplinger/librem5-base/-/blob/headset/default...
] DisableSequence [ cset "name='INPGAR IN1R Switch' off" cset "name='MIXINR IN3R Switch' off" cset "name='MIXINR IN3R Volume' 0" cset "name='Input Mode' Digital" ] Value { CapturePriority "100" CaptureChannels "2" CaptureSwitch "name='MIXINR IN3R Volume'"
This should probably be CaptureVolume, rather than CaptureSwitch.
CaptureSwitch "name='MIXINR IN3R Switch'" CapturePCM "hw:${CardId},0" JackControl "Headphones Jack"
Assuming your machine driver creates an appropriately named control.
}
Let me just append the correct amixer contents where I hear my usual "quiet and bad signal" recording:
numid=11,iface=MIXER,name='Capture Switch' ; type=BOOLEAN,access=rw------,values=2 : values=off,off
This still looks weird, I wouldn't expect you would hear anything with the "Capture Switch" off, it mutes the PGA. Can you confirm if this is on whilst you are actually capturing audio?
you're right. I append my current setting, now while gnome audio settings are open (where the signal volume is shown), then it's on.
numid=84,iface=MIXER,name='INPGAR IN1R Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on
I definitely would consider turning this on as just a test thing not a recommendation on how the part should be used, until we see if it helps. It was just a weird hunch, I feel the routing is probably more sensible without it.
removed that.
numid=92,iface=MIXER,name='MIXINR IN3R Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on numid=93,iface=MIXER,name='MIXINR PGA Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on
I don't think you should have both the IN3R and PGA switches enabled at once. I would suggest only using the PGA switch.
Ok, I think what is happening here is you have both of these connected, and because you have the PGA muted, you are only hearing the unboosted mic signal coming through MIXINR IN3R. This would explain both why the Capture Volume has no effect and why your signal is quiet.
ok. I keep MIXINR IN3R Switch disabled now and the volume is indeed high now, and I control volume using
CaptureSwitch "name='Capture Volume'"
Volume itself indeed is good now. Recorded voice is very "metallic" and "shallow" if you know what I mean - and distorted when using MAX volume. The gnome audio recorder doesn't show *any* signal in the UI, so that must still be kind of bad - even though I understand recorded voice way better now than before.
Thanks, Charles
thanks for all the time and help, and sorry for all the wrong amixer output I sent you,
martin