Commit graph

241 commits

Author SHA1 Message Date
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
Carter Hsu
32eb2b8931 audio: 2024/02/29 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HAWB Modify TdDRC expander as short term for BWE noise issue on (max to max-2)
- Handsfree (Ricky)
1. HHSWB fine tune (max-1 to min) for EVT1.1
2. HHWB fine tune for EVT1.1
     TX/RX: PreEQ, TdDRC, EQ

- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE



CM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

- BT (Gene)
1. BTWB and BTWB_NREC WB Rx FNS level from 0x0006 to 0x000F for CCA BWE


KM4
- Headset (Gene)
1. HE WB: Mitigate the NB call RX noise after speech due to noise from NW and boosted by BWE.
2. HE WB: Enable 120Hz HFP for both TX and RX
3. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

Bug: 327555914
Test: Verified by Acoustic team
Change-Id: I2939312348ac6d9a13ac4be86460d49839b545ca
Signed-off-by: Carter Hsu <carterhsu@google.com>
(cherry picked from commit 2678747eae)
2024-03-05 11:22:16 +00:00
Carter Hsu
b72d3f68a0 audio: [KM4/CM4/TK4] 2024/02/26 Fortemedia table check in
<change list>
TK4
- Handset (Ricky)
1. HA fine tune for EVT1.1 on WB/SWB
     TX/RX: TdDRC, EQ
-Handsfree (Ricky)
1. HH fine une for EVT1.1 on SWB
    TX: Pre-EQ, TdDRC
    RX: TdDRC gain/ limiter(Limiter THR => 50C3 (-4dB)), EQ for Max vol
2. Disable adative NS on WB/SWB

- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

KM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

CM4
- Headset (Gene)
1. Improve HE  Blackbird WB TX echo noise
2. Enable WB DL FENS for F821 adaptor

- Handset/Handsfree (Duncan)
1: HHWB 3QUEST NMOS improvement
2: HHWB/SWB RX TdDRC limiter threshold 0x5800/0x5900 to avoid pop sound
3: HHWB RX max volume fine tune for FR and distortion 1020Hz
4: HHWB SLR tune to 10.6dB
5: HHSWB SFR, RFRmax tuning for distortion pass

Bug: 326846982
Test: Verified by Acoustic team
Change-Id: I16b038fe1fb9206bfa9cc83bd0657902a0f6e47b
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-27 11:00:01 +08:00
Rios Kao
b1e6a0387f Merge "audio: fix vts for microphone information." into main 2024-02-21 12:56:36 +00:00
Rios Kao
06c566503c audio: fix vts for microphone information.
note:
     Depending the realized in framework side, the microhone
     information only report the corresponding devices info
     surfaced via SDK. That means reporting bottom / back mic
     are necessary.

Test: atest VtsHalAudioCoreTargetTest
Bug: 300735639
Change-Id: Ib514d1f87f607d1bfab0818dbff16bd3623b313e
2024-02-21 03:56:10 +00:00
vincenttew
38f0d70aa2 audio: update recording tuning table
Change list ver 4.0 for EVT 1.1 :
1. Spatial audio calibration for EVT 1.1
2. MIC path IIR
3. PGC update parameters based on rms-baed calculation
4. update template.xml with SNS(off) on MIC

Bug: 324162417
Bug: 324162415
Bug: 324160489
Change-Id: Ic3ce060a0a478183ac8440f8da0a7b88170f1065
Signed-off-by: vincenttew <vincenttew@google.com>
2024-02-07 18:19:18 +08:00
Carter Hsu
6c1380bafc Merge "audio: 2024/02/02 Fortemedia table" into main 2024-02-06 01:58:51 +00:00
David Li
c0e1a53e61 audio: refactor spatializer offload playback
Bug: 307842941
Test: manual test
Change-Id: I7487b3c0359098171e6da6759c28b9ed5f8fbff1
2024-02-05 13:59:09 +00:00
Carter Hsu
05c94614af audio: 2024/02/02 Fortemedia table
<changelist- FM table>
"TK4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
KM4
- Handset (Ricky)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Ricky)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
3. HH all BWs Adaptive NS thd (index397) set to 0x0190
4. HH all BWs Disable LPF
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE

CM4
- Handset (Duncan)
1. HA all BWs Disable AMS
2. HA WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Handsfree (Duncan)
1. HH all BWs Disable AMS
2. HH WB Rx FNS level from 0x0006 to 0x000F for CCA BWE
- Headset (Gene)
1. HE WB Rx FNS level from 0x0006 to 0x000F for CCA BWE"

<change list - audio platform>
Enable stereo for BT VoIP

