Commit graph

35 commits

Author SHA1 Message Date
Rios Kao
1375d8428b 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
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

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
Bug: 271078701

Change-Id: I0091641ba689f04d24f53b898fd29399c48fd21a
2023-04-27 03:53:59 +00:00
Yung Ti Su
b76dfb70ec audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :

Optimize long distance speech preserve on HHWB

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (WB)

Files from the latest attachment on b/278661101

Bug: 278661101
Test: verified by ntkuo@
Change-Id: I47764bbc65204339b9258d7dfbfab3e312a1f4bb
2023-04-21 07:20:27 +00:00
Carter Hsu
c46679f69f Fortemdia: update kid's voice performance
Bug: 274729450
Test: Verified by Acoustic team
Change-Id: I71a5b013576a146960dd2e3028002e5961c87f58
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-03-22 16:38:07 +08:00
Yung Ti Su
24140e397b audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset:

AMS parameters update (Sync TX setting to TMO/ HAC / TMO-HAC / SWB Reserve 2 HAC)
Light NS for GCA (Custom2)

Files from the latest attachment on b/271381805

Bug: 271381805
Test: verified by ntkuo@
Change-Id: Icd3eecac9d14abbb0097538cabfc96872bf6bd2e
2023-03-02 16:31:57 +08:00
Carter Hsu
449197a236 audio: Fortemedia Tuning Check in for kid's voice
Bug: 270104065
Test: verified by acoustic team
Change-Id: Id3699b27eef00549d8e340f97463390dbd53f337
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-02-24 01:32:23 +00:00
Yung Ti Su
189fe9e7cd audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handheld :
Optimize HHNB single talk performance over long distances and in noisy environments.

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB)

Files from the latest attachment on b/268002488

Bug: 268002488
Test: verified by ntkuo@
Change-Id: Ia5166688c2fef0a4e08fe526bce47c1207c3ee21
2023-02-15 02:43:23 +00:00
Yung Ti Su
28a5dd2c90 audio: [L10] Recording tuning table update 01/17 - DVT Ver.5 For Final setting
to solve this bug, http://b/265614716 Pixel - Disappointing audio quality recording during live show / concert
update the AGC/MBDRC module's parameters, the original setting would suppress the loudness in high sound pressure environment.

camcorder path
AGC change
Ideal RMS, MINGain -24
MBDRC change
threshold -44/-38/-38
crossover frequency 120/10k
attack 10
release 100
limiter gain 0
limiter threshold -0.2

mic path
MBDRC change
threshold -44/-44/-44
crossover frequency 120/10k
attack 10
release 100
limiter gain 0
limiter threshold -0.2

Files from the latest attachment on b/265732148

Bug: 265732148
Test: verified by darrenyen@
Change-Id: Ie650ec7c0b7bbd15b727e7c4c2d6a7796184bf93
2023-01-17 16:22:13 +08:00
Yung Ti Su
957bb244be audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset :
Optimal MIC health detection / AMS paramemters for the FM library of v6.0.5

Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimal MIC health detection / AMS paramemters for the FM library of v6.0.5
Optimal HHWB double talk performance

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Sync RX setting to
- TTY-HCO
- SWB Reserve 2 / TTY-HCO Reserve 2

Files from the latest attachment on b/264225929

Bug: 264225929
Test: verified by ntkuo@
Change-Id: I1f8b52eb4739bdaa358d754afa6c6f0d3bcf2ede
2023-01-07 05:53:30 +00:00
Yung Ti Su
d71280fb16 audio: [L10] Recording tuning table update 12/09 - DVT Ver.3 For Final setting
update the AGC module's parameters, the original setting would suppress the loudness in high sound pressure environment.
idealRMS -34 -> -24
minGain -34 -> -24

Files from the latest attachment on b/261930259

