Per Åhgren
79357a1d08
Update APMg3 and tuning configs to version 7
...
This CL updates the APMg3 tunings to version 7. The changes performed is to remove any signal level gains applied in APMg3 in AOC for the headset usecase. This eliminates the issue of APMg3 applying 25 dB gain when headsets are used causing some headset audio signals to be saturated.
The tunings are available at
https://drive.google.com/drive/folders/1TICEDO_vHlpWR8My91kxJrWTpGNqIStE?usp=sharing .
Complexity and memory figures are basically the same (slightly lower) as for https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA
Bug: 300147435
Test: Manual test calls on Tangor using Meet.
Change-Id: Ib06e05cbaa0e632deb9a4961a98d0ce9737121fb
2023-09-12 21:58:06 +00:00
Per Åhgren
733cea1ebd
Update APMg3 and tuning configs to version 6
...
This CL updates the APMg3 tunings to version 6 (previous version was version 4, and version 5 was skipped).
The tunings are available at
https://drive.google.com/drive/folders/12x0vnEtbDcFyqCKkT7iJISYhOcKmMN2R?usp=sharing . Complexity and memory figures are basically the same as for https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA
Bug: 292144567
Test: Manual test calls on Tangor using Meet, together with TAP-points recordings for verification, as well as lab benchmarking in the STO audio lab.
Change-Id: I26fe9b8ce430e8cb2143d7b6e0d5e1c80b2c2556
2023-09-05 17:12:59 +00:00
Jasmine Cha
4dfbfbaa57
audio: spatial audio on spk
...
- Enable EP4 (dev1 = 3)
- Change Stereo Spatialier component id to 26
- Enable spatial audio on speaker
- Add one more parameter for waves custom action.
(OM=1, SM=3)
Bug: 295577176
Test: manual test
Change-Id: I7e14776b34571eed5a632a7b5769d1ea784fa8ee
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-22 06:19:13 +00:00
Per Åhgren
04570db34b
Update APMg3 and tuning configs.
...
This CL updates the APMg3 tunings to version 4.
The tunings are available at
https://drive.google.com/drive/folders/1wbYVjMkirbOcdV37DIeT5oipXfGrx1YT?usp=drive_link
and complexity and memory figures for the tunings are available at https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA
Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: Id2f5cec85a2b5436b15cbe2981c5b272211d10e6
2023-08-15 14:20:43 +00:00
Viktor Grönroos
846117a234
Install APMg3 external module and tuning configs.
...
Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: I1516875745b6ad3696eb5c179866646af0ea5981
2023-08-02 07:49:41 +00:00
Rios Kao
3f769dbbe6
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 WHI_PRO
CHRE PDM Gain(gain=158)
CHRE AEC Gain(gain=-42)
CHRE SRC AEC Timeout(timeout=0)
This table also contains hotword gain control as
(Undocked)
Non Eraser gain (gain=220)
Eraser Pre gain (gain=220)
(Docked)
Non Eraser gain (gain=356)
Eraser Pre gain (gain=170)
Eraser Post gain (gain=186)
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
adb shell aoc_audio_cfg hotword_get_eraser_pre_gain
Bug: 271078701
Change-Id: I4e3416af224742d939c0928c6623705a01924581
2023-04-25 05:10:05 +00:00
Anoush Khazeni
199fb48c62
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to Google internal tuning #47 .
Bug: 274698580
Test: Build only
Change-Id: Ic8c8f2f3fe82bdab9474df1fb74e486ec929310a
2023-03-22 09:53:38 -07:00
Anoush Khazeni
8da0f13689
Merge "[T6pro] Updating the ForteMedia tuning files." into tm-qpr-dev
2023-03-15 20:56:13 +00:00
Anoush Khazeni
ee927d8562
[T6pro] Updating the ForteMedia tuning files.
...
Updating the tuning files to improve the volume tables.
Bug: 241557578
Test: Build only
Change-Id: Ie48d1dee642a24f3ab89f75321b176d894cfd78f
2023-03-14 00:35:43 +00:00
Anoush Khazeni
6578828fce
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to Google internal tuning #45 (Anvil).
Bug: 269352708
Test: Build only
Change-Id: Ib5925a4c8bdac40e0e575d42f8ab74151daf9d1b
2023-02-15 13:56:05 -08:00
Anoush Khazeni
c832852a9e
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to T6K6 REV25
(Google_T6K6_REV25_T6-v19_K6-v17_20230107_43-Madonna)
Bug: 263304645
Test: Build only
Change-Id: I6ad98e2159241573f9e99101b8efa201d0020eb1
2023-01-13 04:59:02 +00:00
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