Commit graph

241 commits

Author SHA1 Message Date
Jason Hsu
196310145e audio: 2024/06/07 Fortemedia table check in for FRC v2
<CL>
CM4
--Handset/Handsfree(Duncan)

Handset
1: WB RFR nom vol for pass 3GPP/orange mask

Handsfree
1: May23 EC tuning to fix echo with protective case on phone stand
2: May24_noNStuned EC tuning to fix echo when nearend in noise env
3: WB/SWB RFR/RLR volume curve

TK4 (Ricky)
-Handsefree
1. Modify SLR for Orange testing
2. Batch copy from generic to co-use case

KM4 (Owen)
- Handsfree (Owen)
1. Tx: Lower down WB/SWB DRC gain 1.5dB to fix Orange SLR failures
    WB: 25dB => 23.5dB / SWB: 26dB => 24.5dB
2. Batch copy 1. from generic to co-use case
3. Rx: Lower down SPK_Vol 1dB(Vol-2)/2dB(Vol-1)/3dB(Vol-0) for Reserve2 (VoIP) use case to fix Rx min vol too louder issue

Bug: 345569041
Test: verified by Acoustic team
Change-Id: Iea55a81b039f037d6472eb365a6749af82a107fb
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-06-07 11:50:11 +08:00
Jasmine Cha
7a1d729d40 audio: waves: use SPEAKER_MUSIC in call screen
Presets in call screen:
Before:
 - SPEAKER_SAFE_MUSIC_LITE
 - SPEAKER_SAFE_MUSIC_THROTTLE_LITE
After:
 - SPEAKER_MUSIC
 - SPEAKER_MUSIC_THROTTLE
 - SPEAKER_MUSIC_RESERVED (spatial audio)
 - SPEAKER_MUSIC_RESERVED_THROTTLE (spatial audio)
 - SPEAKER_SAFE_MUSIC
 - SPEAKER_SAFE_MUSIC_THROTTLE

Bug: 341930605
Test: manual test b/341930605#comment16

Change-Id: Iadf5f0835789e0afe0a4ae0143d9df60dab8b81a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-06-07 03:09:18 +00:00
Rios Kao
08b2bc9ebd Merge "caimito: update libspeechenhancer" into main 2024-06-06 02:30:01 +00:00
Jasmine Cha
54120ae2ec audio: update wave tuning for FRC
- KM4_freshmango_v4_Rev15C_LLv3_smooth2.mps

Bug: 343310595
Test: manual test from hardware

Change-Id: Ifd3068db61e4bf5c5983a335940469f46d24f4a5
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-06-06 01:07:19 +00:00
Rios Kao
fe9ef3b7c6 caimito: update libspeechenhancer
note:
     version from 0520.

Test: manually test.
Bug: 344695037
Change-Id: I764a7a121e1f446778ad0da5aebdf4c02dced15a
2024-06-04 02:06:17 +00:00
Treehugger Robot
21d65db29d Merge "audio: 2024/05/27 Fortemedia table check in for FRC" into 24D1-dev am: 1ebd023615
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27545158

Change-Id: Ife2a0a63dc5b9d6cf333c8377124d694b8418687
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 09:59:14 +00:00
Jason Hsu
ebe6275928 audio: 2024/05/27 Fortemedia table check in for FRC
<change list>
KM4
- Handset (Owen)
1. Rx: Modify WB Rx MaxVol EQ for TIA-5050 NB/WB FR Mask
2. Tx: Apply AMS parameter
3. Batch copy 1./2. from generic to co-use case(TMO-US Tx&Rx / HAC Tx)

- Handsfree (Owen)
1. Tx: Enable KidsVoice on WB / Update KidsVoice Para on SWB
    524    0x0003    //TX_KIDDET_NTH
    525    0x1000    //TX_B_POST_FLT_KID
    526    0x0DAC    //TX_T0_NE_TH
    527    0x0FA0    //TX_T0_NE_3_TH
2. Apply AMS parameter
3. Batch copy 1./2. from generic to co-use case

CM4
--Handset/Handsfree (Duncan)
HA:
1: WB RFRmax/nom tuning for better listening
2: Batch copy from generic to co-use case
3: Apply AMS parameter

HH:
1: WB/SWB subjective Car NS improvement
2: WB/SWB kid voice setting
3: SWB RLR update for linear volume curve
4: HHSWB echo during nearend in noise environment
5: Apply AMS parameter
6: Batch copy from generic to co-use case

