Commit graph

110 commits

Author SHA1 Message Date
David Li
987e3a91a8 Merge "audio: enable offloaded DPE" into udc-d1-dev 2023-06-07 02:29:53 +00:00
David Li
d3a89c3893 audio: enable offloaded DPE
Bug: 278812541
Test: Adaptive sound and Juno app
Change-Id: I98890f0aded57fb1724472b52e97a47e9168ffd6
2023-06-06 10:10:09 +00:00
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
Carter Hsu
806df50c66 Merge "audio: FM table check in (2023/06/01) for telephony." into udc-d1-dev 2023-06-02 05:09:00 +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
f587e67e24 audio: FM table check in (2023/06/01) for telephony.
- HK3 Headset (Gene)
Fine tune 3rd party USB-C adaptor by using Samsung EE-UC10.

- HK3 Handsfree (Ricky)
1. Finetune NS_type 3 to mitigate noise pumping in SWB (b/279146446)

Files from the latest attachment on b/285254226

Bug: 279146446
Bug: 285254226
Test: verified by rickycheng@
Change-Id: Id487046b69978802834bced9c24270e9afb74157
2023-06-01 09:11:09 +00: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
Treehugger Robot
9305489bee Merge "Revert "haptics: update hapitcs sink and slot setting"" into udc-d1-dev 2023-05-30 16:12:09 +00:00
Carter Hsu
f2d52594f2 Merge "audio: FM table check in (2023/05/25) for telephony." into udc-d1-dev 2023-05-26 07:15:10 +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
c4ddb11ba2 audio: FM table check in (2023/05/25) for telephony.
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx Volume & DRC Gain for in Handset | T-MOBILE-US
2. Modify SWB Tx NS to v0519 settings for in Handset | Generic to soften VoIP noise pumping issue.
3. Modify NB BVE Gain_limit_3 to 2

3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

- 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

- HK3 Handset (Ricky)
1. Fine tune volume curve in all bands with EVT1.1

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/284255484

Bug: 284255484
Test: verified by rickycheng@
Change-Id: I61d8a8f4dff0f9dd901e8a51fdc520266e4aafa1
2023-05-25 08:35:16 +00:00
Carter Hsu
aada421292 Merge "audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony." into udc-d1-dev 2023-05-19 09:09:23 +00:00
Carter Hsu
0910c02540 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
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx FDEQ of Max/Max-1/Max-2 to optimize Dist./FR for EVT1.1 in Handset | Voice_Generic
2. Modify NB/WB/SWB Tx NS B_POST_FILT_0 to 4000/1000/1000 for Tx MOS and SWB FQEQ for FR
3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

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

-HK3 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. WB residual echo fixed in EVT1.1
5. SWB Volume curve fine tune

- 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/283214557

Bug: 276334268
Bug: 283214557
Test: verified by rickycheng@
Change-Id: I13fdcd2b0f0b2697761522585ffe39e8d851cec2
2023-05-18 12:33:29 +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
Jasmine Cha
391464076e Merge "audio: use VIRTUAL-SKIN-SPEAKER for playback throttle" into udc-d1-dev 2023-05-17 05:39:02 +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
Tai Kuo
12c436b395 Revert "haptics: update hapitcs sink and slot setting"
This reverts commit be92d60ec5.

Bug: 278018625
Test: Check audio coupled haptics at the sound preview app.
Change-Id: I35d52c31015c13670fc6d4e8ef57a3d0ea641391
2023-05-16 16:00:53 +08:00
Jasmine Cha
cc7f844429 audio: use VIRTUAL-SKIN-SPEAKER for playback throttle
Bug: 282062889
Test: manual test

Change-Id: I30fcb91c4f8dc8d9208389f551034e829166afda
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-15 03:42:31 +00:00
Treehugger Robot
3590c2c131 Merge "audio: add mute duration for primary output" into udc-d1-dev 2023-05-15 02:19:24 +00:00
Jasmine Cha
e82522ec9d audio: add mute duration for primary output
- beginning of previous notification is cut off.

Bug: 282118346
Test: preview notification

