Commit graph

28 commits

Author SHA1 Message Date
yixuanjiang
9281eea960 Recording tuning table update - 7th Ver. For EVT1.1
Add AGC in SA-lite.
Related aoc has merged: b/259648456

Test: Hw verified
Bug: 282918858
Bug: 282916925
Change-Id: I3bcd60a4176c8d54cd9a8ea9e3233615e437ab93
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-06-06 05:12:46 +00:00
Jasmine Cha
aa189ef3ef Merge "audio: update waves tuning for phone call" into udc-d1-dev 2023-06-02 08:43:55 +00:00
Jasmine Cha
e5dc65c64a audio: update waves tuning for phone call
waves_config.ini
 - support phone call mode w/ new OM and preset name
waves_preset.mps
 - add lite tuning preset in OM9 (only using PEQ non-discrete +
   MaxxVolume limiter)

Bug: 285360691
Bug: 285361118
Test: manual test

Change-Id: Ia3d1d6e5dba1f8cfa445a0744b3c5597e47a95f2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-02 09:48:07 +08:00
Carter Hsu
acc3575027 audio: FM table check in (2023/06/01) for telephony.
- SB3 Headset (Gene)
Fine tune 3rd party USB-C adaptor by using Samsung EE-UC10.

- SB3 Handset (Duncan)
1: Fine tune TMOUS WB SLR
2: Noisy environment up eye improve on VoIP/VOICE_GENERIC NS
3: TMOUS NB/SWB RLR fine tune
4: VoiceGeneric/TMOUS WB TX enable CNG
5: Update VOICEGENERIC/TMOUS NB/WB/SWB TX  PREEQ1/PREEQ2 for EVT1.1 setting

- SB3 Handsfree (Ricky)
1. Fine tune NS_type 3 to mitigate noise pumping in SWB (b/279143103)
2. Fine tune low-freqency to improve power consumption in WB

Files from the latest attachment on b/285255101

Bug: 279143103
Bug: 285255101
Test: verified by rickycheng@
Change-Id: Ibd4bdc48aa0e046e028fde50d485c5687f137926
2023-06-01 09:08:40 +00:00
Carter Hsu
29dc1462f8 audio: FM table check in (2023/05/25) for telephony.
- SB3 Handset(Duncan)
Update PREEQ1/PREEQ2 for EVT1.1 VOICE_GENERIC NB/WB/SWB and RESERVED2 SWB

- HK3 Headset (Gene)
1. Apply ultra low latency mode for Google Condor V21 and F821 for Field and Certification test.
2. Parameter change:
a.  V21:
a-1) Enable Ultra low latency on RX
a-2) Disable TX EQ to make TX EQ flat
b.  F821:
b-1) Copy New_V21 to F821
b-2) Add NB RX gain for field NB test
c.  3rd party adaptor:
b-1) Copy old_V21 to HEADSET-RESERVE1
b-2) Tune TX EL WB EQ to pass the HD-Voice mask
b-3)Reduce TX loudness 1dB for NB WB SWB
d. Globle
Copy Condor RX to Condoer Headphone RX

1. Back to 0428 -> Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Back to 0428 -> Handsfree RX setting to HCO-RX

Files from the latest attachment on b/284255632

Bug: 284255632
Test: verified by rickycheng@
Change-Id: I2035f2be8fc71fa1665ffb5e1fb698fb25061b61
2023-05-25 08:38:00 +00:00
Carter Hsu
94d900d933 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- SB3 HANDSET.dat (Duncan)
1: VoIP SWB improve NS distortion under quiet environment
2: Adjust the RLR NOM/MIN for PTCRB certification
3: Align NS B_POST_FILT_0 to 4000/1000/1000 as P10 for TMOUS position T-MOS/POLQA unstable
4: Fine tune WB SFR for better TX POLQA MOS
5: Copy VOICE_GENERIC SWB -> RESERVED2 SWB
6: Copy VOICE_GENERIC NB/WB/SWB TX -> HANDSET_HAC TX

- SB3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-SB3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. all bands Volume curve fine tune

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214955

Bug: 283214955
Test: verified by rickycheng@
Change-Id: I5e52733076ea3845795846f7f5ee166cbe83bcef
2023-05-18 12:30:28 +00:00
Treehugger Robot
6c294bd68e Merge "Revert "audio: FM table check in (2023/04/13) for telephony."" into udc-d1-dev 2023-05-17 08:19:43 +00:00
Jason CH Hsu
55915c839b Revert "audio: FM table check in (2023/04/13) for telephony."
This reverts commit 95e65ad4c8.