TK4
--Handset (Ricky)
1. Modify HAWB RFR max to max-1 for TIA-5050 issue
2. Apply AMS parameter
3. Batch copy from generic to co-use case

--Handsfree (Ricky)
1. Optimize HHWB NS for Car field testing
2. Update Kid parameter for HHWB/HHSWB
3. Optimize VOIP HH volume curve - nom to min for DF issue
4. Apply AMS parameter
5. Batch copy from generic to co-use case

Bug: 342992267
Test: Verified by Acoustic team

Change-Id: I7d4bc8f89d3901e3a5bdffa7cfdb21131ad4c825
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-05-28 10:43:43 +08:00
Treehugger Robot
4f81aae1aa Merge "audio: fix pop sound while switching presets" into 24D1-dev am: 5630b70a32
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27452276

Change-Id: I832213f72a88f36d74b7bf21d3b2f11489c2f0f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 17:33:15 +00:00
Treehugger Robot
0e5c7906ed Merge "audio: update MPS to fix pop sound" into 24D1-dev am: 4d83371557
Original change: https://googleplex-android-review.googlesource.com/c/device/google/caimito/+/27430402

Change-Id: I2b177f6b191510329ebefbe25cda117e0c959053
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 17:32:59 +00:00
Treehugger Robot
5630b70a32 Merge "audio: fix pop sound while switching presets" into 24D1-dev 2024-05-23 17:00:46 +00:00
Jasmine Cha
dfaef7ad3f audio: update MPS to fix pop sound
Added some smoothing fixes for media <-> phone call preset switch.

Bug: 340378261
Test: manual and PTS tests

Change-Id: Ibd3c881c88a53249a3d17172ebc41e1bd703b322
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-23 03:59:40 +00:00
Jasmine Cha
85bc18d53d audio: fix pop sound while switching presets
Added some smoothing fixes for media <-> phone call preset switch.
No change to tuning parameters in any media, notification mode.
Phone call avg MCPS still at 40; Peak MCPS for Phone call: TBD

Bug: 340378261
Test: manual and PTS tests

Change-Id: I537d0be29f2c4583ef63cd042317053a58ca1d4e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-23 03:58:55 +00:00
Treehugger Robot
8fdb28e8f3 Merge "Revert^2 "caimito: Add libspeechenhancer to P24"" into main 2024-05-16 04:04:36 +00:00
Rios Kao
6bc076dd13 Revert^2 "caimito: Add libspeechenhancer to P24"
44419026dc

Change-Id: Ib11fc2b2e1d279ab1194097c1a27702b70002937
2024-05-16 03:03:40 +00:00
Jasmine Cha
d901bca9cc waves: update MPS and volume curve
- dynamics volume pumping, tone update
- speaker-safe tuning for less compression, higher quality

Bug: 339739370
Test: manual test / PTS

Change-Id: Ifa833bca9c40ae2c353ff0aadfc5122e634ab68d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-15 06:05:14 +00:00
Treehugger Robot
0497b93b05 Merge "audio: add sound dose offset curve" into 24D1-dev 2024-05-13 20:15:03 +00:00
Liana Kazanova
44419026dc Revert "caimito: Add libspeechenhancer to P24"
Revert submission 27059863-hdmic_hal_system

Reason for revert: DroidMonitor. Potential culprit for http://b/340226150 - verifying through the ABTD before submission.

Reverted changes: /q/submissionid:27059863-hdmic_hal_system

Bug: b/340226150

Change-Id: Ifb90bddd4e8aec1eb4dc633069eb4b59d69ee7b3
2024-05-13 18:46:18 +00:00
vincenttew
6f2cbd480c audio: add sound dose offset curve
Bug: 340149054
Change-Id: I2642896d4ae6f134122486cb7953f4c8fee6ea20
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-13 06:48:15 +00:00
Jasmine Cha
26876c9740 waves: Thermal Throttling scheme
Bug: 338159946
Bug: 338159502
Test: manual test

Change-Id: I539d7cf1fbcab817a86ce54b4f6ee6ac28943d86
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-05-09 08:53:08 +00:00
Rios Kao
d4c580ce2e caimito: Add libspeechenhancer to P24
note: library version 0503