Bug: 261930259
Test: verified by darrenyen@
Change-Id: I5154760a8d6c4856c056cf8491ff5e4d78699dbd
2022-12-12 07:58:25 +00:00
Yung Ti Su
d89b45c9df audio: Phase in Waves mps file in L10
This file update Thermal LinkLaw parameter:
New parameter:
43 degree C    -1
44 degreeC    -3
45 degreeC    -6
45.5 degreeC  -7
46 degreeC    -8

Below is previous EVT ROM parameter:
43 degreeC    -1
44 degreeC    -2
45 degreeC    -3
46 degreeC    -5
47 degreeC    -7

Files from the latest attachment on b/261676080

Bug: 261676080
Test: verified by supery@
Change-Id: I3549679cc5638cb8094cba58039c5c57056a4b1c
2022-12-07 09:16:43 +00:00
Yung Ti Su
9ef2359c2c audio: [L10] Recording tuning table update 12/01 - DVT Ver.2 For Final setting
update IIR1 parameters on camcorder(6 scenarios) and IIR2 parameters on mic path(mono, stereo) for DVT stage devices on L10. this version fine tune the IIR filter and make the FR as flat as possible.

Files from the latest attachment on b/261005130

Bug: 261005130
Test: verified by darrenyen@
Change-Id: Id7bd28814fd1089cd0af63b29ab6541e5fe57483
2022-12-02 09:34:14 +08:00
Yung Ti Su
a0634db44d audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handheld :
Optimize TX SWB/VOIP performance for kid's voice

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/260539954

Bug: 260539954
Test: verified by ntkuo@
Change-Id: If25c0bbb1c202d70d2ebabd0093ce1468dedbc86
2022-11-28 15:09:17 +08:00
Yung Ti Su
cc64b02213 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize AMS performance Generic/TMO
Optimize TX/RX performance for Orange

Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimize AMS performance
Optimize TX/RX performance for Orange

Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Files from the latest attachment on b/259870425

Bug: 259870425
Test: verified by ntkuo@
Change-Id: Ib7a145ce75aa10699e96457a3c345e18d1bff103
2022-11-21 12:03:18 +08:00
Yung Ti Su
7ccd8f7716 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for TMOUS SWB

Files from the latest attachment on b/259193926

Bug: 259193926
Test: verified by ntkuo@
Change-Id: Id0cadbf645e3346e634f91df1e1258b631104b44
2022-11-16 10:12:10 +08:00
Yung Ti Su
5243d9ff7d audio: [L10] Recording tuning table update 11/09 - DVT Ver. For Final setting
update IIR1 parameters on both camcorder(6 scenarios) and mic path(mono, stereo) for DVT stage devices on L10

Files from the latest attachment on b/258390574

Bug: 258390574
Test: verified by darrenyen@
Change-Id: I2d006076c63f4e7c62cc93d47f515e037d03fb92
2022-11-09 18:27:22 +08:00
Jasmine Cha
0dd39b7952 audio: waves: Playback thermal throttle
- introduce 2nd LL in presets.

Bug: 256506814
Test: manual test

Change-Id: Id5d2635ac45c51ad5d65ac517830fb692831ca2b
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-09 01:24:27 +00:00
Jasmine Cha
a487474608 audio: enable BAACL
Bug: 256749917
Test: emul_temp
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp"
 adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 70 > /dev/thermal/tz-by-name/soc/emul_temp"

Change-Id: I5cc3e42d4715ee6c5b9b5d453a74425b3cb85f57
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-01 07:23:29 +00:00
Yung Ti Su
d07d56e222 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset :
Optimize RX performance for DVT
Optimize AMS performance
Sync AMS setting to TMO / Reserve 2 SWB/ HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync VOIP RX/RX2 setting
Optimize AMS performance
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/256090548

Bug: 256090548
Test: verified by ntkuo@
Change-Id: I42a92558b89285a49d6688166149813ac4e962cc
2022-10-28 15:49:01 +08:00
Yung Ti Su
d6450a63a9 audio: Phase in Waves mps file in L10
I put L10 EVT tuning files in the attached file.