Bug: 323464302
Test: Verified by Acoustic team
Change-Id: I486d589eca68108a82dc071bb68a57fc39222eef
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 06:32:13 +00:00
Carter Hsu
31b17727a0 Merge "audio: enable SoundDose on AIDL HAL" into main 2024-02-05 06:12:39 +00:00
Treehugger Robot
04225f6c9c Merge "audio: update waves tuning and volume curve" into main 2024-02-05 02:26:32 +00:00
Carter Hsu
75fc34c8ca Merge "audio: enable BWE" into main 2024-02-05 02:22:30 +00:00
Carter Hsu
fb4a7dbc0f audio: enable SoundDose on AIDL HAL
Bug: 315915954
Test: atest CtsMediaAudioTestCases:android.media.audio.cts.SoundDoseHelperTest
Change-Id: I4ca8a8f975fbf0ce17f4b4234bfb47868a06d26d
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-02-05 01:25:39 +00:00
Jasmine Cha
761eba7c20 audio: update waves tuning and volume curve
Bug: 323256159
Bug: 323259548
Bug: 323259548
Test: manual test

Change-Id: Ic3e27dd911b1036dbd893d98ecb089d16e7835be
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-02-02 06:35:36 +00:00
Carter Hsu
2ed8c88e4d Merge "audio: 2024/01/29 Fortemedia table" into main 2024-02-01 01:55:54 +00:00
Treehugger Robot
9ac8092dc6 Merge "audio: fix record tuning" into main 2024-01-30 10:12:51 +00:00
Jasmine Cha
4db0307c1d audio: fix record tuning
- remove VOICE_RECOGNITION source for spatial capture
- move Mic Spatial Module Enable to audio hal control

Bug: 322926141
Test: manual test - camcorder/voice record with bluenote

Change-Id: I5057762e172ca35367a1929c67f3d364feece00c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-30 16:58:11 +08:00
Carter Hsu
a394f5bff6 audio: 2024/01/29 Fortemedia table
<Change list>
KM4
- Handset (Owen)
1. Rx: Modify NB/WB/SWB DRC Limiter THR to -3dB(5A90)
2. Copy 1 from Generic to RX co-used cases ( T-mobile / Reserve2).

- Handsfree (Owen)
1. Rx: Modify NB/WB/SWB DRC Limiter THR to -4dB(5000)
2. Copy 1 from Generic to Rx co-uaed cases (RX: HH Reserve2_SWB / TTY-HCO wo/wi Reserve2_SWB).
3. Modify NB/WB/SWB/RESERVE2 Rx DRC LIMITER_THRD from -1dB(7214) to -2.5dB(6000)

- Headset (Gene)
1. Modify HE WB/SWB NS parameter

TK4
- Handset (Ricky)
1. HA WB/SWB RX volume curve fine tuned.
2. HA SWB NS updated
3. Sync Genric parameter to other
- Handsfree (Ricky)
1. HH WB/SWB RX volume curve fine tuned
2. HH WB/SWB TdDRC limiter thrd fine tuned (0x5A9D) to prevent FIR abnormal output
3. HH WB/SWB NS updated
4. Sync Generic paramter to other

- Headset (Gene)
1. Modify HE WB/SWB NS parameter

CM4
- Headset (Gene)
1. Modify HE WB/SWB NS parameter

Bug: 322721373
Test: Verified by Acoustic team
Change-Id: If1be8b2d04f6e50ff29ebce6638a749d2a5c73ad
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-30 08:25:05 +08:00
Jasmine Cha
c94fe9ae9d audio: enable CCA BWE
Bug: 320802286
Test: manual test

Change-Id: Ia4b3954a40e57458a71f1d935a2bd261a621933a
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-01-29 11:05:50 +08:00
Carter Hsu
68a4288225 audio: enable BWE
Bug: 320802286
Test: build pass
Change-Id: Ib458dd8a63628e3138b016fd71dfb27365b5f531
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-01-29 01:48:18 +00:00
yixuanjiang
f5868bbbd0 audio: recording tuning table for EVT1.0 device
Update recording.gatf for SNS params since remove linear gain value
Update template.xml for CHRE part
[Details]
1. update SNS tuning parameters for EVT 1.0 device because of gain removal in front.
2. remove one line in template.xml for CHRE part
   <param id="297" name="chre_gain" type="uint32"/>

Bug: 322446230
Bug: 322446226
Bug: 322445774
Test: verify by darrenyen@
Change-Id: I8554d65538200be288ad74a37d488fe9fbc19bbe
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2024-01-26 10:00:15 +00:00
Rios Kao
75b632cdb6 caimito: remove useless command in smartfeature.
note: - The old tuning file has deprecated commands which removed
       from firmware already. That would casue gtest failure.
Bug: 322291792
Test: run aoc_sound_trigger_adapter_test and verify the value from
      aoc interface.
Change-Id: I5a332f271cdfa5ec5dcf6c6c45b077ba447da18d
2024-01-25 09:14:27 +00:00
Treehugger Robot
684a7ee7ca Merge "audio: align mixer paths and add missing paths" into main 2024-01-23 08:27:50 +00:00
Carter Hsu
6fdac3d3f6 Merge "audio: 2024/01/22 Fortemedia table check in" into main 2024-01-23 03:03:21 +00:00