Bug: 328163606
Test: end-to-end test.
Change-Id: I282b663e30c104ef289d185c13f0b46979eec2cd
2024-05-09 03:37:05 +00:00
Treehugger Robot
3b7d3922e2 Merge "audio: 2024/05/07 Fortemedia tuning settings for RC v2" into 24D1-dev 2024-05-08 20:14:17 +00:00
Treehugger Robot
7ffc642322 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:30:14 +00:00
Treehugger Robot
6de5273219 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:29:35 +00:00
Treehugger Robot
c630b7b095 Merge "audio: Update DVT parameters" into 24D1-dev 2024-05-08 18:29:34 +00:00
Jason Hsu
357233d2a8 audio: 2024/05/07 Fortemedia tuning settings for RC v2
<change list>
CM4
--Handset/Handsfree(Duncan)
1: HHSWB SFR for reduce TX high frequency to reduce noisy hissing in noisy env
2: HHWB increase 1dB in TDDRC for SLR meeting target 10.5dB
3: HHWB NS update for car/kitchen noise Apr26 to reduce leqk noise floor discontinuous
4: HHWB fine tune RFRmax for RX distortion pass
5: HHSWB RFRmax increase high frequency for better noisy env listening
6: Batch copy from generic to co-use case
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

TK4
- Handsfree (Ricky)
1: Double talk echo fixed in HHSWB
2: SFR optimize in HHSWB for DVT
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

KM4
- Handset (Owen)
1. Rx: Modify WB Rx EQ at Vol_0-3 for Orange Mask
2. Batch copy 1. from generic to co-use case(TMO-US)
- Handsfree (Owen)
1. Rx: Modify SWB Rx DRC gain from 15dB to 16dB at Vol_0-3 for Orange Mask
2. Batch copy from generic to co-use case
- Headset (Gene)
     - Mitigate BB ac. SWB TX hissing noise
     - Fine tune HE el. TX EQ for HD-Voice NB/WB SFR

Bug: 339124130
Test: Verified by Acoustic team

Change-Id: If2ab8ababf1fbf85388201a3a92d7dd4121bfccd
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-05-07 04:21:34 +00:00
Jasmine Cha
6abc8d2bd6 update volume stereo output system sound loudness
Bug: 338159946
Bug: 338159502
Test: manual test by hardware team

Change-Id: I28ae8309284c599d948d57ca9bc62b7ce2bfef8a
signed-off-by: jasmine cha <chajasmine@google.com>
2024-05-07 04:12:48 +00:00
Treehugger Robot
b91652bcc7 Merge "audio: P24 Recording tuning table update - ver RC" into 24D1-dev 2024-05-06 16:41:01 +00:00
Robert Lee
b6fb5a822e audio: Update DVT parameters
Modify fallback value

*Checksum
68b8b2df3d443918ae57753e692337b443fe5dfe cs35l41-dsp1-spk-prot.bin
72305d1f921514764131c38997ebc7d4816284c0  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338320001

Bug: 338320001
Test: verified by jackwjchen@
Change-Id: I2b441a8fe348c71213ccc428e03a3b03e118da84
2024-05-06 02:29:26 +00:00
Robert Lee
bfa6e49fb6 audio: Update DVT parameters
Modify fallback value

*Checksum
06c3edac905df52ad18067e38e480a5bd5cbeb11 cs35l41-dsp1-spk-prot.bin
59836689a83095934373f3be38b02aca2b004bb5  R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338318911

Bug: 338318911
Test: verified by jackwjchen@
Change-Id: Iaf7ee46cc5c2168774336c9a2a88518d7743eb7f
2024-05-06 02:26:13 +00:00
Robert Lee
c7d804e70a audio: Update DVT parameters
Modify fallback value

*Checksum
f19499dead5b674edaf36be9d3937843b54e2a29 cs35l41-dsp1-spk-prot.bin
e7dc0f6f63c9d555daabb6f5e333ea9e6414177e R-cs35l41-dsp1-spk-prot.bin

Files from the latest attachment on b/338318325

Bug: 338318325
Test: verified by jackwjchen@
Change-Id: I23cd8226e63491ba2309c4f5c9bc32196e74916e
2024-05-06 02:20:21 +00:00
Yixuan Jiang
e3354e6b91 audio: P24 Recording tuning table update - ver RC
Update "gecording.gatf" & "template.xml"

[Details]
Change list
1. Adjust PGC tuning for camcorder to enhance clarity and reduce muffled sound in HSP recording.(b/328181251)
band0 gain align band1, 30 ->0
2. Adjust the PGC tuning for gRecorder to smooth out background noise without affecting speech clarity.
expander ratio 2, 2, 2 -> 1, 1.25, 1.25 (b/335773489)
3. Adjust the tunings for VOICE_RECOGNITION and triple mic use cases so that they only apply linear gain
4. Adjust audio zoom enhance ratio to make 2.1x as maximum ratio. (For fixing b/335807700, b/335809308, b/335808058)

