Commit graph

264 commits

Author SHA1 Message Date
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
Jason Hsu
a1972b9755 audio: 2024/04/02 Fortemedia tuning settings for DVT DF v2
<Change list>
KM4
- Handset (Owen)
1. Rx: Modify WB FNS for CCA(BWE) - N_SN_EST= 0x0600 / NS_LVL_CTRL=0x0009 / THR_SN_EST=0x0100

- Handsfree (Owen)
1. Tx: Modify WB TDDRC gain(dB) /
          Modify SWB NS settings to enable KidsVoice+AdaptiveNS with TK4 tuning
2. Rx: Modify WB FNS for CCA(BWE) - N_SN_EST= 0x0600 / NS_LVL_CTRL=0x0009 / THR_SN_EST=0x0100
          Modify WB/SWB DRC Limiter_THR to -1dB(0x7000)
          Modify WB DRC gain(16dB) / EQ / SPKVol
          Modify SWB DRC gain(16dB) / EQ(Max,Max-1,Max-2) / SPKVol

- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

TK4
- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

-Handset (Ricky)
1. Optimize HAWB NS objective performance (choose 0321v1)
2. Optimize HASWB NS objective performance (choose 0328v1)
3. Fine tune HAWB FdEQ (around 3K) for HAC TIA5050 distortion
4. Reduce harsh sound in HASWB/HAWB (v2) (> 4K by EQ)
5. FNS modify for BWE 0314 version
6. Batch copy from generic TX to Hac-tx
7. Batch copy from generic to t-mobile
8. Batch copy from generic to VOIP specific mode (cust1/cust2/res1)

-Handsfree (Ricky)
1. Reduce high band for distortion improving (>4K by EQ) (gain by TdDRC)
2. TdDRC hard limiter set as -1dB for New FIR patch
3. Batch copy from generic TX to BT-HAC/TTY-VCO/headpohone
4. Batch copy from generic RX to TTY-HCO
5. Batch copy from generic to VOIP specific mode (cust1/cust2/res1)

CM4
- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

-Handset (Duncan)
HASWB SFR fine tune

--Handsfree
Tune WB SFR/RFR for pass NB as well
HHSWB NS(Mar25)
TdDRC hard limiter set as -1dB for New FIR patch
RX HHWB FFP fine tuned
Tune NB/WB/SWB RFR nom for distortion pass

Bug: 332476284
Test: Verified by Acoustic team

Change-Id: I41702b71ba87197d9433ad85f59213d83f004f1f
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-02 19:37:32 +08:00
Ethan Bordeaux
a981a38b0d Merge "Enable offload spatialization on caimito." into 24D1-dev 2024-04-01 21:01:16 +00:00
Treehugger Robot
ce48f0730f Merge "audio: remove non-supported analog headset" into 24D1-dev 2024-04-01 08:54:54 +00:00
ChienHsiang Hsu
5f7b0ada9f Merge "audio: 2024/03/25 Fortemedia tuning settings for DVT DF v1" into 24D1-dev 2024-04-01 02:15:16 +00:00
David Li
859c48630b audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manually test
Change-Id: If9a58843e6c7f96e6a3847f94afe27f12e6b2e3b
2024-03-28 17:49:19 +08:00
vincenttew
140c8fa70b audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I6f7d49f96511929941932e56e129b508d9161dc9
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 12:04:24 +08:00
Jason Hsu
5024ddb225 audio: 2024/03/25 Fortemedia tuning settings for DVT DF v1
<change list>
KM4
- Handset (Owen)
1. Rx: Modify NB/WB/SWB DRC Limiter THR to -1dB(7000) / WB&SWB DRC Gain to 7/9.5dB / WB DRC expendor in Max/Max-1/Max-2 / WB SPKVol
2. Tx: SWB EC tuning for initial echo
3. Merge 1/2 from Generic to RX co-used cases ( T-mobile / Reserve2).

- Handsfree (Owen)
1. Tx: Enable KidsVoice and Adaptive NS and FDEQ in SWB
2. Merge 1/2 from Generic to Tx co-uaed cases (TX: HH Reserve2_SWB / [Headphone / TTY-VCO / BT-HAC] wo/wi Reserve2_SWB )

CM4(Duncan)
1: HAWB NS (vMarch13) 3QUEST improvement with better SMOS
2: Handset WB RX DRC for noise (max, max-1, max-2)
3: Handset SWB SFR for PTCRB
4: Handset WB RFR to align with TK4/KM4
5: Handset SWB RFR high freq lower
6: Handset WB/SWB max volume reduce 1dB
7: Handset WB/SWB BVE fine tune
8: HH WB/SWB SLR/SFR tune to 10.5dB
9: HH SWB only adaptive NS / Kid voice
10: HHWB TdDRC fine tune to avoid pop sound

TK4
-Handset (Ricky)
1. RLR fine tuning for privacy (max and max-1 volume)
2. HAWB BWE noise DRC expander fine tuning with BWE0220 version (max to max-2)
3. Reduce harsh sound for HAWB/HASWB
4. HAWB NS fine tuening (MSSA off)
-Handsfree (Ricky)
1. HHSWB Enable adaptive NS + kid voice updated

Bug: 330845036
Test: Verified by Acoustic team

