Commit graph

26 commits

Author SHA1 Message Date
Jasmine Cha
8006d103ee waves: shift subtype since new rotation reporterd
Bug:263695396
Test: LR swap/ manual test

Change-Id: Ie515d49e60af7aa54296a30f45d37d161ad8f9d9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-28 09:06:09 +08:00
Anoush Khazeni
81a3ac576d Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev 2022-12-16 03:51:11 +00:00
Jasmine Cha
4b45975d18 audio: update handsfree AEC
- optimize the stability of AEC during double talk
- Supported Usecases:
HANDSFREE-HANDFREE-RESERVE2-SWB
HANDSFREE-HANDFREE-CUSTOM1-SWB
HANDSFREE-HANDFREE-CUSTOM2-SWB
HANDSFREE-HANDFREE-RESERVE1-SWB

HANDSFREE-PORTRAIT-RESERVE2-SWB
HANDSFREE-PORTRAIT-CUSTOM1-SWB
HANDSFREE-PORTRAIT-CUSTOM2-SWB
HANDSFREE-PORTRAIT-RESERVE1-SWB

HANDSFREE-REVERSED_LANDSCAPE-RESERVE2-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM1-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM2-SWB
HANDSFREE-REVERSED_LANDSCAPE-RESERVE1-SWB

HANDSFREE-REVERSED_PORTRAIT-RESERVE2-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM1-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM2-SWB
HANDSFREE-REVERSED_PORTRAIT-RESERVE1-SWB

HANDSFREE-CHARGING_ONLY-RESERVE2-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM1-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM2-SWB
HANDSFREE-CHARGING_ONLY-RESERVE1-SWB