Bug: 338349881
Test: HW verified - see bug
Change-Id: I22a94746ae5e84bbdb3465d93d1c7c2cf38d13f6
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-05-03 08:01:03 +00:00
Treehugger Robot
3d9abbb381 Merge "audio: remove non-supported analog headset" into 24D1-dev 2024-05-03 02:16:59 +00:00
Treehugger Robot
cbb7525150 Merge "audio: 2024/04/26 Fortemedia tuning settings for RC v1" into 24D1-dev 2024-05-02 17:38:05 +00:00
Carter Hsu
e11a334b3b audio: update Waves tuning
KM4:
- Improve sound profile overall (bass, tone, level, distortion, etc) from DF tuning
- Retune volume curve (compliant with battery and heat budgets)
- Update speaker-safe tuning (ringtone, alarm, notification)
- No need for thermal throttle (very low power)
- No need for BAACL tuning (no audible issues at 1.8A peak)
- Full acoustic testing complete
- Full power testing complete at speaker load (pending Monsoon battery test)
- Pending CTS compliance test
b8ad231b35a00ef24f349eb9c2a48ae95be63c92  /vendor/etc/waves_preset.mps
b8ad231b35a00ef24f349eb9c2a48ae95be63c92 *KM4_MangoXSS_REVERT2_LLv20Nv5_rebuild1.mps

CM4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

TK4:
- Addresses many of the PTE bugs and is an improved tuning from previous versions.
- Reduces Power Usage compared to the previous release.
- SHA1Sum for MPS: 52927bbe91ba14c2412c1839cbc471c9ec6072bf
- SHA1Sum for XML: 449deead0bdc8642e43cdcc32578701699878c45

Bug: 338159946
Bug: 338159502
Bug: 338141700
Test: verified by audio tuning team
Change-Id: I6108dee7335189a1fb98212a7e19d9cd9852ca47
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-02 05:55:03 +00:00
vincenttew
cd43eae838 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: Id63337a22b584e044e15a36fda34c5cdea9282af
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-30 18:24:53 +08:00
Jason Hsu
4b8beee6fd audio: 2024/04/26 Fortemedia tuning settings for RC v1
<Overall table path>
Fortemedia tables => /vendor/etc/aoc

<change list>
KM4
- Handset (Owen)
1. Tx: WB/SWB EC V0417tuning and SWB Tx DRC from 16.5 to 17dB
2. Rx: Modify SWB Rx DRC gain from 9.5 to 10dB and WB Rx EQ at Vol_0-3
3. Batch copy from generic to co-use case

- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

CM4
- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

TK4
- Headset (Gene)
    - More margin for HE ac WB/SWB RFR test.

-Handsfree (Ricky)
1. Fine tune HHWB parameter for HHNB distortion
2. Fine tune HHWB EAD for TX POLQA drop issue

Bug: 337194762
Test: Verified by Acoustic team

Change-Id: Icd619baa2107796873e7573d61fec443a4ebbc5b
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-28 15:18:52 +08:00
David Li
f04d29f270 Merge "audio: change in-call-capture paths and remove unused ctls" into 24D1-dev 2024-04-23 19:21:48 +00:00
Jason Hsu
735c7ea2f9 audio: 2024/04/19 Fortemedia tuning settings for DVT DF v3
<Overall table path>
Fortemedia tables => /vendor/etc/aoc

<change list>

TK4
- Handsfree (Ricky)
1. Optimize HHWB/SWB volume, FR, LR tuning for DVT device
2. Add AMS parameter in HA/HH but Function off

CM4
-Handset (Duncan)
1: HAWB setting  increase 3150Hz for meet the requirement for pass TIA5050 NB
2: Fine tune HAWB for DVT device RFR and RLR volume curve for pass WB&NB
3: Fine tune HASWB for DVT device  RFR and RLR volume curve for pass SWB
4: Batch copy from generic to co-use case

KM4
- Handsfree (Owen)
1. Tx: SWB AEC/DT V0411tuning to fix echo loss unstable issue and modify Tx DRC gain(26dB)/EQ for DVT
2. Rx: Modify DRC gain to 15dB for DVT
3. Batch copy from generic to co-use case

Bug: 335790962
Test: Verified by Acoustic team