Change-Id: Ic039dc8bdf4414d05187e220a731b68c7bb59957
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-03-25 14:33:47 +08:00
Treehugger Robot
f46b1c3c25 Merge "Check in recording tuning table for EVT1.1 device" into 24D1-dev 2024-03-25 04:25:43 +00:00
Sam Ou
62b78fd840 Merge "audio: enable battery mitigation" into 24D1-dev 2024-03-21 11:41:43 +00:00
William Huang
8bd45dd3c2 Merge "Spatializer: Update configs with latest tunings." into 24D1-dev 2024-03-21 07:57:01 +00:00
William Huang
a6761db65a Spatializer: Update configs with latest tunings.
Update Auxel configs to http://go/txcl/34322 (commit 974de25dbcc96ce834d251e55c28463c91082f03).

Bug: 307842941
Change-Id: I1749526260465bdcb2c9dc298c357073788864fb
Signed-off-by: William Huang <yushh@google.com>
2024-03-20 12:32:19 +00:00
Jasmine Cha
f756048986 audio: enable battery mitigation
Bug: 330302105
Test: manual test
Change-Id: Ib6a8ac54fe7494c128d90a8600bbfa8ba041abc8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-03-19 12:01:11 +00:00
Yixuan Jiang
bb724641c7 Check in recording tuning table for EVT1.1 device
Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling AZ2.2 post mixing on b/314894838 AoC CL gpar/836677
2. Enable SA-Lite on VR path
3. Update PGC highAOP gain table for improving volume

Bug: 330096787
Change-Id: I1033781ccd9dd0eedc531e268c60b3dcee5f2054
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-19 08:07:29 +00:00
Rios Kao
eb39f55e3a Merge "caimito: remove useless argument of speaker." into 24D1-dev 2024-03-19 01:44:53 +00:00
Rios Kao
816bc81f42 caimito: remove useless argument of speaker.
note:
     Rotation is uses for tablet project only.

Test: build pass.
Bug: 330083943
Change-Id: I9ecc8d73b282c1aab15b90813c35376e54a4bdf0
2024-03-18 04:25:33 +00:00
William Huang
83bdd0afef Merge "Move offload spatializer config to device-specific folder." into 24D1-dev 2024-03-18 02:50:16 +00:00
William Huang
ee08a28ff2 Move offload spatializer config to device-specific folder.
Also update the configs to http://go/txcl/33962 (commit 3c51d9c2071f9adec5dbeb3f49f83b15e92247a7).

Bug: 307842941
Change-Id: I2f305441b7bc030f55318da52079a5a295e91ab1
Signed-off-by: William Huang <yushh@google.com>
2024-03-15 09:24:56 +00:00
Treehugger Robot
f7aea63386 Merge "[USB Audio AIDL] Add mixer path for "usb-device-microphones"" into 24D1-dev 2024-03-13 16:17:07 +00:00
Treehugger Robot
d21652bd5a Merge "audio: adjust the latency value for av sync" into 24D1-dev 2024-03-13 16:16:24 +00:00
Poomarin Phloyphisut
439a40fa37 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I96bc9736ba37837b22d184777046f5e0084b4570
2024-03-13 02:13:47 +00:00
millerliang
45a646dcc4 audio: adjust the latency value for av sync
Bug: 328473598
Test: Camera recording, Video playback
Change-Id: Iefc4498b4e7977d054266cbc32ccff7078858f2d
Signed-off-by: millerliang <millerliang@google.com>
2024-03-12 07:27:21 +00:00
Rios Kao
2b65d041cb Merge "caimito: add sound-trigger-microphones" into 24D1-dev 2024-03-12 01:50:24 +00:00
Jason Hsu
6d939ec3d8 audio: 2024/03/06 Fortemedia table check in for V642
<change list>
TK4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off

CM4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off
HH(Duncan)
WB/SWB RX max vol EQ for distortion pass
HA(Duncan)
Update NS tuning for SWB noisy environment sound quality issue

KM4:
-HA/HH/HE/BT
1. index 397 short term change to 0x8001 for adaptive NS off

Bug: 328329355
Test: Verified by Acoustic team
Change-Id: I4533916ea0c28540543e5334d51f4145241176e7
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-03-11 04:17:27 +00:00
William Huang
0411b2e091 Enable offload spatialization on caimito.
Note that this depends on the AoC changes at http://gpar/q/topic:%225_1ch_asp_caf%22.

Bug: 307842941
Test: manual test
Signed-off-by: William Huang <yushh@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9c8ce1bd4590625fc1d1c4b7633413f9abce15e0)
Merged-In: I2e3d633929f2fc76e19ed0810351226ed52314e6
Change-Id: I2e3d633929f2fc76e19ed0810351226ed52314e6
2024-03-07 22:35:07 +00:00
Treehugger Robot
08d2ba261d Merge "audio: update recording table" into 24D1-dev 2024-03-06 19:27:40 +00:00
Rios Kao
64becd453f caimito: add sound-trigger-microphones
Test: end-to-end and host test.
Bug: 328340282
Change-Id: Ib4adac74b0ffd1dd05a6368e447f21978d1f6d99
2024-03-06 05:52:00 +00:00
Yixuan Jiang
9fc9a1b499 audio: update recording table
[Subject]
Check in recording tuning table for device
  Update recording.gatf & audio_platform_configuration.xml

[Details]

Change list ver 5.0 for EVT 1.1 :
1. Tuning table for enabling Mic COMP module

Bug: 327138345
Bug: 327137905
Bug: 327138336

Change-Id: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Merged-In: I25ed3032d249a8c657e23b9f7e6b4e42774bf7f3
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-03-06 02:32:54 +00:00