Bug: 262322091
Test: manual test (b/262322091#comment10)

Change-Id: I1632d31edc26394d93bb6a868b5bcde64f3c8399
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-16 01:03:10 +00:00
Anoush Khazeni
89d4a4b269 [T6pro] Updating the Waves tuning.
Updating the Waves tuning to T6K6 REV18
(Google_T6K6_REV18_T6-v13_K6-v10_20221213)

Bug: 262400333
Test: Build only
Change-Id: I08439e8452adc0ab44305695cadfe92c0c20df96
2022-12-13 13:29:53 -08:00
Jason Hsu
622aac9298 audio: Update Fortemedia tuning
Change list:
3dB higher level when docked vs undocked
Vol-6 0x0066
Vol-5 0x0033
Vol-4 0x0024
Vol-3 0x001A
Vol-2 0x0012
Vol-1 0x000D
Vol-0 0x0009

Bug: 258386115
Test: local build pass
Change-Id: I5b27b1f9f67713ebee20130796664abfd216cbc6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2022-11-29 10:38:56 +08:00
Jasmine Cha
4a6e85e4aa waves: update mps with LR swap
Bug: 257002893
Test: manual test b/257002893#comment20

Change-Id: Ia759117d9a6cfab50103c716009bdbff0f326fc2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-17 10:16:05 +08:00
Carter Hsu
83a9d75f2e Merge "audio: Update Fortemedia tuning for Dock" into tm-qpr-dev 2022-11-02 05:51:48 +00:00
Carter Hsu
574a8da5c7 audio: Update Fortemedia tuning for Dock
Change list:
Use case:
HEADSET-DOCK_SPEAKER-RESERVE2-SWB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-VOICE_GENERIC-SWB
0. source is Oct18 tuning file
1. apply Andrew's EQ (Tx, Rx vol 0~vol 6)
2. apply DT/EC tuning to optimize DT preservation
3. apply AEC/NS on/off to following cases based on HEADSET-DOCK_SPEAKER-RESERVE2-SWB
HEADSET-DOCK_SPEAKER-RESERVE1-SWB (AEC off, NS off)
HEADSET-DOCK_SPEAKER-CUSTOM1-SWB  (AEC off, NS on)
HEADSET-DOCK_SPEAKER-CUSTOM2-SWB  (AEC on, NS off)
4. Remove FB use cases to avoid confusion
HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-RESERVE2-FB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-RESERVE1-FB (AEC off, NS off)
HEADSET-DOCK_SPEAKER-CUSTOM1-FB  (AEC off, NS on)
HEADSET-DOCK_SPEAKER-CUSTOM2-FB  (AEC on, NS off)

Bug: 229170428
Test: build pass
Change-Id: Iddca709ac2abdebee5fefcbd9a6f1eec70829b41
Signed-off-by: Carter Hsu <carterhsu@google.com>
2022-10-28 08:31:38 +08:00
Jasmine Cha
eac06d3bf3 audio: correct waves output mode
Bug: 226525184
Test: manual test

Change-Id: I08b9cc3afd1f8c53237ef4f96c904a036dab97f1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-10-27 16:42:21 +08:00
Anoush Khazeni
ae43d779fe Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev 2022-10-26 04:51:06 +00:00
Jasmine Cha
249c50e68c Merge "audio: enable 2.1 mode with Waves" into tm-qpr-dev 2022-10-26 01:50:37 +00:00
Jasmine Cha
0b65616ad5 audio: enable 2.1 mode with Waves
Bug: 226525184
Test: manual test
      adb shell audio_waves_custom_actions_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iacb3452a5169cb19d09c47778e271762715f1726
2022-10-25 10:12:44 +08:00
Carter Hsu
76a9b0d8c2 Fortemedia: update VoIP tuning to 32K
Change notes:
1. "audio_platform_configuration.xml" change the sampling rate
    from 48kHz to 32kHz. details ref to b/253552165#comment3
2. "HEADSET_iS900_Nest_T6+K6_Oct18.dat"
   Based on C10's headset tuning table adding back the following
   K6 cases from Oct14 headset tuning table:
T6+K6: idx 0x6B
      SWB(32k)
      l   HEADSET-DOCK_SPEAKER-VOICE_GENERIC-SWB (AEC on, NS on)
      l   HEADSET-DOCK_SPEAKER-RESERVE2-SWB (AEC on, NS on)
      l   HEADSET-DOCK_SPEAKER-RESERVE1-SWB (AEC off, NS off)
      l   HEADSET-DOCK_SPEAKER-CUSTOM1-SWB  (AEC off, NS on)
      l   HEADSET-DOCK_SPEAKER-CUSTOM2-SWB  (AEC on, NS off)
     FB(48k)
     l   HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (AEC on, NS on)
     l   HEADSET-DOCK_SPEAKER-RESERVE2-FB (AEC on, NS on)
     l   HEADSET-DOCK_SPEAKER-RESERVE1-FB (AEC off, NS off)
     l   HEADSET-DOCK_SPEAKER-CUSTOM1-FB  (AEC off, NS on)
     l   HEADSET-DOCK_SPEAKER-CUSTOM2-FB  (AEC on, NS off)
3. "C10_BLUETOOTH.dat" just following the latest C10's BLUETOOTH.dat

Bug: 253541689
Test: Acoustci verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5462be02c105aca4c54415b914e4104e1fefb5aa
2022-10-20 08:48:01 +08:00
Anoush Khazeni
ddc73b2c03 [T6pro] Updating the Waves tuning.
Updating the Waves tuning file to T6K6 REV11
(Google_T6K6_REV11_T6-v8_K6-v5_20220827.mps)

Bug: 245359805
Test: Build only
Change-Id: I1880bd4347867547e7d56863f7a2fe59cfb4ff72
2022-10-12 15:52:23 -07:00
Jasmine Cha
af0b740c05 audio: update FM tables
Change notes:
1. Enable L/R downmixer and duplicator for iS900, which results in same L/R output.
2. T6+K6 tuning for echo leak as attached mail.

Changed use cases:
T6:
   HANDSFREE-HANDFREE, idx 0x20
   HANDSFREE-PORTRAIT, idx 0x21
   HANDSFREE-REVERSED_LANDSCAPE, idx 0x22
   HANDSFREE-REVERSED_PORTRAIT, idx 0x23
   HANDSFREE-CHARGING_ONLY, idx 0x24
T6+K6:
   HEADSET-DOCK, idx 0x6B

Bug: 247962141
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib5cb4b66b006bc07d618d7e6bf5b091c8430f5d2
2022-10-04 15:12:28 +08:00
Anoush Khazeni
a31ae38529 Merge "[T6pro] Updating the hotword pipeline gain settings." into tm-qpr-dev 2022-09-21 16:53:40 +00:00
Jasmine Cha
9d27aac3e9 waves: support AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
Bug: 247904183
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I0aa5e99a18ec954821e46a8016b2a99e5a7de3b1
2022-09-21 02:14:17 +00:00
Anoush Khazeni
408df1d72c [T6pro] Updating the hotword pipeline gain settings.
Updating the gain settings as follows:

Docked:
eraser_pre_gain  : 17.0dB
eraser_post_gain : 18.6dB
non_eraser_gain  : 35.6dB

Undocked:
eraser_pre_gain  : 22.0dB
eraser_post_gain : 0dB
non_eraser_gain  : 22.0dB

Bug: 209861919
Test: Build only
Change-Id: If0e5c6f74574ad66ff114c512de38d3da5915641
2022-09-19 17:58:53 -07:00
Jasmine Cha
ca6b0c61f4 audio: update fm table
Source (iS895):
K6: HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (K6_HEADSET_Apr_26_and_epdoffset_15ms.dat)
T6: HANDSFREE-HANDFREE-VOICE_GENERIC-FB   (HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat)

Change steps:
1. Convert iS895 source file "K6_HEADSET_Apr_26_and_epdoffset_15ms.dat" and "HANDSFREE_Aug09_v35565_Nest_for_Webex_NREC_off_issue.dat" to iS900
choose source parameter "HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB" and "HANDSFREE-HANDFREE-VOICE_GENERIC-FB" from Nest Handsfree/Headset iS895 parameter
2. apply T6 iS900 evaluation parameter, including enabling iS900 SSA2.0(T6/K6), EC/NS(slight change in T6)
3. 48k-32k mapping, (Tx/Rx EQ, EPD_offset)
//EPD_offset from 0x2D0(15ms at 48k) to 0x1E0 (15ms at 32k)

Bug: 242920998
Test: manaul test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I731f75c92e31be98986da8091d5c744064ccfeec
2022-08-22 13:10:07 +08:00
vincenttew
353ba4f7f7 audio: update VOIP usecase config
sync fortemedia audio table

Test: VOIP usb headset, BT, speaker, handset mode
Bug: 237649996
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I9f2c02f02e80ae32596b024d4bce91c63d2a1d49
2022-07-22 18:19:23 +08:00
Jasmine Cha
5b39e8475a audio: sync audio tables
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ibc7c58bfd97d4170d00157883e0197204326a54a
2022-07-14 15:56:58 +08:00
Jasmine Cha
1903df30a8 audio: waves: correct channel for reversed landscape
Bug:229827180
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ie540ace61a7dfb1f246215ca8f9df41b03fff995
2022-06-07 10:47:02 +08:00
Anoush Khazeni
bd253ea12b Revert "[T6] Updating the hotword pipeline gain settings."
This reverts commit de07b38b16.

Reverting this change until we find the optimal gain setting for the
hotword pipeline.

Bug: 215251713
Test: build
Change-Id: Ica6c59ec4c413c7ad3aed301509f3ef914606bea
2022-05-11 18:55:08 +00:00
Anoush Khazeni
de07b38b16 [T6] Updating the hotword pipeline gain settings.
Updating the gain settings for 'eraser_pre_gain' and
'non_eraser_gain' to 35.6 dB through the 'smartfeature.gstf'
file generated by the bluenote tool.

Bug: 215251713
Test: Verified the new gain settings on T6.
Change-Id: Iee4037541a2aa69188c7c598ab2aff4d9b70c104
2022-04-05 10:38:43 -07:00
Jasmine Cha
90b9e3fd5d audio: sync last tuning settings
Test: build pass

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Id3a9a6d16cbf662fdb0725e9accd535f3089d861
2022-03-18 15:06:28 +08:00
Roger Liao
dd5f546264 Add device tangorpro
based on two sources:
1. 52e030ecef8a2debcd0a7cebb0b2cddc50e8e4e6
(ChangeId: Ieba6a75fe45595592c61dc5ad4e0c723adccaf35)
2. 3164f3d31b1197f305d968027f2e6f18663f1382
(ChangeId: Ic517f1cd5462f3653de3742834ec251362e7849d)

No-Typo-Check: based on above commit

Bug: 220073297
Change-Id: I244f73dc8485045e1bc4605a2701a1e4d32139b0
2022-03-09 19:30:09 +08:00