[PATCH] wm8962: add a simple DMIC enable control
Martin Kepplinger
martin.kepplinger at puri.sm
Tue Mar 1 15:00:59 CET 2022
Am Dienstag, dem 01.03.2022 um 13:44 +0000 schrieb Charles Keepax:
> On Mon, Feb 07, 2022 at 02:21:29PM +0000, Charles Keepax wrote:
> > On Mon, Feb 07, 2022 at 11:49:32AM +0100, Martin Kepplinger wrote:
> > > 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:
> > > 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.
> > >
> >
> > My first thought is that the signal is clipping somewhere in the
> > chain. You have a lot of the gaines up very high from when you
> > were trying to working around the low signal level issues.
> >
> > Can we be clear here on what paths are in play here. Presumably
> > the gnome audio recorder is capturing over the I2S. When you say
> > you can understand the recorded voice way better now, do you mean
> > in the file captured by the gnome audio recorder? Or are you
> > listening to that on another path, like direct to the headphones?
> >
> > > thanks for all the time and help, and sorry for all the wrong
> > > amixer
> > > output I sent you,
> > >
> >
>
> Hey, just wanted to check everything was going ok on this stuff?
> Did the volume tweaks get things sounding more normal, and any
> other problems you guys are having?
>
> Thanks,
> charles
Hi Charles!
that's really nice of you to ask. Sorry for not replying earlier.
Mainly cset "name='MIXINR PGA Volume' 0,0" made things much better
indeed. I took a break from this then and the issue is still open,
here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/296
or if you want to look at the current ucm file:
https://source.puri.sm/Librem5/librem5-base/-/blob/bb48912242dd0db1f35c6de8425984414c6d37bb/default/audio/ucm2/Librem_5/HiFi.conf
As you know I'm no expert with the codec and this definitely can be
improved: When visualizing the signal, it doesn't look "good" yet and
the signal strength seems to only go to 50% of the available scale (in
the gnome volume setting). Actually I'll talk about this to Guido
tomorrow and even though it is kind of usable now, I hope to that we
can come up with a profile that we're preliminarliy happy with.
Of course we already use your "Input Mode" control.
thanks,
martin
More information about the Alsa-devel
mailing list