1. Refine tuning to fix AQTI and dogfood issue.
2. Modify below 20th volume step timbre. Let it clear.
3. Portrait mode and Landscape mode volume curve the same. Use Waves Linklaw to modify Landscape volume curve.
4. Include 1.8A BAACL tuning in this mps

Files from the latest attachment on b/254376925

Bug: 244273219
Bug: 244273447
Bug: 244509076
Bug: 254376925
Test: verified by supery@
Change-Id: I3cfca6cb8e2d2b963347c4832674f438a929f268
2022-10-19 13:01:14 +00:00
Yung Ti Su
2633aca8d2 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handheld:
light NS for VOIP CUSTOM 2 (NR off EC on)
Optimize AMS performance for NB/WB/SWB
Optimize NS performance for NB/WB/SWB
Sync TX setting to
- Condor-Headphone/ TTY-VCO / BT-HAC  (NB/WB)
- Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB / BT-HAC SWB / BT-HAC Reserve2 SWB

Files from the latest attachment on b/253536042

Bug: 253536042
Test: verified by hardware engineers

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ib028180d58ae0a863193d391c64f5fc12401ec70
2022-10-14 11:19:55 +00:00
Yung Ti Su
7aa4e0816f audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Handset:
Optimize AMS threshold and performacne
Sync AMS setting to TMO / Reserve 2 SWB/ HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld:
Optimize NS performance / FFP performance / AMS threshold
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB
SS to Reserve2 SWB (FFP on, stereo on, RX setting to RX2)

Files from the latest attachment on b/249219200

Bug: 249219200
Test: verified by hardware engineers
Change-id: I490303b60ce6b67a1ad930e5739af98898401bbe
2022-10-05 06:00:14 +00:00
Yung Ti Su
7d3ceaef31 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset :
Optimal performance for Generic/TMOUS Handset NB/WB/SWB (TMO tuning / AMS tuning)
Sync TX setting to HAC / TMO-HAC / HAC Reserve 2 SWB

Files from the latest attachment on b/246260083

Bug: 246260083
Test: verified by hardware engineers
Change-id: I8ea1537737620b8b2de9921b804c16abc226c027
2022-09-12 09:45:16 +00:00
Yung Ti Su
df7373e194 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset HAC:
Update EVT tuning for HAC mode T-coil signal testing FR failure


Handheld mode:
Sync Reserve 2 SWB setting to custom 1 (VoIP-EC-off) / custom 2 (VoIP-NR-off) / reserve 1 (VoIP-NREC-off) and disable NREC for related setting.

Files from the latest attachment on b/244539071

Bug: 244539071
Test: verified by hardware engineers
Change-id: I0b131b7e2afe69ff24bb30dfbf18812d4329d32e
2022-09-01 12:00:17 +00:00
Yung Ti Su
b85cfe1614 audio: Phase in fortemedia tuning tables and platform configuration file
Change List :

Fortemedia:
Handset :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RLR/SLR)
CCA light FNS to generic/TMOUS  NB/WB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RFR/RLR/ECDT)
CCA light FNS to NB/WB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB
SS to Reserve2 SWB (FFP off, stereo on, RX setting to RX2)

Headset :
sync P10 20220818 version

Bluetooth :
sync P10 20220818 version

Platform configuration :
Add for CCA
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
<module libname="audio_cca_aoc.so"/>
Modify for SS
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>

Files from the latest attachment on b/243344253

Bug: 243344253
Test: verified by hardware engineers
Change-id: I57e897a1ee9c8dab2ace0051d148c36639911bd6
2022-08-22 08:41:07 +00:00
David Li
1db103ba10 audio: Phase in Waves mps file and volume curve audio_policy.xml file
I put L10 EVT tuning files in the attached file.

L10 EVT HW modify Proto speaker.
I need to re-tune mps file.
I base on EVT speaker make this mps file tuning.


And slightly lower volume step 21th to let volume curve smoothly.
So, I modify audio_policy.xml file.

Files from the latest attachment on b/242521368