Change-Id: I914bee1db3a88883e52f8196382f64622744e1df
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-12 15:53:12 +08: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
e6565f034d Merge "audio: enable CCA for VoIP downlink" into udc-d1-dev 2023-05-08 08:49:59 +00:00
Carter Hsu
50fab6913b Merge "audio: FM table check in (2023/04/28) for telephony." into udc-d1-dev 2023-05-02 03:05:51 +00:00
Carter Hsu
d835249441 audio: FM table check in (2023/04/28) for telephony.
- HK3 Handset.dat (Owen)
1. Copy SWB Rx settings of Handset_HAC | Voice_Generic to Handset_HAC | RESERVE2
2. Modify NB/WB Rx FDEQ of Max/Max-1/Max-2 to fix distorted sound in Handset | Voice_Generic
3. Copy item2. to Handset | Tmobile-US

- HK3 Heaset (Gene)
Modify TTY RX Gain

Files from the latest attachment on b/279995395

Bug: 279995395
Test: verified by rickycheng@
Change-Id: I1835fedd755a0c449472a8621f801a4b50f4fc45
2023-04-28 10:48:20 +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
7924176f3d Merge "audio: add smartfeature table for chre tuning" into udc-d1-dev 2023-04-28 02:17:07 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00: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
Rios Kao
2a375b2ddb shusky: add sound_trigger_tap and hotword_lookback_capture
note: add path for new use-case
      sync diff from P22.

Test: end-to-end test with test apk
Bug: 259455755

Change-Id: Ia4b23782b6e08258450d3c7ca5624ea387add529
2023-04-24 03:39:56 +00:00
Rios Kao
79ada777b9 audio: reorg aidl_config and add voice call paths for shusky
note: sync audio_platform_configuration from P22

Bug: 206737711
Test: mm
Change-Id: I1432bda83eaff5bdb988a6baaf31705b79100575
2023-04-24 03:39:51 +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
Yung Ti Su
b28bf692ab Merge "add immersive_output" into udc-d1-dev 2023-04-19 04:20:50 +00:00
Robert Lee
db10c22071 Merge "audio: update speaker tuning bin files" into udc-d1-dev 2023-04-19 04:07:24 +00:00
Robert Lee
7376c60b3d Merge "audio: update speaker tuning bin files and fast switch table" into udc-d1-dev 2023-04-19 04:07:05 +00:00
Yung Ti Su
ffa841e738 add immersive_output
Bug: 275639025
Test: manual

Change-Id: I207402fcdeeead44f3e057101debde5b88951e79
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-04-19 00:52:28 +00:00
Jasmine Cha
97b149659a audio: update aidl tables
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: Id3dbc4c0d694967421cbc516ff42709876845e16
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 12:44:08 +08:00
Carter Hsu
1cad7056a8 Merge "audio: FM table check in (2023/04/13) for telephony." into udc-d1-dev 2023-04-17 07:34:22 +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
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
Carter Hsu
a35e60d4f8 audio: enable CCA for VoIP downlink
Bug: 278151806
Test: build pass
Change-Id: Ia5bf8ae2b316c61452c4ba0891fdff61b26cf251
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-14 01:57:55 +00:00
Robert Lee
e02ea72f52 audio: update speaker tuning bin files and fast switch table
Change list
- Re0 golden value updated for both top and bot speakers
- Update fast_switch config(1&2 FIR on, 3&4 FIR off)

Bug: 243497194
Test: builds
Change-Id: I36b0010b80421a2c7dbe5e9c5787f0e3b7dd9ec0
Signed-off-by: Robert Lee <lerobert@google.com>
2023-04-13 03:36:49 +00:00
Robert Lee
2b103b08c4 audio: update speaker tuning bin files
Change list:
1. set Re0 golden value in bin files

Bug: 243626704
Test: builds
Change-Id: I0ded23e066ab983a5ffe1598c497e97c623a04cd
Signed-off-by: Robert Lee <lerobert@google.com>
2023-04-13 11:29:34 +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
469dad51fb Merge "audio: enable the CCA control" into udc-d1-dev 2023-04-10 01:43:29 +00: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
f8b03c17f0 Merge "audio: FM table check in (2023/03/24) for telephony." into udc-d1-dev 2023-03-25 02:20:25 +00: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