Commit graph

21 commits

Author SHA1 Message Date
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
b6e4892e9a audio: FM table check in (2023/04/13) for telephony.
- HK3 Handset.dat (Owen)
1. Modify SWB Rx FNS with enabled CCA 2.0 - NS_LVL_CTRL: 0006 & LAMBDA_PFILT: 7CCD
2. Modify NB/WB Rx FDEQ_v0406 and TDDRC gain to 9/8dB for maxvol distortion
3. Modify NB Tx TDDRC gain to 14.5dB for SLR=7
4. Copy item 1. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
5. Copy item 2. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US
6. Copy item 3. Tx settings of Handset | Voice_Generic to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

-HK3 Handsfree (Ricky)
1. Optimized subjective quality on NB/WB- Double talk echo / single talk echo
2. Modify FNS on Voice call/ VOIP SWB for CCA2.0

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

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

Files from the latest attachment on b/278059919

Bug: 278059919
Test: verified by rickycheng@
Change-Id: Ib0bc47e05f20c594664cdff000db801945a2964d
2023-04-14 10:07:40 +08:00
Jasmine Cha
a0a84b916a audio: update waves/volume tuning. am: b1ad440673
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22521864

Change-Id: Iee66c720bc98b821b52a250d26b0adf44ce0bc79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 03:57:07 +00:00
Jasmine Cha
b1ad440673 audio: update waves/volume tuning.
1. Updates for loudness, bass, stereo, dynamics, distortion
   improvements.
2. Update entire volume curve for competitive listening experience.
3. Tuned to pass power for Pink 13dB CF noise on speaker loads for
   battery and thermals (simulated 40C - 41C skin temp).
4. Update non-media streams(Ringtone/Notification/Alarm/DTMF/
   System sound/CAM shutter) tuning.
5. Update entire volume curve of non-media streams for competitive
   listening experience.

Bug: 277167806
Test: manual test

Change-Id: I3ed219804d4d40cc3e89ff13858f2cc5d1bf9db8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-10 10:18:10 +08:00
Carter Hsu
9f03a40fa9 audio: FM table check in (2023/03/30) for telephony.
-HK3 Handsfree (Ricky)
1. Fine tuning RX subjective in all bands (including VOIP)
-HK3 Headset (Ricky)
1. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/276196324

Bug: 276196324
Test: verified by rickycheng@
Change-Id: I9e14180bceb2e7c92fb24c3c7cc0362bdf7aa32c
2023-03-30 23:50:00 +00:00
Carter Hsu
f2625cb1d9 audio: FM table check in (2023/03/24) for telephony.
- HK3 Handset.dat (Owen)
1. Modify NB Rx BVE(Tx) G2&G3 from 3/6 to 2/3 dB, keep DRC gain in 8.5dB, and SPK Vol for volume curve
2. Modify WB Rx BVE(Tx) G2&G3 from 4/5 to 2/3 dB, DRC gain to 7.5dB, and SPK Vol for voulme curve
3. Modify SWB Rx BVE(Tx) G1 from 4 to 3dB, FFP MaxG from 10.5 to 11dB, keep DRC gain in 13dB, SPK Vol for volume curve
5. Copy item 1./2./3. Tx/Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
6. Copy item 1./2./3. Tx settings of Handset | Voice_Generic to Handset_HAC | Voice_Generic & Tmobile-US & Reserve2
7. Modify SWB Rx FDEQ at Max/Max-1 Vol to mitigate hissing sound problem.
8. Copy item 7. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2

-HK3 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

- HK3 HE (Gene)
1. Align the EQ of HEADSET-GOO
GLE_CONDOR-VOICE_GENERIC-NB and HEADSET-GOOGLE_CONDOR_HEADPHONE-VOICE_GENERIC-NB.

- HK3 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/274987499

Bug: 274987499
Test: verified by rickycheng@
Change-Id: I0f456cb30f0821b73f171cf6511cc9edadf5872e
2023-03-24 09:16:42 +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
069b29286f audio: FM table check in (2023/03/02) for telephony.
- HK3 Handset.dat (Owen) based on EVT1.0 device
1. Modify WB/NB Rx FFP (MaxGgain: 9dB) / TDDRC (Slant: 7FFF) / EQ for loudness tuning(Acoustic safety)
2. Modify SWB Rx TDDRC (gain:13dB) / FFP (MaxGgain:10.5dB & Tpka: -17dB) / EQ for loudness tuning
3. Modify NB/WB/SWB Tx NS settings(v0218) for 3QUEST and noise leakage
4. Restore NB/WB/SWB UL PGA_0/_1 gain from 20dB to 7dB for codec gain issue fix
5. Copy item 1./2./3./4. Tx/Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
6. Copy item 3./4. Tx settings of Handset | Voice_Generic to Handset_HAC | Voice_Generic & Tmobile-US & Reserve2
7. Enable NS with Post filter for nolinear EC in Handset | Custom2 for talk back

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

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

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

Files from the latest attachment on b/271389412

Bug: 271389412
Test: verified by rickycheng@
Change-Id: I0d616ae50e1f02977bf57d9bfb00108ee76190e0
2023-03-03 09:05:31 +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
Jasmine Cha
934d7c4e5c audio: update waves, media speaker volume curve
Merge notes:
* Update max volume for loudness, bass, stereo, dynamics,
  distortion improvements.
