PWM whine near earpiece in low signal phone call and loud sound sent to the other end
#20
(06-04-2021, 08:27 AM)Rainer Wrote: Hi again, I'm not sure if i understand the exact layout of the pinephone audio! On phosh (manjaro-arm beta 10) audio test it sounds like there are 2 speakers on each side, left/right!? Why would there be a speaker on the bottom near the mic? Doesn't this create the echo as the bottom speakers are beside the mic?

That lower speaker is the powerful speaker for playing sounds when not in a phone call. It is quite powerful. It is disabled by default during phone calls at least on Mobian for exactly that reason.

(06-04-2021, 08:27 AM)Rainer Wrote: Anyhow, when I make a call on phosh I get a pop-up with some options, speakers on/off, mic on/off. I could hardly hear the other person when making a call so I logically turned the speaker on which in turn, I surmise, created the echo effect. I decided to not turn the speakers on and try small earbud headphones and this seems to have worked. So an interim solution for me right now. The pinephone is supposed to be my main phone and I need a reliable cellular, Phone, SMS, and data download to start with. AFter hearing about the SIM card slot malfunctions/breakages, I really don't want to be swapping out the SIM card on a regular basis. Thanks for effort by many to move this project forward.

(06-04-2021, 09:26 AM)dsimic Wrote:
(05-25-2021, 11:57 AM)vortex Wrote:
(05-24-2021, 01:28 PM)dsimic Wrote: By the way, back at the time when the modem calls initially started to work on the PinePhone, the dialer application didn't perform the audio routing.  As a result, there was a loud noise during the call, resemblling some sort of weird, metallic, pulsating noise that made it impossible to hear the other end of the call, or the other end to hear me.  After executing the audio setup utility, during the call, this noise disappeared and the audio quality was rather good afterwards.  I wonder if this is somehow related?

It is related to that sound. When I first heard the recorder, I thought it was something very different. But listening to my more recent recording, I think they are related. The pulsating sound has the same spectral characteristics as the more continuous sound, so I think they are the same. Since my Nexus 5 makes similar sounds but doesn't have the issue, I am inclined to think it isn't direct audio coupling from the sound to the microphone. This is why I think it is electronic. I could of course be wrong on this.

So, I think what you just brought up is worth investigating further.

I might be wrong, bit I think that at least some of the weird noises I've described above were caused by the voice of the called party being played through the PinePhone's built-in speaker.  That surely created an audio spill, which at least contributed to those weird pulsating noises.

Could an audio spill be one of the reasons for the original problem you're experiencing?  If so, something inside the phone could be picking up the audio output signal and emitting it, in some way or form, through the built-in speaker.  The microphone could be picking that, creating a spill.

I had originally dismissed this possibility, but the two of you convinced me I had prematurely dismissed it and should actually test it. So I did two phone calls where I turned the earpiece speaker volume all the way to zero so that there would be no audio spill except via RF pickup in the earpiece speaker and then producing sound.

On a 4G call (I think it was 4G, but it might have been 3G), there were no problems. The recording was nice and quiet and the frequency comb was not there as seen in the spectrogram below.

[Image: spectrogram_Freja_Nordsiek_2021_06_05_4G...er_off.png]

However, in a call with a worse signal and on 2G, the frequency comb is still there as seen by the spectrogram below.

[Image: spectrogram_Freja_Nordsiek_2021_06_05_2G...er_off.png]

From this, I think there is an issue independent of audio spill. Now, that isn't to say that audio spill couldn't also be a problem with a similar fequency comb and just adding more noise on top. But, there is definitely at least something there that isn't audio spill.

(06-04-2021, 09:26 AM)dsimic Wrote:
(05-25-2021, 11:57 AM)vortex Wrote:
(05-24-2021, 01:28 PM)dsimic Wrote: Edit: I somehow managed to forget mentioning that the proprietary modem firmware can be updated, which you're probably already aware of, so you should check that as well. You can find the instructions, the latest firmware, and the release notes in this repository.  Further information, including the source code of the update utility, can be found in this forum thread

I am familiar with it and looking forward to where the firmware will eventually go, but I am not quite ready to dive down that rabbit hole yet. A lot of things I have to get setup before I can go there.

That all said, that firmware might be able to have some effect on the problem (e.g. use settings that reduce it).