Change-Id: I1e8701c0e5dfaa27481346b0b7aa28ed78e68fbb
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-22 09:42:30 +08:00
David Li
789c561c9f audio: change in-call-capture paths and remove unused ctls
Bug: 333840723
Test: python3 dialer-cmd.py callaudio record /data/data/com.google.android.dialer/cache/record-$datetime.pcm
Test: Live caption in dialer
Change-Id: I5d57a5983ead5664a33d6da0c4b5ecc101059ebd
2024-04-20 04:25:47 +08:00
Jason Hsu
035764dd22 audio: 2024/04/12 Fortemedia tuning settings for DVT DF v2
<change list>
All P24

mcps.dat (kevin)
optimize BT clock voting for all projects (https://buganizer.corp.google.com/issues/324005681)
TK4

Handset (Ricky)
Optimize HAWB/HASWB volume curnve for carrier requirment (max to nom 3.5dB, nom to min 4.5dB)
Optimize HAWB/HASWB FR/LR with DVT device
Batch copy from generic to co-use case
CM4

Handset/Handsfree (Duncan)
HASWB RX reduce FFP gain for reduce harsh sound
HASWB RFR max/max-1 reduce 4-8KHz for reduce harsh sound
HHSWB RFRmax RFRmax-1 increase high freq for better listening
HHWB backoff NS + 0408 Car noise type correction + 0412 KM setting
HHSWB long distance on the table DT improvement
Batch copy from generic to co-use case
KM4

Handset(Owen)
Rx: WB/SWB EQ SPK_Vol for volume curve
Batch copy from generic to co-use case
Handsfree (Owen)
Tx: WB enable Adaptive NS + 0402/0408 NS tuning
Batch copy from generic to co-use case

Bug: 334012418
Test: Verified by Acoustic team

Change-Id: I58ec053297833cf945f839cd1f6685b8be210e20
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-14 16:02:49 +08:00
Treehugger Robot
357604e6e4 Merge "Revert^2 "audio: recording tuning table 7.2_v4"" into 24D1-dev 2024-04-10 18:03:03 +00:00
Yixuan Jiang
22a7bc7c30 Revert^2 "audio: recording tuning table 7.2_v4"
d829f6b01e

Change-Id: I616d8be84bc18a3c7057782654bec495ba8035fe
2024-04-09 20:47:44 +00:00
Robert Lee
9e046788ed audio: update mixer paths
- Remove unused controls to prevent output error log

Bug: 333470780
Test: manual test
Change-Id: I8ef2ca649dc03e1969596fc3d91d9a187e978283
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-09 02:32:10 +00:00
Treehugger Robot
26554e25c0 Merge "Revert "audio: recording tuning table 7.2_v4"" into 24D1-dev 2024-04-08 20:49:23 +00:00
Daniel Chapin
d829f6b01e Revert "audio: recording tuning table 7.2_v4"
Revert submission 26784592-aoc_0402

Reason for revert: Droidfood blocking bugs: b/333323844 and b/333317188 

Reverted changes: /q/submissionid:26784592-aoc_0402

Change-Id: I66c4eb4ec07c9db1761f112d5174581bd9775b35
2024-04-08 16:56:36 +00:00
Treehugger Robot
adbba50097 Merge "audio: update waves tuning table" into 24D1-dev 2024-04-08 03:47:34 +00:00
Nikhil Bhanu
96a92dd636 Spatializer: Update configs with latest tunings.
auxel commit hash: a2a693b
auxel change ID  : Id6f1ffa47e7ae03272a663a9996c885cee313098

Bug: 330199578

Change-Id: I4ad7b05dd3b3df87e331c3b3323f9a942fd0023d
2024-04-05 00:04:22 +00:00
Treehugger Robot
aa3fbacfba Merge "audio: recording tuning table 7.2_v4" into 24D1-dev 2024-04-04 04:52:40 +00:00
Yixuan Jiang
9d8698cde0 audio: recording tuning table 7.2_v4
1. Tuning table for enabling AGC & PGC
       new parameter on b/329161882
       including AoC CL gpar/855948 (AGC) & gpar/864314(PGC)

    2. SNS 2p2 tuning parameter with strength level = 4  (10dB)
       E-noise function

Bug: 332261204
Change-Id: I5eff9c79b3d844b88a5c20c39e4e357991c6968a
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-04-03 06:07:53 +00:00
Jasmine Cha
4df844fff4 audio: update waves tuning table
Bug: 332435827
Bug: 332436798
Bug: 332418398
Test: manual test

Change-Id: I946650df0b7519e5f6fa8a323832dfaeccb1dfe8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-04-03 03:32:43 +00:00