* Update entire volume curve for competitve listening
  experience.
* Update entire volume curve within 1dBSPL of previous vol curve
  (to be matched within 0.5dB on next iteration).
* Moved all volume curve gains from output trim to XML
* Tuned to pass power for Pink 13dB CF noise on speaker loads
  for battery and thermals (40C - 41C skin temp).

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)
* Non-media sounds / vol curve not yet tuned

Testing gaps:
* No monsoon testing (to be setup for next iteration)
* No official thermal testing (to be setup for next iteration).

Bug: 270274623
Test: manual test

Change-Id: I26ece68c56c98593c68cf5d7bda979a2a9af5565
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-02-23 10:30:00 +08:00
Carter Hsu
9fa6146161 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/269713919

Bug: 269713919
Test: verified by rickycheng@
Change-Id: I94b53c772e12b072dd20e8f08ebedf935809356c
2023-02-20 13:23:03 +08:00
Carter Hsu
14a3a1b4bb audio: FM table check in (2023/02/09) for telephony.
- HK3 Handset.dat (Owen)
1. Copy NB/WB/SWB Tx NS Para of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
2. Copy NB/WB/SWB Tx NS Para of Handset | Voice_Generic to Handset_HAC | Voice_Generic & Tmobile-US & Reserve2
3. Modify NB, WB and SWB Tx/Rx FDEQ of Handset | Voice_Generic to get more margin to 3GPP FR and TIA-5050 FR/Distortion limits.
4. Copy Tx/Rx Para of item 3. to  Handset | Tmobile-US & Reserve2
5. Copy Tx Para of item 3. to Handset_HAC | Voice_Generic & Tmobile-US & Reserve2
6. Modify SWB Rx PGA gain from -3 to -2.5 for Handset | Voice_Generic & Tmobile-US & Reserve2
7. Modify WB Rx TDDRC gain from 6 to 7 for Handset | Voice_Generic & Tmobile-US

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

- HK3 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/268454667

Bug: 268454667
Test: verified by rickycheng@
Change-Id: If2f1f7955d38239200725241e1f9fa05b8180d18
2023-02-10 12:05:22 +08:00
yixuanjiang
9c4350fa44 The 3rd table release for Husky
The change item are template.xml and recording.gatf which could be found in the ZIP file.

1. For template.xml: add ID73~ID80 in the new WNR library
2. 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: 265891489
Test: HW Darren verified
Change-Id: I53ab11ab3be2180a0fef6e231890bd0c815d239f
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-02-02 02:17:47 +00:00
TreeHugger Robot
e8b36af8e3 Merge "audio: 2nd table release for Husky" 2023-01-07 15:26:20 +00:00
yixuanjiang
c146e333d7 audio: 2nd table release for Husky
There's only recording.gatf 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
2nd_threadhold_dB
-44 -> -38
compressRatio
2.0 -> 2.0
0.8 -> 1.0
0.2 -> 0.0
3rd_kneeWidth
0 -> 6
limiter_gain_dB
-0.2 -> -2

Files from the latest attachment on b/264731513

Test: local
Bug: 264731513
Change-Id: If2b47715286bad673d4a9a7f1c1f86d29d032ac7
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-01-07 15:33:49 +08:00
David Li
b4c69615bf audio: First FM table check in (2023/01/05) for telephony.
//HK3
Handset: Owen
1. Modify NB/WB/SWB DL FDEQ, TDDRC Gain, and SPK_Vol Gain(NB only) for 3GPP regs.
2. Modify NB/WB/SWB UL PreEQ MIC1 based on HK3 MIC Acoustic performance to match MIC0 FR
3. Modify MIC distance DIST2REF1 to 166mm based on HK3 MIC placement
4. Set NB/WB/SWB UL PGA_0/_1 gain as 20dB(from 6dB) to cover codec gain issue as a short term
5. Copy the settings above to Handset TMOUS / RESERVE2
6. Modify NB/WB/SWB Tx NS para from FM simulation to improve S-MOS(Handset Generic only)

HAC: Owen
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/264499619

Bug: 264499619
Test: verified by rickycheng@
Change-Id: I709998c8aa108ef21211176b6e8c50b983b2e5a0
2023-01-05 16:17:10 +08:00
David Li
ca98913a34 audio: 1st table release for Husky
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 with AZ1.0 parameters

Files from the latest attachment on b/263449687

Bug: 263449687
Test: verified by darrenyen@
Change-Id: I5a31582ecf6b8f8b81be7e61079e172bddb09ba0
2022-12-23 09:41:06 +08:00
Jasmine Cha
15548e038e audio: waves tuning table
- Full tuning includes volume curve to match previous project at
  volume 18 to 1 perceived loudness.
- Passes all power and skin thermal targets
  (for 40C skin temp sustained power)
- Test acoustics shows superior performance to past premium (R4, C10)

Bug: 262473484
Test: manual test

Change-Id: Icc1dee1782d9919195aa161bc5b99708c489fc66
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-14 13:39:13 +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