Reason for revert: remove temp WA and requires aoc ag/23243138

Bug: 277993237
Change-Id: Ie87648482160edffd29e3548402e887b166a43d4
2023-05-17 04:13:50 +00:00
Jasmine Cha
27d89c284b audio: update playback tuning tables
Release Updates:
 - Improvement to timbre and distortion to fix b/278032652
 - Improvement to dynamics (including volume pumping fixes)
 - Loudness update to fix b/278034786
 - Clarity update to fix b/278034414
 - Stereo balance update to fix b/280352917
 - Reverse landscape mode added (in INI and MPS files)
 - Volume curve update (to match previous projects)

Bug: 281863318
Test: manual test
 - Acoustic objective testing pass
 - Perceptual internal + demo testing pass

Change-Id: I5f4be7d438f9e367a54dd8a2adee04e0c1a69526
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-11 10:05:12 +08:00
Carter Hsu
e240a9cb15 audio: FM table check in (2023/04/28) for telephony.
- SB3 Handset (Duncan)
Fine tune NB/WB/SWB for TMO US position

- SB3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995733

Bug: 279995733
Test: verified by rickycheng@
Change-Id: Ib3c37c0fd85a04504e4f42b2e889071a71552b62
2023-04-28 10:47:15 +08:00
Rios Kao
8a2a6b6435 audio: add smartfeature table for chre tuning
note: add smartfeature.gstf that only used for Hotword
      pipeline in AoC which is sharing to chre usage too.

      On ZUMA
        CHRE PDM Gain(gain=10)
        CHRE AEC Gain(gain=-22)
        CHRE SRC AEC Timeout(timeout=300000)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

Test: end-to-end verify by CHRE
      using aoc_audio_cfg to query gain as below

      adb shell aoc_audio_cfg hotword_get_non_eraser_gain
      adb shell aoc_audio_cfg hotword_get_eraser_post_gain
Bug: 271078701

Change-Id: I8355563141b86c59e0c9115a64b787ac92f5aadd
2023-04-25 05:23:45 +00:00
Jason Hsu
95e65ad4c8 audio: FM table check in (2023/04/13) for telephony.
Update mcps.dat
vote for highest clock

Bug: 277993237
Test: tested by acoustic team
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I12bb9cf029af26d629004095f76efb316e3893bf
2023-04-20 07:09:57 +00:00
Carter Hsu
4437bb859f audio: FM table check in (2023/04/13) for telephony.
-HK3 Handsfree (Ricky)
1. Opitmized subjetive quality on NB/WB/SWB- Double talk echo / single talk echo
2. Modify FNS on Voice call/ VOIP SWB for CCA2.0