Bug: 242153654
Bug: 242521368
Test: verified by hardware engineers
Change-id: Ide63f88ee7aa55f4b79c53de2d70314bc20ab285
2022-08-16 10:05:27 +00:00
Yung Ti Su
5c1334c7d6 audio: [L10] Recording tuning table update 8/5 - EVT Ver. For 1st assessment
Change list :
1. adjust IIR1 as main filter for flat FR in camcorder path.
2. for camcorder path, implement all 6 scenarios with same parameters except linear gain module, and use linear gain to swap channels.
3. fine tune and swap the channels in mic path.

Files from the latest attachment on b/241720915

Bug: 241498250
Bug: 241720915
Test: verified by hardware engineers
Change-id: Iea93f2d118c30bcd83c44c2227ce68a3bfa8074d
2022-08-08 06:28:07 +00:00
Yung Ti Su
cd8e8f7a36 update fortemedia tuning table
Change List :

Handset :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Headset :
Sync P10 20220712 setting

Bluetooth :
Sync P10 20220712 RX setting

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id9bfb7e7d47840e7cf06ad7d98aecf9750ec1685
2022-08-01 11:03:49 +08:00
Yung Ti Su
068108f9ee Recording tuning table update
Change list:

 1)2048 FFT size WNR
      mid(17) pid(31) param(COHERENCE_END_BIN)
      5 ==> 10

      mid(17) pid(37) param(SP_GAIN_MAX_BIN)
      8 ==> 18

      mid(17) pid(46) param(GMIN_LINEAR_SPLIT_MID_POINT_BINR)
      27 ==> 55
 2)AGC pumping
      rmsTav
      200 ==> 1000

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I2c1a373d38dc0f63dc015f050af589378a1dc367
2022-07-21 11:40:18 +00:00
Yung Ti Su
e4dd1d78a2 Recording tuning table update 6/22 - Initial Ver.
Change list :
  1. adjust IIR for flat FR in camcorder and mic path.
  2. check in the latest parameters from C10/P10

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I1038eae584efa9209f6ba28d4783457e35aa7757
2022-06-28 09:03:09 +00:00
Yung Ti Su
390a3384e6 update fortemedia tuning table
Change List :

Handset :
Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB
Sync HH TX setting to
- Condor-Headphone / TTY-VCO / BT-HAC
- SWB Reserve 2 / Condor-Headphone Reserve 2 / TTY-VCO Reserve 2 / BT-HAC Reserve 2
Sync HH RX setting to
- TTY-HCO
- SWB Reserve 2 / TTY-HCO Reserve 2

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I9c0fd7c2cf633062216be82a138b26efa07c8907
2022-06-27 20:15:29 +08:00
Yung Ti Su
f97834d593 L10 initial tuning for Waves
Change list:
For waves_preset.mps
It increases top speaker excursion and reduce temperature to get better performance.

For audio_policy_volumes.xml
It changes volume curve to accompany with waves_preset.mps, which helps to get linear volume curve.
I also change DTMF, Ringtone, System sound volume curve to satisfy user expectation.

Bug: 234094724
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I085089de96d366480c70da6d86e6d7983033a631
2022-05-30 13:30:19 +08:00
Yung Ti Su
6a6b49367d update fortemedia tuning table
Change List :

- Handset
Optimal performance to meet 3GPP requirement for NB/WB/SWB
HAC: Modify DL FDEQ subband number for further tuning

- Handheld
Modify 3MIC solution to 2MIC solution

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id84bf3f8bbe94c888201a65b28d6cd61f19fb00e
2022-05-23 04:49:41 +00:00
Carter Hsu
a9efd4fcfe audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib8e5662258636c5ceffa9664f94a6adcd60c097a
2022-05-12 17:11:38 +08:00
Yung Ti Su
bfbc6e2545 L10 1st version of fortemedia tuning table
Change List :
sync P10 20220422 version

Bug: 230558942
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I15774cf0f5dc689a10c334025f3b120ebec62b85
2022-05-06 09:42:46 +08:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00