Sorry, I wasn't clear enough...  The above-linked repository contains the latest version of the official, proprietary modem firmware, which is provided by Quectel.  It would be advisable to update the modem firmware to the latest available official version; just have a look at the mile-long update release notes.

I see I misunderstood you. I probed the modem and I am definitely running some version of the EG25GGBR07A08M2G firmware, but it is possible I am not running the very latest version of it. I am going to try to update it to this version for some next tests and see if that does anything. Hopefully I can do this soon, but I have been a bit busy lately.

(06-04-2021, 09:26 AM)dsimic Wrote:
(05-25-2021, 11:57 AM)vortex Wrote: I don't know if the sampling frequency in the modem would have much effect given that the frequency comb is seen at the CPU. But, there is a chance it might due to interactions between the different close components in the CPU's sound unit due to their close proximity electrically.

If everything else fails, it might be worth trying to change the sampling frequency.

Definitely going to try this.

(06-04-2021, 09:26 AM)dsimic Wrote:
(05-29-2021, 10:44 AM)vortex Wrote: I managed to get a wired headset since the store is open now and do a recording with it. I wasn't able to get a very long recording yet (important for getting very good spectrograms) but was able to some preliminary ones.

The bad news is that the problem is still there. The good news is that it is A LOT quieter with the headset. The spectrogram is below. There are a lot more spikes visible in it because the problem is quieter overall (easier to see other spikes). Also, the recording was shorter and that means a noisier looking spectrogram.

This might support my above-described "theory" that an audio spill might be contributing to the issues you're experiencing, because an increased distance between the phone's built-in speaker and the headset's microphone would decrease the spill.  This "theory" could be easily verified by taping up the built-in speaker and using a wired headset to make a test call...  It might be worth trying, if you agree.

When I was doing the headset, it was pretty far away most of the time but was occasionally close. As the spectrograms above show, audio spill can't explain all of the problem. But it could still explain part of it.

(06-04-2021, 09:26 AM)dsimic Wrote:
(06-04-2021, 08:27 AM)Rainer Wrote: I'm not sure if i understand the exact layout of the pinephone audio! On phosh (manjaro-arm beta 10) audio test it sounds like there are 2 speakers on each side, left/right!? Why would there be a speaker on the bottom near the mic? Doesn't this create the echo as the bottom speakers are beside the mic?

There's a single speaker in the PinePhone, as visible in the daughterboard schematic, but for some reason the audio test in Phosh shows the left and right channels.  Actually, the two channels should be mixed into a mono output by the audio codec, and fed to the mono speaker.

The built-in speaker is disabled during phone calls, and the earpiece is enabled.  When the speaker is not disabled, it surely creates an audio spill, as I've described it above.  What happens when the speaker(phone) is activated during a call?  I'm not sure, I haven't tried that. Smile

Putting it in speaker phone mode. Another thing to test.
  Reply


Messages In This Thread
RE: PWM whine near earpiece in low signal phone call and loud sound sent to the other end - by vortex - 06-10-2021, 02:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Phone powers off with high user demands car46999 7 595 04-11-2024, 09:17 AM
Last Post: zetabeta
  Phone will not turn on (but sometimes will) insidetrip101 10 4,790 08-18-2023, 04:28 AM
Last Post: spha
  Pine phone main board part Generaltuxenburg 1 1,070 07-31-2023, 07:50 PM
Last Post: tllim
  No calls on Pine Phone Beta convergence edition polypode 1 1,179 03-06-2023, 08:04 PM
Last Post: rocket2nfinity
  Pine phone USB keyboard connection CleanEnergyCleanEnvironment 1 1,131 02-20-2023, 12:14 AM
Last Post: Kevin Kofler
  I cannot call or receive calls aka0kuro 6 3,106 01-13-2023, 05:31 PM
Last Post: alaraajavamma
Thumbs Down Phone is unresponsive theneedful 14 7,661 08-12-2022, 08:18 AM
Last Post: theneedful
  Phone Dead Already? MarsColonist 4 2,691 08-11-2022, 11:52 AM
Last Post: auanta
  PPKB with phone; phone dies while charging SwordfishII 1 1,375 06-08-2022, 04:14 AM
Last Post: SwordfishII
  Lost internal earpiece Veraendert 3 2,379 02-14-2022, 07:51 AM
Last Post: Veraendert

Forum Jump:


Users browsing this thread: 4 Guest(s)