- SB3 Heaset (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06
Improve WB NS

- SB3 BT (Gene)
For CCA 2.0
//RX_NS_LVL_CTRL  03 ==> 06

Files from the latest attachment on b/278061372

Bug: 278061372
Test: verified by rickycheng@
Change-Id: I22d2fde2f7ed0f2ffffdf3b10acfbe597a06eaa6
2023-04-14 15:18:43 +08:00
Carter Hsu
c8b501bb18 audio: FM table check in (2023/03/24) for telephony.
-SB3 Handsfree (Ricky)
1. TX tuning for EVT1.0 in all bands
2. ECDT fine tuning v1 in SWB
3. NS fine tuning with MSSA ON in all bands
4. RX subjective fine tuning in all bands

-SB3 Handset (Duncan)
1: NB/WB/SWB RLR correction
2: NB/WB/SWB RFR increase more headroom for requirement
3: Fine tune FDEQ to pass RCM acoustic shock requirement in max vol condition

- SB3 HE (Gene)
1. Align the EQ of HEADSET-GOOGLE_CONDOR-VOICE_GENERIC-NB and HEADSET-GOOGLE_CONDOR_HEADPHONE-VOICE_GENERIC-NB.

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/274987125

Bug: 274987125
Test: verified by rickycheng@
Change-Id: I46881db8f0358e85d8d4cbf9175104bf7657cf71
2023-03-24 09:18:03 +08:00
TreeHugger Robot
bc9d9c3189 Merge "Release EVT1.0 table for Husky/Shiba" into udc-dev am: 835621afe6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22122026

Change-Id: Ie5ad36f792479c6aadac05c0fbb879f90918f06f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 03:52:16 +00:00
yixuanjiang
564ba21cd7 Release EVT1.0 table for Husky/Shiba
For recording.gatf:
     Camcorder path :
     1. Surround module :calibrate the AZ parameters for EVT 1.0 device
     2. WNR module:
        Improve SNRi by change mul_ch_spec_diff
        ( center_spec_select_mode 4 -> 2, wiener_overdrive 1000-> 1500)
     3. MBDRC module:
        Improve background noise
        a.Low band threshold: from -44dB to -38dB
        b.High band cross over frequency from 12k Hz to 18k Hz
     4. SNS module:
        update SNS module threshold for P23 project.

Bug: 273954948
Bug: 273913476
Test: Verify by HW Darren, HW Jacky
Change-Id: I5b8c8cdcf1feeb53e092fc922f3b04208fbdb71d
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-03-20 01:57:13 +00:00
Carter Hsu
2d9fe636b8 audio: FM table check in (2023/03/02) for telephony.
-SB3 Handset(Duncan)
1: Fine tune SWB RFR for subjective listening
2: Update NB/WB NS parameter
3: Decrease PGA gain(13dB gain) for Codec gain feature
4: Fine tune NB/WB/SWB FFP/BVE setting
5: Update Custom2 usecase with light NS

-HK3 Handsfree (Ricky)
1. EVT1.0 fine tuning - downlink in NB/WB/SWB
2. Volume curve tuning for all bands
3. Modify PGA gain for Codec gain feature

- SB3 HE (Gene)
HE NS parameter update for NB, WB and SWB

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/271388793

Bug: 271388793
Test: verified by rickycheng@
Change-Id: If40b74cdb98ae28d6ac129f620e0537bddde8d68
2023-03-03 09:06:18 +08:00
Jasmine Cha
a126119dfa audio: enable waves BAACL/playback throttle
- use BAACL/playback thermal throttle action in ini
- use default settings for BAACL and playback thermal throttle.

Bug: 267100178
Test: push and check lr swap/mixed by adb commands

Change-Id: I5f43fe3ee39be8c06d8d5024462df2f696a0a6eb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-01 13:36:01 +08:00
Carter Hsu
e642dcc061 Merge "audio: Audio platform, Mixer_paths, Fortemedia table check in (2023/02/17) for telephony." into udc-dev 2023-02-21 02:36:32 +00:00
Carter Hsu
f3ec3f642f audio: Audio platform, Mixer_paths, Fortemedia table check in (2023/02/17) for telephony.
1. Mixer_path: Adding FIR fast switch in voice-speaker (ON) and speaker (OFF)
2. Audio_platform: Enable MCPS table for lib v622
3. MCPS: Change MCPS for lib v622

Files from the latest attachment on b/269713682

Bug: 269713682
Test: verified by rickycheng@
Change-Id: Ia3953ac6254e03df9708018c4d170a21129c6e5d
2023-02-20 13:17:55 +08:00
Jasmine Cha
0a614e1716 audio: update playback tuning and volume curve
Merge notes:
* Update full volume curve for sound quality (bass, depth, stereo)
* Updated max volume for louder, punchier, more powerful experience
* Updated volume curve to pass power budgets (based on volume
  20-25 = P10 + 300mW and volume 1-19 = P10).
  - Power testing only based on speaker load (not full monsoon battery
    testing).
  - Only risk at volume 22, over power budget by ~50mW, very small
    increase but can deal with it next iteration before dogfood.
* Update volume curve top volumes to pass heat budget at 41-42C skin
  temp for nominal use case (13dB CF pink noise).

Tuning gaps:
* No thermal throttle merged (2nd LL) yet (next iteration pre dogfood),
  so TMO use case unknown still.
* No BAACL tuning merged yet (next iteration pre dogfood)
* Still some bass distortion at top volume steps (need to address bass
  and piano distortion still).  Not clean but very natural vocals w/
  decent pitch reproduction.

Bug: 269384043
Test: manual test from 269384043#comment10

Change-Id: I01edeb0f5d56d2978f13523fe7ee7dd0f9e253b0
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-02-18 06:48:57 +00:00
Carter Hsu
1866688f6f audio: FM table check in (2023/02/09) for telephony.
- SB3 Handset (Duncan)
1. Update FFP and BVE parameter
2. Update NB/WB/SWB RFR and RLR

- SB3 Handsfree (Ricky)
1.  Echo / ECDT fine tune parameter for all bands.
2. NS fine tune parameter for all bands.

- SB3 Handsfree (Ricky)
1.  Echo / ECDT fine tune parameter for all bands.
2. NS fine tune parameter for all bands.

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/268454089

Bug: 268454089
Test: verified by rickycheng@
Change-Id: I2f7aaaeb085d59480b9916763f2991d551dfa0a6
2023-02-10 12:41:44 +08:00
yixuanjiang
5046bf0b3e The 3rd table release for Shiba
The change item are template.xml and recording.gatf which could be found in the ZIP file.
For template.xml: add ID73~ID80 in the new WNR library
For recording.gatf: update MBDRC MIC path : MBDRC Threadhold_dB[1] 44/44/44 (Band1/Band2/Band3) MBDRC gain_dB 27 Limiter gain -2
Camcorder path : MBDRC Threadhold_dB[1] 44/38/38 (Band1/Band2/Band3) MBDRC gain_dB 24 Limiter gain 0 KneeWidth[2] 6 -> 0 Limiter_gain_dB -2 -> -0.2

Bug: 265884472
Test: verified by HW jacky
Change-Id: I8e01794556437fa6b74e0ca6e972778272741717
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-01-18 10:53:03 +00:00
yixuanjiang
87dfa6319a The 2nd table release for Shiba
The change item is recording.gatf which could be found in the ZIP file.
for recording.gatf

change parameter for MBDRC in all scenarios
Mackup_gain_dB 24 -> 27.0
Min_Gain_dB -25 -> -29.0
Threadhold_dB[1] -44 -> -38
CompressRatio [1]0.8 -> 1.0
CompressRatio [2]0.2 -> 0.0
KneeWidth[2] 0 -> 6
Limiter_gain_dB -0.2 -> -2
Change IIR2 8kHz to 2dB

Test: verified by HW wjacky@
Bug: 264746360
Change-Id: Icb53d0429fe8adab43a1743bedb71ee81eafd947
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-01-09 08:52:17 +00:00
David Li
a1a6b76c99 audio: First FM table check in (2023/01/05) for telephony.
//SB3
Handset: Duncan
1: Modify NB/WB/SWB gain setting and IIR setting to meet 3GPP requirements

HAC: Owen/Duncan
1. Modify NB/WB/SWB DL FDEQ slightly to meet Y-axis magnetic FR reqs of HAC v2019
2. Copy DL settings above to Handset_HAC TMOUS / RESERVE2

Handsfree: Ricky
1. All band first tuning release for Proto stage

BT:  Gene
1. Fine tune BT EL for NB WB SLR
2. BT HE table version from 1.3.1 to 1.3.3
3. Make HK BT LE EASSA to be same with SB (SB is correct originally)

Files from the latest attachment on b/264499596

Bug: 264499596
Test: verified by rickycheng@
Change-Id: I09730d343f27cec4ae4a285373f2b05daa6b2423
2023-01-05 16:19:47 +08:00
David Li
3bdfceaadb audio: 1st table release for Shiba
There are recording.gatf and template.xml in the ZIP file.
for recording.gatf
Camcorder path : IIR1(high pass), SUR(calibrated filter), IIR2(high pass), AGC (-24 ideal RMS), MBDRC ( -44 threshold)
MIC path: correct MBDRC
for template.xml
correct SUR module ID

Files from the latest attachment on b/263448513

Bug: 263448513
Test: verified by wjacky@
Change-Id: I7d7dc2496ee3cf37b35b30f34b9f72febc512189
2022-12-23 10:00:30 +08:00
Jasmine Cha
9b66a4e09d audio: update waves tuning
- Full tuning includes volume curve to match previous pixel
  at volume 18 to 1 perceived loudness.
- Passes all power targets
- Pass top speaker heat budget for 40C skin
- Fails bottom speaker heat budget for 40, 41, 42C skin.  Passes 43C skin.
- Test acoustics shows superior performance to past premium.

Bug: 262787252
Test: manual test

Change-Id: Iec4664f0f1ad7499caf5e3cde2158151ca849111
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-16 09:00:20 +08:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00